Retrieve a contact▾
GET

Retrieve a contact

Fetch one contact by wa_id or Sendport id.

Accepts the digits-only wa_id (201005550123) or the Sendport id (ct_…).

GET/v1/contacts/{wa_id}

Path parameters

wa_idstringrequired

Digits-only WhatsApp id, or ct_….

curl -X GET https://api.sendport.tech/v1/contacts/{wa_id} \
  -H "Authorization: Bearer $SENDPORT_KEY"

Responses

200OK
{
  "object": "contact",
  "id": "ct_01JZQ7B2M4N8P0R2T4V6X8ZACE",
  "wa_id": "201005550123",
  "phone": "+201005550123",
  "name": "Nadia Haddad",
  "locale": "en",
  "tags": ["vip", "cairo"],
  "attributes": { "plan": "pro", "city": "Cairo" },
  "opted_in": true,
  "last_seen_at": "2026-09-06T08:41:02.000Z",
  "created_at": "2026-05-14T08:12:44.000Z"
}
401Unauthorized
{
  "error": {
    "type": "authentication_error",
    "code": "missing_api_key",
    "message": "No API key provided.",
    "doc_url": "https://sendport.tech/docs/errors#missing_api_key",
    "request_id": "req_9f3c2a7b41de08c5b2e6"
  }
}
Try itsandbox