API

MessagingConversationMessage

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/messaging_conversations/{id}/messages/{message_id}/reaction create Manual conversation after Sendblue accepts the Tapback
POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/messaging_conversations/{id}/messages create Manual conversation after sending

Examples

One example per SDK, generated from the API model. The argument names are the parameters and fields of this entity, and the values are placeholders. The examples are not compiled or executed.

Golang

Construct client as shown in the Golang setup, then call the operations:

created, err := client.MessagingConversationMessage(nil).Create(map[string]any{"messaging_conversation_id": "example", "organization_id": "example", "project_id": "example", "client_operation_id": "example", "content": "example"}, nil)
if err != nil {
    panic(err)
}
fmt.Println(created)

Lua

Construct client as shown in the Lua setup, then call the operations:

local created, err = client:MessagingConversationMessage():create({ messaging_conversation_id = "example", organization_id = "example", project_id = "example", client_operation_id = "example", content = "example" })

PHP

Construct client as shown in the PHP setup, then call the operations:

$created = $client->MessagingConversationMessage()->create(["messaging_conversation_id" => "example", "organization_id" => "example", "project_id" => "example", "client_operation_id" => "example", "content" => "example"]);

Python

Construct client as shown in the Python setup, then call the operations:

created = client.MessagingConversationMessage().create({ "messaging_conversation_id": "example", "organization_id": "example", "project_id": "example", "client_operation_id": "example", "content": "example" })

Ruby

Construct client as shown in the Ruby setup, then call the operations:

created = client.MessagingConversationMessage.create({ "messaging_conversation_id" => "example", "organization_id" => "example", "project_id" => "example", "client_operation_id" => "example", "content" => "example" })

TypeScript

Construct client as shown in the TypeScript setup, then call the operations:

const created = await client.MessagingConversationMessage().create({ messaging_conversation_id: "example", organization_id: "example", project_id: "example", client_operation_id: "example", content: "example" })

Fields

Field Type Required Description
attachment_limit integer Yes Attachment Limit
attachment_max_bytes integer Yes Attachment Max Bytes
client_operation_id string Yes Client Operation Id
content string Yes Content
id string No Id
media object No Media
media_upload_ids array No Ordered staged upload IDs; six on Photon, one on Sendblue.
messages array Yes Messages
reply_to string No Public ID of a visible message
retry_attachment boolean No Retry an already recorded attachment when its file bytes are no longer on this page.
send_blocked_reason one,string,null Yes Send Blocked Reason
send_disposition string No Send Disposition
send_error one,string,null No Send Error
send_style one,string,null No Send Style

create

POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/messaging_conversations/{id}/messages/{message_id}/reaction

Operation ID: post_api_v1_organizations_organization_id_verification_projects_project_id_messaging_conversations_id_messages_message_id_reaction.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes
id path string Yes
message_id path string Yes

Request body

application/json

Property Type Required Description
reaction string Yes

Responses

200: Manual conversation after Sendblue accepts the Tapback

application/json

Property Type Required Description
attachment_limit integer Yes
attachment_max_bytes integer Yes
messages array of object Yes
messages[].attachments array of object Yes
messages[].attachments[].byte_size integer Yes
messages[].attachments[].content_type string Yes
messages[].attachments[].download_url string No Original file; url may be a JPEG preview for HEIC
messages[].attachments[].id string Yes
messages[].attachments[].kind enum: image, video, audio, file Yes
messages[].attachments[].name string Yes
messages[].attachments[].url string Yes
messages[].can_react boolean Yes
messages[].can_reply boolean Yes
messages[].content string Yes Plain text with any account link removed
messages[].date_sent string (date-time) Yes
messages[].direction enum: incoming, outgoing Yes
messages[].display_content string Yes Message text with card links removed
messages[].id string Yes
messages[].link string,null Yes A link into the app under test; other links stay in content as text.
messages[].links array of object Yes
messages[].links[].account_link boolean Yes
messages[].links[].preview object or null Yes
messages[].links[].url string Yes
messages[].reactions array of object Yes
messages[].reactions[].count integer Yes
messages[].reactions[].reacted boolean Yes
messages[].reactions[].reaction string Yes
messages[].read_at string,null (date-time) Yes
messages[].receipt_status enum: sending, sent, delivered, read, failed, unknown, ... Yes
messages[].reply_to string,null Yes Public ID of the visible quoted parent
messages[].send_style enum: celebration, shooting_star, fireworks, lasers, love, confetti, ... Yes
messages[].service string,null Yes
messages[].unsupported_attachment boolean Yes
send_blocked_reason string,null Yes
send_disposition enum: retry, not_sent, sent No
send_error string,null No
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway

POST /api/v1/organizations/{organization_id}/verification/projects/{project_id}/messaging_conversations/{id}/messages

Operation ID: messages_api_v1_verification_project_messaging_conversation.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
organization_id path string Yes
project_id path string Yes
id path string Yes

Request body

application/json

Property Type Required Description
client_operation_id string Yes
content string Yes
media object No
media.content_type string Yes
media.data string Yes Base64 encoded file, maximum 10 MB decoded
media.name string Yes
media_upload_ids array of string No Ordered staged upload IDs; six on Photon, one on Sendblue. Mutually exclusive with media.
reply_to string No Public ID of a visible message
retry_attachment boolean No Retry an already recorded attachment when its file bytes are no longer on this page.
send_style enum: celebration, shooting_star, fireworks, lasers, love, confetti, ... No

Responses

200: Manual conversation after sending

application/json

Property Type Required Description
attachment_limit integer Yes
attachment_max_bytes integer Yes
messages array of object Yes
messages[].attachments array of object Yes
messages[].attachments[].byte_size integer Yes
messages[].attachments[].content_type string Yes
messages[].attachments[].download_url string No Original file; url may be a JPEG preview for HEIC
messages[].attachments[].id string Yes
messages[].attachments[].kind enum: image, video, audio, file Yes
messages[].attachments[].name string Yes
messages[].attachments[].url string Yes
messages[].can_react boolean Yes
messages[].can_reply boolean Yes
messages[].content string Yes Plain text with any account link removed
messages[].date_sent string (date-time) Yes
messages[].direction enum: incoming, outgoing Yes
messages[].display_content string Yes Message text with card links removed
messages[].id string Yes
messages[].link string,null Yes A link into the app under test; other links stay in content as text.
messages[].links array of object Yes
messages[].links[].account_link boolean Yes
messages[].links[].preview object or null Yes
messages[].links[].url string Yes
messages[].reactions array of object Yes
messages[].reactions[].count integer Yes
messages[].reactions[].reacted boolean Yes
messages[].reactions[].reaction string Yes
messages[].read_at string,null (date-time) Yes
messages[].receipt_status enum: sending, sent, delivered, read, failed, unknown, ... Yes
messages[].reply_to string,null Yes Public ID of the visible quoted parent
messages[].send_style enum: celebration, shooting_star, fireworks, lasers, love, confetti, ... Yes
messages[].service string,null Yes
messages[].unsupported_attachment boolean Yes
send_blocked_reason string,null Yes
send_disposition enum: retry, not_sent, sent No
send_error string,null No
401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway