Start an async agent interaction with a callback URL.
Dedicated handler for async agent interactions exposed via the SDK.
Requires callback_url and always returns 202 with session_id + events_url.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
agent_id
Query parameters
session_id
Request
This endpoint expects an object.
messages
List of incoming user messages and drive file references.
callback_url
Callback URL that Scout will POST to when the interaction completes. The request is signed with HMAC-SHA256 using the organization’s secret key.
metadata
Optional metadata (e.g., salesforce_session)
Response
Successful Response
session_id
The session ID for the interaction.
events_url
URL to replay the interaction's event stream.