Add participants to flow
Use this endpoint to add participants to a flow, accommodating anywhere from 1 to 1000 persons.
When participants are added, their profiles in People are automatically created, updated or merged based on the identifiers provided.
If identifiers are unique, a new profile is created.
If identifiers match an existing profile, then that profile is updated.
If identifiers refer to multiple existing profiles or are not unique within the request, profiles are merged.
To prevent unwanted merges, ensure each participant's identifiers
(identifyBy
, externalId
and contactInformation
) are unique.
Authorizations:
Scopes:
Request rate limit:
path Parameters
campaignId required | integer <int64> Example: 200000000000001 Unique identifier of the flow that participant will be added to. |
Request Body schema:
application/jsonparticipants required | Array of objects <= 1000 characters Array of participants to add. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
notifyUrl | string <= 1000 characters The URL on your callback server on which a report of operation results will be sent. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
callbackData | string <= 2000 characters Additional data will be passed in the request to your callback server along with the operation results report. |
Responses
OK
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
Internal Server Error
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Add participants to Flow
{- "participants": [
- {
- "identifyBy": {
- "identifier": "370329180020364",
- "type": "FACEBOOK"
}
}, - {
- "identifyBy": {
- "identifier": "test@infobip.com",
- "type": "EMAIL"
}, - "variables": {
- "orderNumber": 1167873391
}
}, - {
- "identifyBy": {
- "identifier": "test2@infobip.com",
- "type": "EMAIL"
}, - "variables": {
- "orderNumber": 1595299041
}, - "person": {
- "externalId": "optional_external_person_id",
- "customAttributes": {
- "Contract Expiry": "2023-04-01",
- "Company": "Infobip"
}, - "contactInformation": {
- "email": [
- {
- "address": "test@infobip.com"
}
]
}
}
}
], - "callbackData": "Callback Data"
}
Response samples
- 200
- 400
- 401
- 403
- 404
- 429
- 500
{- "operationId": "03f2d474-0508-46bf-9f3d-d8e2c28adaea"
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See