Skip to main content
POST
/
partnerships
/
{partnership_id}
/
triggers
/
reverse
Reverse a trigger event for a partnership.
curl --request POST \
  --url https://campaignservice-staging.withbenji.com/partnerships/{partnership_id}/triggers/reverse \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "trigger_name": "<string>",
  "external_user_id": "<string>",
  "partnership_id": 123,
  "reason": "<string>"
}'
{
  "trigger_event_id": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
trigger_name
string
required

The name of the trigger event to reverse.

external_user_id
string
required

Your external identifier of the user. Used to map the event to a specific user in the Benji platform.

partnership_id
integer

The unique identifier of the partnership associated with this trigger event.

reason
string | null

Optional reason for reversal/cancellation.

Response

OK

trigger_event_id
integer
required

The ID of the trigger event