Authorizations
API key passed as a Bearer token in the Authorization header. You can find your API Key on Your FirstPromoter Dashboard. Navigate to Settings → Integrations → Manage API Keys
Headers
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Body
Array of selected referral ids. If there are more than 5 ids on this param/field, the action will be processed asynchronously. The response for the batch status will most likely be in_progress
. The available statuses are pending
, in_progress
, completed
, failed
and stopped
Response
Batch operation completed
Id of the batch operation
Status of the batch operation
pending
, completed
Total number of items
Number of selected items
Number of processed items
Number of failed operations
Action identifier/ label assigned to the action
Date and time when the batch operation was created
Date and time when the batch operation was updated
Meta data of the batch operation
Progress of the action (0-100)
List of processing errors