Track delivery
GetServiceMessage returns the state of one notice. The status is a set of timestamps. Each timestamp is present only after the notice reaches that state.
curl -s https://api.1.ae/horizon.apis.chat.v1.ChatService/GetServiceMessage \ -H "Authorization: Bearer $API_KEY" -H "Content-Type: application/json" \ -H "Connect-Protocol-Version: 1" \ -d '{"noticeId":"a4247258-…"}'{"record":{"noticeId":"a4247258-…","conversationId":"ee9a94fa-…","seq":"4", "kind":"SERVICE_KIND_CODE","door":"api","recipientKind":"phone", "status":{"deliveredAt":"2026-10-29T09:12:03Z","openedAt":"2026-10-29T09:12:40Z"}, "idempotencyKey":"signin-88231","createdAt":"2026-10-29T09:12:01Z"}}status field |
Set by | When |
|---|---|---|
deliveredAt |
The resident’s app | The notice reached the resident’s device. |
openedAt |
The resident’s app | The resident read the notice. |
remindedAt |
1.ae | 1.ae sent the second push at remindAt. |
actedAt |
The resident | The resident marked it as done. |
completedAt |
You | You closed the matter. Nothing changes after this. |
expiredAt |
1.ae | The notice reached expiresAt. Nothing changes after this. |
The record also carries:
| Field | Meaning |
|---|---|
createdAt |
When you sent the notice. |
failedReason |
no_account or refused. 1.ae sent nothing. No status timestamp follows. |
List your notices
Section titled “List your notices”ListSentServiceMessages lists your notices, newest first, with at most 100 on each page. It also returns the count for each state. It takes these filters:
| Filter | Use |
|---|---|
since, kind, failedOnly |
Narrow the list by time, kind or failure. |
recipient |
List only the notices to one resident. It takes the same type and value as to. |
cursor |
Get the next page. Set it to the previous nextCursor. |
{"limit":100,"since":"2026-10-29T00:00:00Z", "recipient":{"type":"SERVICE_RECIPIENT_TYPE_MSISDN","value":"+971501234567"}}Close a matter
Section titled “Close a matter”To close a matter, call SetServiceState with the notice’s conversationId, its seq, and "transition":"SERVICE_TRANSITION_COMPLETED". This sets completedAt.