Send Message
Send an SMS. Provide either a raw body or set generate to true to compose the message with AI from the agent’s SMS prompt and optional inline history. Sends through your connected provider.
Authorizations
API key for authentication. Generate API keys from the RevRing dashboard.
Body
Send a text. Provide exactly one of body (raw) or generate: true (AI-composed).
Recipient phone number in E.164, e.g. +12025550123
Optional sender number in E.164. Defaults to the agent's send-from number, or the connection's Messaging Service.
Agent to attribute the message to. For generation, its SMS prompt and connection are used.
Connection to send through. Required if no agentId is given or the agent has no connection.
Raw message text. Use this OR generate.
1 - 1600If true, compose the message with AI from the SMS prompt and optional messages history.
Optional inline conversation history for generation (stateless; you own the memory).
Optional prompt override for generation. Defaults to the agent's SMS prompt.
Response
Message accepted and sent
A logged text message (sent or received).