curl --request GET \
--url http://localhost:8080/api/v1/conversations/{cuuid}/messages/{uuid} \
--header 'Authorization: Basic <encoded-value>'
{
"status": "success",
"data": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"uuid": "<string>",
"type": "incoming",
"status": "pending",
"conversation_id": 123,
"conversation_uuid": "<string>",
"content": "<string>",
"text_content": "<string>",
"content_type": "html",
"private": true,
"sender_id": 123,
"sender_type": "agent",
"meta": {
"to": [
"<string>"
],
"cc": [
"<string>"
],
"bcc": [
"<string>"
],
"from": [
"<string>"
],
"subject": "<string>"
},
"attachments": [
{}
]
}
}
curl --request GET \
--url http://localhost:8080/api/v1/conversations/{cuuid}/messages/{uuid} \
--header 'Authorization: Basic <encoded-value>'
{
"status": "success",
"data": {
"id": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"uuid": "<string>",
"type": "incoming",
"status": "pending",
"conversation_id": 123,
"conversation_uuid": "<string>",
"content": "<string>",
"text_content": "<string>",
"content_type": "html",
"private": true,
"sender_id": 123,
"sender_type": "agent",
"meta": {
"to": [
"<string>"
],
"cc": [
"<string>"
],
"bcc": [
"<string>"
],
"from": [
"<string>"
],
"subject": "<string>"
},
"attachments": [
{}
]
}
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
Message sent successfully
The response is of type object
.
Was this page helpful?