Create a Shortext endpoint
Your server then posts the messages of your users to settings.inbound_url with your API key and to = the endpoint id. With a webhook_url, the response holds webhook_secret once: keep it to verify the signature of the replies.
Authorizations
Company API key, sent as Authorization: Bearer <key>. Create it in the dashboard (Developer > API Keys) with the permissions the integration needs.
Body
Required on creation
255Agent answering on the endpoint; null detaches it
"AGI-XXXXX"
async: replies pushed to webhook_url (signed); sync: replies in the response of the inbound call
async, sync Seconds the sync mode waits for the replies
1 <= x <= 25Where the replies are pushed (https); null removes it
Response
Always HTTP 200: the outcome is in success and code (absolute value of the response code).