Send one of an agent's published SMS templates
Project-scoped, unlike the organization-scoped POST /v1/messages: the agent's own project is the send's project. A foreign workspace's agent, another project, an unpublished agent and an unknown template are the same 404. The text is rendered from the published template with the variables and slots given, within 6 SMS segments, and authorized as POST /v1/messages is.
post/v1/agents/{agent_id}/messages
Request
- Base URL: https://api.skysay.ai
- URL: https://api.skysay.ai/v1/agents/{agent_id}/messages
- Auth: none declared
Path parameters
agent_idstring required
Request body
Response
The message, as POST /v1/messages returns it. Body, provider metadata, error detail and idempotency key require sms:read, including on idempotent replays.
Changes
No recorded changes to this operation across all 1 revision of this API.