Add tag to people batch
This method allows you to assign tag to multiple people.
NOTE Array size of the batch add request is limited to 1000
people.
Please log in to see full path URL. Learn why.
patch
/people/2/tags/{name}/persons
Authorizations:
Scopes:
Request rate limit:
5 requests / second (per account)
path Parameters
name required | string Example: Vip Name of the tag. |
Request Body schema:
application/json
collapse all -
people | Array of objects List of people. | ||||||||||
Array
|
Responses
default
successful response
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
429
Too Many Requests
4XX
Error responses
500
Internal Server Error
5XX
Error responses
Request samples
- Payload
- cURL
- Java
- C#
- Go
- Python
- PHP
- JavaScript
- NodeJs
- Ruby
Content type
application/json
Copy
Collapse all {- "people": [
- {
- "query": {
- "type": "PHONE",
- "identifier": "41793026727"
}
}, - {
- "query": {
- "type": "EMAIL",
- "identifier": "johnwilliams@acme.com"
}
}, - {
- "query": {
- "type": "EXTERNAL_ID",
- "identifier": "123"
}
}
]
}
Response samples
- 400
- 401
- 403
- 404
- 429
- 4XX
- 500
- 5XX
Content type
application/json
Copy
Collapse all {- "requestError": {
- "serviceException": {
- "messageId": "BAD_REQUEST",
- "text": "Bad request"
}
}
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See