Create
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
campaignId*string
Length
1 <= lengthcount*integer
Range
1 <= value <= 500phonePattern?string
Length
3 <= length <= 24addressSource*string
Value in
- "in_zone"
- "out_of_zone"
- "fixture"
- "garbage"
- "messy"
zoneId?string
Length
1 <= lengthproductChoice*string
Value in
- "first"
- "random"
- "invalid_then_valid"
optOutRate?number
Range
0 <= value <= 1seed?integer
Range
0 <= value <= 9007199254740991Response Body
application/json
curl -X POST "https://example.com/dev/consumers/create" \ -H "Content-Type: application/json" \ -d '{ "campaignId": "string", "count": 1, "addressSource": "in_zone", "productChoice": "first" }'null