Subscribers
Update a subscriber
Update a subscriber by its unique key identifier subscriberId. subscriberId is a required field, rest other fields are optional
patch/v2/subscribers/{subscriberId}
Path parameters
subscriberIdstring required
The identifier of the subscriber
Headers
idempotency-keystring
A header for idempotency purposes
Request body
Example request
{
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "+1234567890",
"avatar": "https://example.com/avatar.jpg",
"locale": "en-US",
"timezone": "America/New_York"
}Response
OK
Example response
{
"channels": [
{
"credentials": {
"webhookUrl": "https://example.com/webhook",
"channel": "general",
"deviceTokens": [
"token1",
"token2",
"token3"
],
"alertUid": "12345-abcde",
"title": "Critical Alert",
"imageUrl": "https://example.com/image.png",
"state": "resolved",
"externalUrl": "https://example.com/details"
}
}
]
}