Common

User Contact Get

Markdown for LLMs
GET
/common/user/contact/{userContactId}/get

Returns one of the caller's contacts. Send its id as userContactId.

Send a bearer token: contacts belong to the signed-in user, and a call without one is rejected at the gateway with 401 AUTHORIZATION_ERROR.

Authorization

AuthorizationBearer <token>

JWT token to authenticate the request.

In: header

X-Api-Key<token>

API key, sent as a request header.

In: header

Path Parameters

userContactId*string

Id of the contact to read, as returned by common-user-contact-create or common-user-contact-list in id. Only the caller's own contacts can be addressed: another user's contact id answers 404 NOT_FOUND_BY_ID, as an unknown one does. Must be a GUID: a value that is not one matches no route and returns a bodiless 404. A well-formed id that matches none of the caller's contacts returns 404 NOT_FOUND_BY_ID.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/common/user/contact/4b0cc61e-b776-4d26-8439-f03749675d0a/get"
{  "result": {    "statusCode": 200,    "message": "OK",    "data": {      "userContact": {        "id": "4b0cc61e-b776-4d26-8439-f03749675d0a",        "name": "Jane Doe",        "email": "jane.doe@example.com",        "sharedWithAccount": false      }    }  },  "origin": "GET https://api.doctavian.com/v1/common/user/contact/{userContactId}/get",  "dateTime": "2026-10-16T11:42:12.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "e7bd81c47ae8c71af8c6763e27a67602"}
{  "error": {    "statusCode": 401,    "message": "Unauthorized",    "innerErrors": [      {        "code": "AUTHORIZATION_ERROR",        "message": "Authorization header is missing.",        "userMessage": "Authorization header is missing."      }    ]  },  "origin": "GET https://api.doctavian.com/v1/common/user/contact/{userContactId}/get",  "dateTime": "2026-10-16T11:43:02.000Z"}
{  "error": {    "statusCode": 404,    "message": "Not Found",    "innerErrors": [      {        "code": "NOT_FOUND_BY_ID",        "message": "The specified resource was not found.",        "userMessage": "The specified user contact was not found with the Id: 4b0cc61e-b776-4d26-8439-f03749675d0a"      }    ],    "externalErrors": []  },  "origin": "GET https://api.doctavian.com/v1/common/user/contact/{userContactId}/get",  "dateTime": "2026-10-16T11:43:06.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "7a0d3f9c2e6b41858b1c4e7a0d9f2c63"}
{  "error": {    "statusCode": 500,    "message": "Internal Server Error",    "innerErrors": [      {        "code": "FUNCTION_EXECUTION_ERROR",        "message": "Function execution failed.",        "userMessage": "Something went wrong while processing your request. Please try again or contact support.",        "eventId": "9e1c7a3b-5d2f-4086-a4b8-1f6e0c9d3a27"      }    ],    "externalErrors": []  },  "origin": "GET https://api.doctavian.com/v1/common/user/contact/{userContactId}/get",  "dateTime": "2026-10-16T11:43:04.000Z",  "userId": "1fa93f1d-07e8-4e08-84e6-c0098f3b6ed5",  "operationId": "b5937f3b5bbe3e165be531d0a356ff59"}