---
updatedAt: 2026-06-09T17:02:17.000Z
agentTools:
  projectIndex: https://hq.docs.netevia.com/llms.txt
---

# Get profile info of a profile assigned to merchant

## Get Underwriting Assigned To

Returns the profile information of the underwriter or reviewer who has been assigned to a specific merchant profile. The response includes the assignee's full name, email address, phone number, and profile ID. This is useful for ISOs who need to contact the underwriter handling their merchant's application directly.

### Endpoint

`GET /api/v1/merchant/underwriting/assignedTo`

### Authentication

Basic HTTP Authentication required.
Encode `username:password` in Base64 and pass in the Authorization header:

```
Authorization: Basic {base64(username:password)}
```

### When to use

Use this endpoint when you need to identify or contact the specific underwriter responsible for reviewing a merchant's application. During the underwriting workflow — particularly when a merchant is in `UnderwritingPending` or `UnderReview` status — knowing who is assigned can help ISOs reach out for status updates or escalation. This endpoint also provides the `profileId` which may be used in other assignment or task management operations.

### Query Parameters

| Parameter         | Type            | Required | Description                                                     |
| ----------------- | --------------- | -------- | --------------------------------------------------------------- |
| merchantProfileId | integer (int32) | Yes      | The merchant profile ID to look up the assigned underwriter for |

### Response

**200 OK**

| Field            | Type    | Description                                                       |
| ---------------- | ------- | ----------------------------------------------------------------- |
| fullName         | string  | Full name of the assigned underwriter                             |
| email            | string  | Email address of the assigned underwriter                         |
| phone            | string  | Phone number of the assigned underwriter                          |
| profileId        | integer | Profile ID of the assigned underwriter                            |
| requestId        | integer | Unique identifier for this API request                            |
| success          | boolean | `true` if the request completed successfully                      |
| error            | string  | Error message if no underwriter is assigned or the request failed |
| validationErrors | array   | Field-level validation errors                                     |

```json
{
  "fullName": "Sarah Thompson",
  "email": "s.thompson@netevia.com",
  "phone": "+1-555-302-7841",
  "profileId": 204,
  "requestId": 88790,
  "success": true,
  "error": null,
  "validationErrors": []
}
```

### Error Codes

| Code | When it happens                                                    |
| ---- | ------------------------------------------------------------------ |
| 400  | `merchantProfileId` is missing or not a valid integer              |
| 401  | Invalid or missing Basic Auth credentials                          |
| 403  | User does not have permission for this operation                   |
| 404  | Merchant profile not found or no underwriter has been assigned yet |
| 500  | Internal server error                                              |

### Common Mistakes

* Calling this endpoint for a merchant that has not yet been submitted to underwriting — no underwriter will be assigned until the merchant enters the UW workflow.
* Treating a null or empty response as an error — if `success` is `true` but `fullName` is empty, no underwriter has been assigned yet rather than the request failing.

### Related Endpoints

* `GET /api/v1/underwriting/statuses` — check the current underwriting status of the merchant
* `GET /api/v1/uwTasks/getByMerchantId` — list UW task tickets assigned to the merchant
* `GET /api/v1/underwriting/status-history` — review the full underwriting status history

### Example

```bash
curl -X GET "https://hq.staging.netevia.dev/api/v1/merchant/underwriting/assignedTo?merchantProfileId=48201" \
  -H "Authorization: Basic $(echo -n 'username:password' | base64)"
```

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1",
    "title": "Netevia HQ | API Documentation",
    "description": "Netevia HQ | API Documentation"
  },
  "paths": {
    "/api/v1/merchant/underwriting/assignedTo": {
      "get": {
        "tags": [
          "Underwriting"
        ],
        "summary": "Get profile info of a profile assigned to merchant",
        "operationId": "Underwriting_GetUnderwritingAssignedTo",
        "parameters": [
          {
            "name": "merchantProfileId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantAssignedToResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantAssignedToResult"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantAssignedToResult"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/MerchantAssignedToResult"
                }
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "Basic": []
    }
  ],
  "servers": [
    {
      "url": "https://hq.staging.netevia.dev"
    }
  ],
  "components": {
    "securitySchemes": {
      "Basic": {
        "type": "http",
        "description": "Basic HTTP Authentication",
        "scheme": "basic"
      }
    },
    "schemas": {
      "ValidationError": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "error": {
            "type": "string"
          }
        }
      },
      "MerchantAssignedToResult": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "profileId": {
            "format": "int32",
            "type": "integer"
          },
          "requestId": {
            "format": "int32",
            "type": "integer"
          },
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "string"
          },
          "validationErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      }
    }
  }
}
```