Skip to content

Get Message

GET
/platform/v1/messages/{message_id}
curl --request GET \
--url https://example.com/platform/v1/messages/1
message_id
required
Message Id
integer

Successful Response

Media type application/json
PlatformMessageResponse
object
created_at
required
Created At
string format: date-time
direction
required
Direction
string
has_media
required
Has Media
boolean
id
required
Id
integer
media_id
Any of:
string
message_type
Any of:
string
meta_error
Any of:
Meta Error
meta_message_id
Any of:
string
peer_id
required
Peer Id
string
platform_channel_id
required
Platform Channel Id
integer
platform_conversation_id
Any of:
integer
pricing
Any of:
Pricing
referral
Any of:
Referral
sent_at
Any of:
string format: date-time
source
Any of:
string
status
Any of:
string
status_history
Status History
Array
default:
text_body
Any of:
string
Example
{
"status_history": []
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}