Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

A personal API key or an OAuth 2.0 access token. Personal API keys also require the x-auth-key header with your user ID.

Path Parameters

session_id
string
required

ID of the session to continue.

Body

application/json
input
string
required

The next user message. Required. Also accepted as message for backwards compatibility.

Example:

"Now write a follow-up email."

stream
boolean
default:false

Must be false (or omitted) when calling api.gumloop.com. Set to true only when calling ws.gumloop.com (see the streaming section above).

Response

Message was enqueued. queue_position is set only when the session was queued behind concurrent runs.

session
object
queue_position
integer | null

Position in the per-agent queue. Populated only when the session was queued; otherwise null.

Example:

null