Passer au contenu principal
POST
Submit an inbound message

Autorisations

Authorization
string
header
requis

Company API key, sent as Authorization: Bearer <key>. Create it in the dashboard (Developer > API Keys) with the permissions the integration needs.

Corps

application/json
channel
enum<string>
requis

Only native channels accept inbound messages

Options disponibles:
shortext
Exemple:

"shortext"

to
string
requis

Endpoint ID shown in the Shortext dashboard

Exemple:

"ste_8k2m4q9x1v7c3n5b6z0p2r4t"

contact
object
requis
message
object
requis
reply_mode
enum<string>

Defaults to the endpoint setting

Options disponibles:
sync,
async
Exemple:

"sync"

Réponse

200 - application/json

Message stored. See body.status for the reply outcome.

Envelope of every response (always HTTP 200): only body changes from one endpoint to another.

success
boolean
requis
Exemple:

true

code
enum<integer>
requis

Standard response codes defined by the system / Codes de réponse standard définis par le système.

Options disponibles:
-1,
-2,
-3,
-4,
-5,
1000,
-1001,
-1002,
-1003,
-1004,
-1005,
-1006,
-1007,
-1008,
-1009,
-1010,
-1100,
-1101,
-1102,
-1103,
1104,
-1105
Exemple:

1000

message
string
requis
Exemple:

"Request success"

body
object

Endpoint-specific payload, null on most errors

token
string | null

Present only on authentication routes

trace_id
string | null

Present only when success=false. Give it to support.