Show the typing indicator
Answers 404 until MessageOS turns it on for you: GET /whoami shows rcsExtras true once it is. Shows a contact the typing indicator, so they can see that an answer is on its way while your own system works on one.
- to is the same as in POST /messages, except that a phone number must already be a contact.
- It is a signal, not a message: it is not counted in usage, it does not appear in the conversation, quiet hours do not hold it, and it needs no Idempotency-Key.
- A contact who opted out is refused with 409 blocked and the reason opted_out or org_opted_out, and so is a contact with no consent record who has never written in, with the reason no_consent_record.
- The messaging network does not say how long a phone shows the indicator, so send it again if your answer takes a while.
Scope: messages:write.
bearerAuthorizationBearer <mosc_...>A client key (mosc_).
application/json- body
to*Who gets the message: one of contactId, phoneNumber, or externalId.
The messaging network took the request.
application/json- response
status*stringThe messaging network took the request.
contactId*integerThe contact the message went to.
Example request
curl -X POST 'https://api.messageos.ai/v1/typing' \ -H 'Authorization: Bearer mosc_...' \ -H 'Content-Type: application/json' \ -d '{ "to": { "contactId": 42 }}'Example response
{ "status": "accepted", "contactId": 42}Read a sent message GET
Returns one message this agent sent or tried to send, with its latest status. id is the id from the send answer, msg_123, or its number. The message.delivered, message.read, and message.failed events report the same changes as they happen. A key with conversations:read can read it too. Scope: messages:write.
Read daily usage GET
from is included and to is not. estCostMicroUsd is null until a rate card is configured. The response is a measurement, not a charge. Scope: usage:read.
