Update a Shortext endpoint
Partial update: only the fields sent change (PUT is accepted too). Setting a webhook_url for the first time returns its webhook_secret.
Authorizations
Company API key, sent as Authorization: Bearer <key>. Create it in the dashboard (Developer > API Keys) with the permissions the integration needs.
Path Parameters
"ste_xxx"
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).