Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Telnyx API key

Path Parameters

profile_id
string
required
namespace
string
required

Query Parameters

session_id
string | null

Names the session. Re-ingesting the same session replaces what it held and keeps its source_id. Omit it to have one derived from the content and returned. No whitespace, control characters, or any of / \ # ? %.

Maximum string length: 128

Body

application/json

The session's messages, in whatever shape your framework produces. Any JSON value but null is accepted and stored whole, as long as it holds something to remember: a body with no content anywhere in it -- {}, [], "", {"messages": []} -- is a 422.

Response

Successful Response

data
AcceptedIngest · object
required