List contacts
Lists contacts in id order. Pass nextCursor as cursor for the next page. Scope: contacts:read.
bearerAuthorizationBearer <mosc_...>A client key (mosc_).
phoneNumber?stringOnly the contact with this phone number.
externalId?stringOnly the contact with this externalId.
limit?integerPage size, 1 to 100. The default is 25.
1 <= value <= 100cursor?stringnextCursor from the previous page.
updatedSince?stringOnly contacts updated at or after this time.
date-timeA page of contacts.
application/json- response
data*array<>nextCursor*|Pass it as cursor for the next page. null when this page was not full.
Example request
curl 'https://api.messageos.ai/v1/contacts' \ -H 'Authorization: Bearer mosc_...'Example response
{ "data": [ { "id": 42, "phoneNumber": "+15555550123", "externalId": "crm-881", "displayName": "Pat Lee", "timezone": "America/New_York", "attributes": { "property1": null, "property2": null }, "optedIn": true, "consent": { "source": "web_form", "capturedAt": "2026-10-28T23:00:00.000Z" }, "createdAt": "2026-10-28T23:00:00.000Z", "updatedAt": "2026-10-28T23:00:00.000Z", "lastInboundAt": "2026-10-28T23:00:00.000Z", "lastOutboundAt": "2026-10-28T23:00:00.000Z" } ], "nextCursor": "string"}Check a phone number for RCS GET
Answers 404 until MessageOS turns it on for you: GET /whoami shows rcsExtras true once it is. Asks the messaging network whether one phone can receive RCS from this agent, and what it supports, so you can check a number before you send to it.
Create or update a contact POST
Creates a contact or updates one. Matches on phoneNumber.
