Skip to content

Get Contact Detail API

This API allows you to retrieve contact details.

Parameters for getting Contact Detail

Headers Parameters

ParametersDescription
AuthorizationPlease add provided Bearer token - linked to your Cellcast account. Check here

Request Query Parameters

NameExampleDescription
contactID674d9650b000000000000000Required. The ID to a specific contact in your Cellcast account. This ID is required when retrieving or updating contact details using the API. Refer to Contact ID Information

Code Samples

GET https://api.cellcast.com/api/v1/contact/:contactId

bash
curl --location 'https://api.cellcast.com/api/v2/contact/:contactId' \
--header 'Authorization: Bearer {{API_KEY}}'

Replace with the actual API key that you own.

Responses

200 Success

json
{
    "First Name": "John",
    "Last Name": "Doe",
    "Full Name": "John Doe",
    "Email": "[email protected]",
    "Hobby": "Write Code",
    "ID": "674d9650b000000000000000",
    "Unsubscribe": false,
    "Number": "400000000"
}

401 Unauthorized

json
{
  "code": 401,
  "message": "Token expired",
  "stack": "APIError: Token expired ...."
}