post https://a.klaviyo.com/api/push-tokens
Responses
202Success
202Success
xxxxxxxxxx
24curl --request POST \
--url https://a.klaviyo.com/api/push-tokens \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'content-type: application/vnd.api+json' \
--header 'revision: 2025-01-15' \
--data '
{
"data": {
"type": "push-token",
"attributes": {
"platform": "android",
"enablement_status": "AUTHORIZED",
"vendor": "apns",
"background": "AVAILABLE",
"profile": {
"data": {
"type": "profile",
"attributes": {
"properties": {
"newKey": "New Value"
},
"meta": {
"patch_properties": {
xxxxxxxxxx
14{
"errors": [
{
"id": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
}
}
]
}