Send a Message

Create a Digital Connect conversation inbound messages

📘

Supported Regions and Base URLs

🚧

Attachements Info

See the Attachments API (EA) if you have questions about attachments.

👍

Access and Registration

Authentication

Scope

digital-connect:write

Body Request - Example

{
  "content": "A cute message for the agent to read, with love: Contact Person",
  "attachments": [
    {
      "id": "my-mp3-id",
      "name": "test.mp3",
      "type": "audio/mpeg",
      "size": "1024"
    },
    {
      "id": "my-image-id",
      "name": "test.jpg",
      "type": "image/jpeg",
      "size": "3072"
    }
  ]
}

Body Response - Schema

201 (success: creates a new message in the designated conversation)

ParameterTypeDescriptionRequired
idstringThe identifier of the conversation.
>= 1 characters
<= 255 characters
no
created_atstring> = 24 characters
<= 24 characters
no
message_idstringThe identifier of the outbound message.
> = 1 characters
<= 255 characters

206 (partial success: creates message success, but attachments have some problems)

ParameterTypeDescriptionRequired
idstringThe identifier of the conversation.
>= 1 characters
<= 255 characters
no
created_atstring> = 24 characters
<= 24 characters
no
message_idstringThe identifier of the outbound message.
> = 1 characters
<= 255 characters
no
partial_fail_reasonstringThe fail reason for the attachmentsno

400 (malformed request), 401 (unauthorized), 403 (forbidden), 404 (not found), 409 (conflict)

ParameterTypeDescriptionRequired
codestringn/ayes
messagestringn/ayes
descriptionstringn/ano
fieldsarray[object]"fields" subdivides into:

"name" (string)

"description" (string)
yes (name and description)

❗️

API Availability

The Digital Connect API is only available for customers enrolled in Talkdesk's Early Access (EA) program.
To enter the EA program, contact a Customer Success Manager.

The Digital Connect API has been in EA since April 2022.

🚧

Troubleshooting

If you have any questions regarding the usage of this API, or if you’re having any technical issues, please open a ticket using this form.

Language
Credentials
Header
Click Try It! to start a request and see the response here!