POST
/
v2
/
promotions
curl --request POST \
  --url https://api.zapier.com/v2/promotions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "promotion_id": "promo_12345",
  "user_access_token": "ex@mp1eZrTmAaWM2uBi8hB..."
}'
{
  "enrollment_id": "<string>"
}

This API is rate limited.

Authorizations

Authorization
string
header
required

See our OAuth2 authentication documentation

Body

application/json
promotion_id
string
required

The unique identifier for the promotions

user_access_token
string
required

The user's access token which authenticates and identifies the user being enrolled in this promotion (obtained via Authorization Flow)

Response

201
application/json

Successful Enrollment

enrollment_id
string
required

The unique identifier for the enrollment