Add a contact
Adds a contact by phone number (international format; it is normalised to E.164). Tags given by name are created when they do not exist. A phone number that already exists answers 409.
Scope: contacts.create. Rate limit: 300 requests per minute per API key.
apiKey contacts.createAuthorizationBearer <msk_live_…>An API key created under API keys in the panel: Authorization: Bearer msk_live_…. The key's scopes decide which operations it may call.
Scope: contacts.create
Idempotency-Key?stringRetry-safe POST: a repeated request with the same key replays the first successful response for 24 hours. Rejected requests (4xx/5xx) are not remembered, so a corrected request may reuse the key.
8 <= length <= 200application/json- body
attributes?properties <= 50contact_type?string"" clears it.
length <= 60email?stringlength <= 254group_ids?array<>items <= 100name?stringlength <= 200tags?array<>Tag names, replacing the contact's tags. A name without a tag creates it; the id of an existing tag means that tag.
items <= 50var1?stringlength <= 500var2?stringlength <= 500var3?stringlength <= 500var4?stringlength <= 500var5?stringlength <= 500phone*string7 <= length <= 24Created
application/json- response
data*meta*curl -X POST 'https://app.messora.tech/api/v1/contacts' \ -H 'Content-Type: application/json' \ -d '{ "attributes": { "city": "İstanbul", "customer_no": "C-10293" }, "email": "ayse@example.com", "name": "Ayşe Yılmaz", "phone": "+905321234567", "tags": [ "vip" ], "var1": "Gold"}'{ "data": { "attributes": { "city": "İstanbul", "customer_no": "C-10293" }, "consent": { "marketing": { "reason": null, "source": "import", "status": "opted_in", "updated_at": "2026-10-01T10:00:00Z" }, "meta_marketing_stopped_at": null, "service": { "reason": null, "source": null, "status": "unknown", "updated_at": null }, "undeliverable_at": null, "undeliverable_code": null }, "created_at": "2026-09-12T07:30:00Z", "created_by_inbound_at": null, "email": "ayse@example.com", "group_ids": [ "019a8c2e-4f1b-7a0d-9c3d-5e7a1000000d" ], "id": "019a8c2e-4f1b-7a09-9c3d-5e7a10000009", "last_inbound_at": "2026-11-25T08:41:00Z", "name": "Ayşe Yılmaz", "opted_out": false, "opted_out_at": null, "phone": "+905321234567", "profile_name": "Ayşe", "profile_status": null, "source": "api", "tags": [ { "color": "#16a34a", "id": "019a8c2e-4f1b-7a0c-9c3d-5e7a1000000c", "name": "vip" } ], "updated_at": "2026-11-25T08:41:00Z", "var1": "Gold", "var2": null, "var3": null, "var4": null, "var5": null }, "meta": { "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff" }}Contacts, newest first GET
Contacts matching the filters, newest first (or by sort). Paged with cursor, or with page for numbered pages (then meta.total is set). Scope: contacts.read. Rate limit: 300 requests per minute per API key.
Custom attribute keys in use (for {{attr:key}} placeholders) GET
The keys of custom contact attributes in use, most used first, for building {{attr:key}} template placeholders. Scope: contacts.read. Rate limit: 300 requests per minute per API key.