Campaigns are reusable gift card sending templates. Define a product, amount, sender details, and email design once, then execute the campaign repeatedly with different recipient lists — without repeating the configuration each time.
/api/v1/campaigns
Returns a paginated list of campaigns for your organization.
campaigns.read
searchpagepageSize/api/v1/campaigns/{campaignId}
Retrieves full details of a single campaign.
campaigns.read
campaignIdCA-A1B2C3D4)/api/v1/campaigns
Creates a new campaign template. All sending configuration is set here; individual executions can override subject, senderName, and message.
campaigns.write
{
"name": "Q1 Employee Appreciation",
"cardType": "BRANDED_CARD",
"productId": "10042",
"amount": 50.00,
"subject": "A gift for you from Acme Corp",
"senderName": "Acme Corp",
"message": "Thank you for your hard work!",
"templateId": "12",
"refundOption": false
}
namecardTypeBRANDED_CARD | CHOICE_CARDamountsubjectsenderNamemessagerefundOptionfalse/api/v1/campaigns/{campaignId}
Replaces all fields of an existing campaign. All required fields must be provided.
campaigns.write
campaignId{
"name": "Q1 Employee Appreciation",
"cardType": "BRANDED_CARD",
"productId": "10042",
"amount": 75.00,
"subject": "A gift for you from Acme Corp",
"senderName": "Acme Corp",
"message": "Thank you for your hard work!",
"templateId": "12",
"refundOption": false
}
All fields follow the same rules as Create campaign. All required fields must be provided.
/api/v1/campaigns/{campaignId}
Soft-deletes a campaign. The campaign will no longer appear in list results and cannot be executed, but historical order data is preserved.
campaigns.write
campaignId/api/v1/campaigns/{campaignId}/orders
Sends gift cards to a list of recipients using the campaign's preset configuration.
Optionally override subject, senderName, or message for this specific send.
campaigns.write
orders.write
campaignId{
"recipients": [
{ "email": "alice@giftronaut.com", "firstName": "Alice", "lastName": "Smith" },
{ "email": "bob@giftronaut.com", "firstName": "Bob", "lastName": "Jones" }
],
"idempotencyKey": "campaign-exec-unique-001",
"senderName": "HR Team",
"subject": "Your Q1 reward is here",
"message": "Congratulations on a great quarter!"
}
recipientsrecipientGroupId is omittedrecipientGroupIdidempotencyKeysenderNamesenderName (max 100 chars)subjectsubject (max 200 chars)messagemessage (max 2000 chars)recipients or recipientGroupId — not both.campaign.amount × recipientCount.Start typing to search...
Select the APIs you want to integrate. A ready-to-use Markdown file with full API specs and a project context template will be generated and downloaded. Paste it into your AI assistant to get started instantly.