Send a one-time text
Changed onSends one SMS to one phone number, either from a pre-approved template (templateId + variables) or as free-form text (message). Send exactly one of templateId or message; a body with both, or with neither, is a 400. A 200 means the message was accepted and queued, not yet delivered, so use the returned messageId with the status endpoint. Sandbox API keys are rejected.
Request
- Base URLhttps://collectwiseapi.com
- URLhttps://collectwiseapi.com/text/send
- AuthAPI key in header collectwise_key
Headers
Required together with x-cw-signature when signing is enabled for this key or organization. POST /security/verify also requires signing whenever a usable secret exists. Canonical Unix seconds, within ±300 seconds. See API Access for CW1 signing.
CW1 HMAC-SHA256 signature: v1= followed by 64 lowercase hex digits. Use the decoded 32-byte signing secret and exact request bytes. See API Access.
Request body
Response
Message accepted and queued.
Changes
- breaking
the response property
became optional for the status - info
added the new optional
headerrequest parameterx-cw-signature - info
added the new optional
headerrequest parameterx-cw-timestamp - info
added the new optional request property
- info
added the new optional request property
- info
the request property
became optional - info
the request property
became optional
- breaking