Get contact
/api/v1/ext/contacts/{id}
Fetch a single contact by id.
Returns the full contact row including tags, address fields, custom fields, and audit timestamps. The contact must be owned by the authenticated installer — otherwise a 404 is returned to avoid leaking IDs.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | number | yes | Contact id returned by List contacts or Create contact. |
Responses
| Status | When |
|---|---|
200 | OK |
404 | Contact does not exist or belongs to a different installer |
401 | Missing or invalid token |
Response schema
contactobjectThe contact requested
idnumberUnique identifier of the contact.
1234workspace_idnumberThe workspace this contact lives in.
7user_idnumberThe installer this contact belongs to.
42first_namestringGiven name. Max 50 chars.
Adalast_namestringFamily name. Max 50 chars.
LovelaceemailstringPrimary email. Unique within a workspace. Normalized to lowercase. Max 100 chars.
ada@example.comphone_numberstringPrimary phone number. Unique within a workspace. Max 20 chars.
+15551234567company_namestringCompany / organization name. Max 100 chars.
Analytical Engines LtdwebsitestringPublic website URL. Max 255 chars.
https://analyticalengines.example.comlinkedin_profilestringLinkedIn profile URL. Max 255 chars.
https://linkedin.com/in/adasummarystring (text)Free-form summary / bio.
detailsobjectLoosely-typed details bag (JSON). Use this for app-specific metadata that doesn't fit a column.
addressstringStreet address. Max 255 chars.
citystringCity. Max 100 chars.
statestringState / region. Max 100 chars.
countrystringCountry name. Max 100 chars.
timezonestringIANA timezone (e.g. Europe/London). Max 100 chars.
custom_fieldsobjectWorkspace-defined custom fields (JSON).
tagsarray<string>Up to 20 short labels.
notesarray<string>Free-form notes. Accepts a string or an array on write; reads always return an array.
is_verified_smsbooleanPhone number has been verified for SMS.
falseis_verified_whatsappbooleanPhone number has been verified for WhatsApp.
falseis_verified_imessagebooleanPhone number has been verified for iMessage.
falselast_contactedstring (ISO 8601)When the contact last had a message exchange.
created_atstring (ISO 8601)When the contact was first created.
2026-05-21T09:14:22.000Zupdated_atstring (ISO 8601)When the contact was last modified.
2026-05-21T09:14:22.000Zdeleted_atstring (ISO 8601)Set when the contact has been soft-deleted. null for active records.
curl -X GET "https://backend.mysmsgateway.app/api/v1/ext/contacts/{id}" \
-H "Authorization: Bearer <ACCESS_TOKEN>"{
"success": true,
"data": {
"id": 1234,
"first_name": "Ada",
"last_name": "Lovelace",
"email": "ada@example.com",
"phone_number": "+15551234567",
"company_name": "Analytical Engines Ltd",
"website": "https://analyticalengines.example.com",
"linkedin_profile": "https://linkedin.com/in/ada",
"summary": "Mathematician + first programmer. Interested in early CRM tooling.",
"details": {
"source": "newsletter",
"priority": "high"
},
"address": "12 Mayfair St",
"city": "London",
"state": "Greater London",
"country": "United Kingdom",
"timezone": "Europe/London",
"custom_fields": {
"lead_score": 92,
"owner": "gary"
},
"is_verified_sms": true,
"is_verified_whatsapp": false,
"is_verified_imessage": false,
"last_contacted": "2026-05-20T11:02:09.000Z",
"notes": [
"Spoke at conference 2026-05-15"
],
"tags": [
"lead",
"priority"
],
"workspace_id": 7,
"user_id": 42,
"created_at": "2026-05-21T09:14:22.000Z",
"updated_at": "2026-05-21T09:14:22.000Z",
"deleted_at": null
}
}Contact id returned by List contacts or Create contact.
« List contacts
Create contact »
