# Get Channel Profile

Get user profile from a specific channel.
Only supported on MESSENGER, INSTAGRAM, VIBER and LINE channels. Note that, in order to retrieve a WhatsApp display name, you can use the Get a Contact or List Contacts operations, which will populate the display_name field of each returned contact with the WhatsApp display name (if the name is already stored on the server and the display_name field has not been overwritten by the user).

Endpoint: POST /v1/projects/{project_id}/contacts:getChannelProfile
Version: 1.0
Security: Basic, oAuth2

## Path parameters:

  - `project_id` (string, required)
    The unique ID of the project. You can find this on the Sinch Dashboard.

## Request fields (application/json):

  - `app_id` (string, required)
    The ID of the app.
    Example: "{APP_ID}"

  - `recipient` (object, required) — one of:
    Identifies the recipient.
    - Channel Identities:
      - `identified_by` (object)
        The identity as specified by the channel.
      - `identified_by.channel_identities` (array, required)
        A list of specific channel identities.
The API will use these identities when sending to specific channels.
      - `identified_by.channel_identities.identity` (string, required)
        The channel recipient identity.
      - `identified_by.channel_identities.channel` (string, required)
        The identifier of the channel you want to include. Must be one of the enum values.
        Enum: "WHATSAPP", "RCS", "SMS", "MESSENGER", "VIBERBM", "MMS", "INSTAGRAM", "TELEGRAM", "KAKAOTALK", "KAKAOTALKCHAT", "LINE", "WECHAT", "APPLEBC"
    - Contact ID:
      - `contact_id` (string)
        The ID of the contact.
        Example: "{CONTACT_ID}"

  - `channel` (string, required)
    The channel. Must be one of the supported channels for this operation.
    Enum: "MESSENGER", "INSTAGRAM", "VIBER", "LINE"

## Response 200 fields (application/json):

  - `profile_name` (string)
    The profile name.
    Example: "John Doe"

## Response 400 fields (application/json):

  - `error` (object)

  - `error.code` (integer)

  - `error.details` (array)

  - `error.details.type_url` (string)

  - `error.details.value` (string)

  - `error.message` (string)

  - `error.status` (string)


