AppsFlyer Authentication Token API

The Authentication Token API from AppsFlyer — 1 operation(s) for authentication token.

Operations 2

DELETE /tokens/app/{app_id} Delete Push API Authentication Token #
PUT /tokens/app/{app_id} Set Push API Authentication Token #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/appsflyer-authentication-token-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

appsflyer-authentication-token-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Push API Configuration Authentication Token API
  version: 1.0.0
servers:
- url: https://hq1.appsflyer.com/api/pushapi/v1.0/
security:
- Bearer-Authentication: []
tags:
- name: Authentication Token
paths:
  /tokens/app/{app_id}:
    delete:
      tags:
      - Authentication Token
      summary: Delete Push API Authentication Token
      description: '> ⚠️ Important

        >

        > All API V2 tokens generated before March 10, 2026, 19:00 UTC have been revoked. If your token was generated before this date, please regenerate it. Learn how.'
      parameters:
      - name: app_id
        in: path
        description: Application ID
        example: id121244
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The token has been deleted successfully
          headers:
            deprecated:
              description: is the api version deprecated?
              schema:
                type: boolean
            deprecationDate:
              description: deprecation date
              schema:
                type: string
            sunsetDate:
              description: sunset date
              schema:
                type: string
            deprecationMessage:
              description: deprecation message
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  request_id:
                    type: string
                    example: 8a3f4fa6-a91c-11ec-b909-0242ac120002
        '401':
          $ref: '#/components/responses/AuthenticationFailed'
        '402':
          description: Push API isn't part of your subscription.
          headers:
            deprecated:
              description: is the api version deprecated
              schema:
                type: boolean
            deprecationDate:
              description: deprecation date
              schema:
                type: string
            sunsetDate:
              description: sunset date
              schema:
                type: string
            deprecationMessage:
              description: deprecation message
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Missing Asset Push API:
                  value:
                    code: MissingAsset
                    message: Push API isn't part of your subscription. Contact AppsFlyer support or your AppsFlyer account executive
                    request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
        '403':
          description: Account problem occurred
          headers:
            deprecated:
              description: is the api version deprecated
              schema:
                type: boolean
            deprecationDate:
              description: deprecation date
              schema:
                type: string
            sunsetDate:
              description: sunset date
              schema:
                type: string
            deprecationMessage:
              description: deprecation message
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Account problem:
                  value:
                    code: AccountProblem
                    message: An account problem occurred. Please contact your AppsFlyer account executive.
                    request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
                App ID not found:
                  value:
                    code: UnknownAppid
                    message: The app ID specified wasn't found. Check that the app ID is identical to that in AppsFlyer in your account.
                    request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
        '404':
          $ref: '#/components/responses/VersionDoesntExist'
        '410':
          $ref: '#/components/responses/VersionNoLongerValid'
      operationId: deleteTokensAppByAppId
      x-operation-id-source: derived
    put:
      tags:
      - Authentication Token
      summary: Set Push API Authentication Token
      description: '> ⚠️ Important

        >

        > All API V2 tokens generated before March 10, 2026, 19:00 UTC have been revoked. If your token was generated before this date, please regenerate it. Learn how.'
      parameters:
      - name: app_id
        in: path
        description: Application ID
        example: id121244
        required: true
        schema:
          type: string
      requestBody:
        description: Body for validate URL
        content:
          application/json:
            schema:
              required:
              - token
              type: object
              properties:
                token:
                  type: string
                  maxLength: 2000
                  pattern: "^[ \t\\-_.a-zA-Z0-9]*$"
                  description: "The token value should be a string with a maximum of 2,000 characters, containing only the characters a-z, A-Z, 0-9, and the special characters [ \t-_.]."
                token_name:
                  oneOf:
                  - type: string
                    enum:
                    - Authorization
                  - type: string
                    pattern: ^X-[a-zA-Z0-9\-_]*$
                  maxLength: 30
                  description: The token name must be either 'Authorization' or a string starting with 'X-', consisting of a maximum of 30 characters including only the characters a-z, A-Z, 0-9, '-' and '_'. If the token name is empty or null, it will default to the last received token name, or 'Authorization' if there is none.
      responses:
        '200':
          description: The token has been set successfully
          headers:
            deprecated:
              description: is the api version deprecated?
              schema:
                type: boolean
            deprecationDate:
              description: deprecation date
              schema:
                type: string
            sunsetDate:
              description: sunset date
              schema:
                type: string
            deprecationMessage:
              description: deprecation message
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  request_id:
                    type: string
                    example: 8a3f4fa6-a91c-11ec-b909-0242ac120002
                  message:
                    type: string
                    example: Your token has been set successfully
        '400':
          description: JSON parsing error
          headers:
            deprecated:
              description: is the api version deprecated
              schema:
                type: boolean
            deprecationDate:
              description: deprecation date
              schema:
                type: string
            sunsetDate:
              description: sunset date
              schema:
                type: string
            deprecationMessage:
              description: deprecation message
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                code: JSONParsingError
                message: An error occurred while parsing the JSON body. Check the body and try again..
                requestId: 8a3f4fa6-a91c-11ec-b909-0242ac120002
        '401':
          $ref: '#/components/responses/AuthenticationFailed'
        '402':
          description: Push API isn't part of your subscription.
          headers:
            deprecated:
              description: is the api version deprecated
              schema:
                type: boolean
            deprecationDate:
              description: deprecation date
              schema:
                type: string
            sunsetDate:
              description: sunset date
              schema:
                type: string
            deprecationMessage:
              description: deprecation message
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Missing Asset Event Type:
                  value:
                    code: MissingAsset
                    message: The specified message type ({event-type} isn't part of your subscription. Contact AppsFlyer support or your AppsFlyer account executive.
                    request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
                Missing Asset Push API:
                  value:
                    code: MissingAsset
                    message: Push API isn't part of your subscription. Contact AppsFlyer support or your AppsFlyer account executive
                    request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
        '403':
          description: Account problem occurred
          headers:
            deprecated:
              description: is the api version deprecated
              schema:
                type: boolean
            deprecationDate:
              description: deprecation date
              schema:
                type: string
            sunsetDate:
              description: sunset date
              schema:
                type: string
            deprecationMessage:
              description: deprecation message
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Account problem:
                  value:
                    code: AccountProblem
                    message: An account problem occurred. Please contact your AppsFlyer account executive.
                    request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
                App ID not found:
                  value:
                    code: UnknownAppid
                    message: The app ID specified wasn't found. Check that the app ID is identical to that in AppsFlyer in your account.
                    request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
        '404':
          $ref: '#/components/responses/VersionDoesntExist'
        '410':
          $ref: '#/components/responses/VersionNoLongerValid'
        '422':
          description: Schema Error
          headers:
            deprecated:
              description: is the api version deprecated
              schema:
                type: boolean
            deprecationDate:
              description: deprecation date
              schema:
                type: string
            sunsetDate:
              description: sunset date
              schema:
                type: string
            deprecationMessage:
              description: deprecation message
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                Invalid JSON format:
                  value:
                    code: SchemaError
                    message: Invalid JSON format or no JSON found. Verify the content and resubmit.
                    request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
      operationId: putTokensAppByAppId
      x-operation-id-source: derived
components:
  schemas:
    Error:
      example:
        code: SomeErrorCode
        message: Some error message.
        request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
      type: object
      properties:
        status:
          type: integer
        code:
          type: string
        message:
          type: string
        request_id:
          type: string
  responses:
    VersionNoLongerValid:
      description: The API version listed in the URL is no longer valid
      headers:
        deprecated:
          description: is the api version deprecated
          schema:
            type: boolean
        deprecationDate:
          description: deprecation date
          schema:
            type: string
        sunsetDate:
          description: sunset date
          schema:
            type: string
        deprecationMessage:
          description: deprecation message
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: The API version listed in the URL is no longer valid. Check the API documentation
    VersionDoesntExist:
      description: The API version listed in the URL doesn't exist
      headers:
        deprecated:
          description: is the api version deprecated
          schema:
            type: boolean
        deprecationDate:
          description: deprecation date
          schema:
            type: string
        sunsetDate:
          description: sunset date
          schema:
            type: string
        deprecationMessage:
          description: deprecation message
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            code: InvalidVersion
            message: The API version listed in the URL doesn't exist. Check the API documentation
            request_id: 8a3f4fa6-a91c-11ec-b909-0242ac120002
    AuthenticationFailed:
      description: Authentication failed. The authentication token is not valid.
      headers:
        deprecated:
          description: is the api version deprecated
          schema:
            type: boolean
        deprecationDate:
          description: deprecation date
          schema:
            type: string
        sunsetDate:
          description: sunset date
          schema:
            type: string
        deprecationMessage:
          description: deprecation message
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    Bearer-Authentication:
      type: http
      scheme: bearer
      description: "**Important: API V2 Token Revocation**\n\nAll API V2 tokens generated before March 10, 2026, 19:00 UTC have been revoked. If your token was generated before this date, please regenerate it. [Learn how](https://support.appsflyer.com/hc/en-us/articles/360004562377-Managing-AppsFlyer-tokens).\n\nAuthorization HTTP header containing API V2 token (bearer token) is required.\n\n The admin [gets the V2 token in the dashboard](https://support.appsflyer.com/hc/en-us/articles/360004562377) "