Test campaign (single recipient)
gambot_test_campaignSend a single-recipient test message to preview a template or free-text message before launching a full broadcast.
Instructions
Send a single-recipient TEST of a template or free-text message. Great for previewing before a full broadcast.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number, ideally E.164 international format (country code, digits only, no leading 0), e.g. 972501234567 or 12025551234. A local/national number (e.g. leading 0) is accepted when a country is provided — or when the organization has a saved country from onboarding; otherwise it's rejected as ambiguous. | |
| country | No | ISO-3166 alpha-2 (e.g. 'US','IL') to internationalize a local/national number in `to`. Optional if the organization has a saved country (set at onboarding). | |
| message | No | ||
| variables | No | Template variables, e.g. { var1: 'Dana' }. | |
| templateId | No | ||
| messageType | No | Defaults to Template if templateId is set. | |
| fromNumberId | No |