Create or Update Client Push Token
POSThttps://a.klaviyo.com/client/push-tokens/
Create or update a push token.
This endpoint is designed to be called from our mobile SDKs (iOS and Android). You must have push notifications enabled to use this endpoint.
- Revision header
revision: 2023-07-15required- Scopes
- No scopes required
- Authentication
- Public API key (site ID), in the
company_idquery parameter - Rate limits
- Burst:
3/sSteady:60/m
Query parameters
Your Public API Key / Site ID. See this article for more details.
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2023-07-15
Request body
Content type: application/jsonrequired
Show 2 fields
Show 7 fields
A push token from APNS or FCM.
The platform on which the push token was created.
This is the enablement status for the individual push token.
Enter a whole number. Until you do, the example request uses the example value.
The vendor of the push token.
The background state of the push token.
Enter a whole number. Until you do, the example request uses the example value.
Show 12 fields
Relatively stable ID for the device. Will update on app uninstall and reinstall
The name of the SDK used to create the push token.
The version of the SDK used to create the push token
The model of the device
The name of the operating system on the device.
The version of the operating system on the device
The manufacturer of the device
The name of the app that created the push token
The version of the app that created the push token
The build of the app that created the push token
The ID of the app that created the push token
The environment in which the push token was created
The profile associated with the push token to create/update
Show 1 field
Show 3 fields
Primary key that uniquely identifies this profile. Generated by Klaviyo.
Show 12 fields
Individual's email address
Individual's phone number in E.164 format
A unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system.
Id that can be used to identify a profile when other identifiers are not available
Individual's first name
Individual's last name
Name of the company or organization within the company for whom the individual works
Individual's job title
URL pointing to the location of a profile image
Show 9 fields
First line of street address
Second line of street address
City name
Country name
Latitude coordinate. We recommend providing a precision of four decimal places.
Longitude coordinate. We recommend providing a precision of four decimal places.
Region within a country, such as state or province
Zip code
Time zone name. We recommend using time zones from the IANA Time Zone Database.
An object containing key/value pairs for any custom properties assigned to this profile
Enter valid JSON. Until you do, the example request uses the example value.
Show 1 field
Show 3 fields
Append a simple value or values to this property array
Enter valid JSON. Until you do, the example request uses the example value.
Remove a simple value or values from this property array
Enter valid JSON. Until you do, the example request uses the example value.
Remove a key or keys (and their values) completely from properties
Responses
202
This response has no body.
4XXClient Error
Content type: application/json
5XXServer Error
Content type: application/json