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 section → Manage API Keys
Headers
Account id. You can find your Account ID on Your FirstPromoter Dashboard. Navigate to Settings → Integrations
Body
Array of promoter 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
Operation completed successfully
Batch ID
Status of the batch operation Status of the batch operation (always completed for synchronous operations)
completed
Total number of promoters
Total number of selected promoters
Number of processed promoters
Number of failed promoters
Label for the action
Creation date of the batch operation
Last update date of the batch operation
Additional metadata
Progress of the batch operation
List of processing errors if any