Skip to content

This page is available as Markdown at https://developers.klaviyo.com/en/v2023-10-15/reference/unregister_client_push_token.md. An index of every page is at https://developers.klaviyo.com/llms.txt.

KlaviyoKlaviyoDevelopers
v2023-10-15

You're reading the reference for API revision 2023-10-15. The latest revision is 2026-10-15. See this page in the latest revision.

Unregister Client Push Token

POSThttps://a.klaviyo.com/client/push-token-unregister/

Unregister 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-10-15required
Scopes
No scopes required
Authentication
Public API key (site ID), in the company_id query parameter
Rate limits
Burst: 3/sSteady: 60/m

Query parameters

  • company_id#stringrequired

    Your Public API Key / Site ID. See this article for more details.

    Example: PUBLIC_API_KEY

Headers

  • revision#stringrequired

    API endpoint revision (format: YYYY-MM-DD[.suffix])

    2023-10-15

Request body

Content type: application/jsonrequired

  • data#objectrequired
    Show 2 fields
    • type#stringrequired
      Allowed values:
      • push-token-unregister
    • attributes#objectrequired
      Show 4 fields
      • token#stringrequired

        A push token from APNS or FCM.

        Example: 1234567890

      • platform#stringrequired

        The platform on which the push token was created.

        Allowed values:
        • android
        • ios
      • vendor#string

        The vendor of the push token.

        Allowed values:
        • apns
        • fcm

        Example: apns

      • profile#objectrequired

        The profile associated with the push token to create/update

        Show 1 field
        • data#objectrequired
          Show 3 fields
          • type#stringrequired
            Allowed values:
            • profile
          • id#string

            Primary key that uniquely identifies this profile. Generated by Klaviyo.

            Example: 01GDDKASAP8TKDDA2GRZDSVP4H

          • attributes#objectrequired
            Show 13 fields
            • email#string

              Individual's email address

              Example: sarah.mason@klaviyo-demo.com

            • phone_number#string

              Individual's phone number in E.164 format

              Example: +15005550006

            • external_id#string

              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.

              Example: 63f64a2b-c6bf-40c7-b81f-bed08162edbe

            • anonymous_id#string

              Id that can be used to identify a profile when other identifiers are not available

              Example: 01GDDKASAP8TKDDA2GRZDSVP4H

            • _kx#string

              Also known as the exchange_id, this is an encrypted identifier used for identifying a profile by Klaviyo's web tracking.

              You can use this field as a filter when retrieving profiles via the Get Profiles endpoint.

              Example: J8fjcn003Wy6b-3ILNlOyZXabW6dcFwTyeuxrowMers%3D.McN66

            • first_name#string

              Individual's first name

              Example: Sarah

            • last_name#string

              Individual's last name

              Example: Mason

            • organization#string

              Name of the company or organization within the company for whom the individual works

              Example: Klaviyo

            • title#string

              Individual's job title

              Example: Engineer

            • image#string

              URL pointing to the location of a profile image

              Example: https://images.pexels.com/photos/3760854/pexels-photo-3760854.jpeg

            • location#object
              Show 10 fields
              • address1#string

                First line of street address

                Example: 89 E 42nd St

              • address2#string

                Second line of street address

                Example: 1st floor

              • city#string

                City name

                Example: New York

              • country#string

                Country name

                Example: United States

              • latitude#string | number

                Latitude coordinate. We recommend providing a precision of four decimal places.

                Example: 40.7128

              • longitude#string | number

                Longitude coordinate. We recommend providing a precision of four decimal places.

                Example: 74.0060

              • region#string

                Region within a country, such as state or province

                Example: NY

              • zip#string

                Zip code

                Example: 10017

              • timezone#string

                Time zone name. We recommend using time zones from the IANA Time Zone Database.

                Example: America/New_York

              • ip#string

                IP Address

                Example: 127.0.0.1

            • properties#object

              An object containing key/value pairs for any custom properties assigned to this profile

            • meta#object
              Show 1 field
              • patch_properties#object
                Show 3 fields
                • append#object

                  Append a simple value or values to this property array

                • unappend#object

                  Remove a simple value or values from this property array

                • unset#string | string[]

                  Remove a key or keys (and their values) completely from properties

                  Example: skus

Responses

202Success

This response has no body.

4XXClient Error

Content type: application/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string

5XXServer Error

Content type: application/json

  • errors#object[]required
    Show 5 fields
    • id#stringrequired
    • code#stringrequired
    • title#stringrequired
    • detail#stringrequired
    • source#object
      Show 2 fields
      • pointer#string
      • parameter#string