openapi: 3.0.3 info: title: ActiveCampaign SMS Broadcast Accounts Messages API description: API for managing SMS broadcasts, lists, metrics, and AI-powered content generation in ActiveCampaign version: 3.0.0 contact: name: ActiveCampaign Support url: https://www.activecampaign.com x-generated-from: documentation servers: - url: https://{yourAccountName}.api-us1.com/api/3 description: US-based Users variables: yourAccountName: default: yourAccountName security: - ApiToken: [] tags: - name: Messages paths: /messages: post: summary: ActiveCampaign Create a Message description: '' operationId: create-a-new-message requestBody: content: application/json: schema: type: object properties: message: properties: fromname: type: string description: Name of sender email: type: string description: Email of sender reply2: type: string description: Reply email for the recipient to reply to subject: type: string description: Subject of message preheader_text: type: string description: Preheader Text required: - fromname - email - reply2 type: object examples: Request Example: value: message: fromname: AC Admin fromemail: noreply@example.com reply2: hello@example.com subject: You are subscribing to %LISTNAME% preheader_text: Pre-header Text responses: '201': description: '201' content: application/json: examples: Result: value: "{\n \"message\": {\n \"fromname\": \"AC Admin\",\n \"fromemail\": \"noreply@example.com\",\n \"reply2\": \"hello@example.com\",\n \"subject\": \"You are subscribing to %LISTNAME%\",\n \"preheader_text\": \"Pre-header Text\",\n \"text\": \"hello\",\n \"html\": \"
| \\n | |||||||||||||||||
\\n
| \\n |||||||||||||||||
| \\n |
|
| \n | |||||||||||||||||
\n
| \n |||||||||||||||||
| \n |
|
|