Skip to main content
GET
/
v1
/
fetch-contact
/
{contact_id}
Fetch a single contact by ID
curl --request GET \
  --url https://api.salescaptain.com/v1/fetch-contact/{contact_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Contact fetched successfully!",
  "contacts": {
    "data": {
      "contact_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
      "name": "John Doe",
      "phone": "+14155551234",
      "email": "[email protected]",
      "created_at": "2024-01-15T10:30:00.000Z",
      "updated_at": "2024-02-20T14:45:00.000Z",
      "tags": [
        "VIP",
        "New Lead",
        "Follow Up"
      ],
      "custom_fields": [
        {
          "cf_name": "Industry",
          "cf_value": "Technology"
        },
        {
          "cf_name": "Budget",
          "cf_value": "50000"
        },
        {
          "cf_name": "Source",
          "cf_value": "Website"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.

Path Parameters

contact_id
string<uuid>
required

Unique identifier for the contact

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

Response

Contact fetched successfully

message
string
Example:

"Contact fetched successfully!"

contacts
object