External Message
Manage external message service.
Retrieve a collection of external messages.
OK
Total number of resource.
100Error
GET /api/external_messages HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"count": 1,
"items": [
{
"id": null,
"config_id": null,
"sender": null,
"sender_name": null,
"receiver": null,
"receiver_name": null,
"channel_name": null,
"channel_number": null,
"brand": null,
"did": null,
"msg_type": null,
"direction": null,
"content": null,
"reason": null,
"delivery": null,
"provider_msg_id": null,
"created_at": null
}
]
}Retrieve details of external message.
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwOK
The unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwThe unique ID of the resource.
NzAwNTUxOTA5NzczMTQ4MTYwThe sender number of the message.
The sender name of the message.
The receiver number of the message.
The receiver name of the message.
The channel name of the message.
The channel number of the message.
The brand of the message.
The did of the message.
The type of message:
Can be either:
UNKNOWN:SMS:WHATSAPP:
The direction of message:
IN:OUT:
The content of the message.
The reason of the message.
The delivery status of message:
Can be either:
ERR:SENT:RECV:DELIVERED:
The provider message ID of the message.
The RFC 3339 format is defined by The date_time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z
2017-07-21T17:32:28ZError
GET /api/external_messages/{id} HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": null,
"config_id": null,
"sender": null,
"sender_name": null,
"receiver": null,
"receiver_name": null,
"channel_name": null,
"channel_number": null,
"brand": null,
"did": null,
"msg_type": null,
"direction": null,
"content": null,
"reason": null,
"delivery": null,
"provider_msg_id": null,
"created_at": null
}Last updated
Was this helpful?