POST Trigger
Last updated
Last updated
POST
https://api.feedbackly.com/v5.0.3/triggers/rest/:apiActionId
Dispatch API have rate limit of 500 contacts/minute. Please be careful with retries since we're sending out surveys right away after receiving the API request. *Refer to "Preparing Campaign" to get apiActionId from feedbackly dashboard.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Please note that either email or phone must be existing per contact. Metadata and options are optional.
To override default admin notification receivers, use this. Multiple emails can be specified as an array.
Field | Type | Description |
---|---|---|
Authorization
String
Authentication token to access the API eg: 'Authorization': 'ey0iuefoo834xcunerun348efnsd'
Content-Type
String
Use: 'Content-Type':'application/json'
actionId*
String
Unique identifier to differentiate original requests. Feedbackly will block requests with duplicate actionIds.
contacts*
contact[]
Array of contact objects
apiActionId
String
[DEPRECIATED] ApiActionId to be used in body instead of URI param
String
Valid email address of survey receiver
phone
String
Valid phone number with country code of survey receiver. (with or without + in the beginning)
metadata
{[key:string]: string | number}
Contact related metadata.
options
{}
Additional options