AppsFlyer Android deep linking request API

The Android deep linking request API from AppsFlyer — 1 operation(s) for android deep linking request.

Operations 1

POST /android/{app_id} Deep linking for Android

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-android-deep-linking-request-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-android-deep-linking-request-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Deep linking REST Android deep linking request API
  version: '1.0'
servers:
- url: https://dls2s.appsflyer.com/v1.0
tags:
- name: Android deep linking request
paths:
  /android/{app_id}:
    post:
      tags:
      - Android deep linking request
      summary: Deep linking for Android
      parameters:
      - name: app_id
        in: path
        required: true
        schema:
          type: string
        description: App ID of the app for which you are passing data
        example: com.example.myapp
      - name: af_sig
        in: query
        required: true
        schema:
          type: string
        description: "Create an HMAC signature by concatenating the values of the following fields:\n\n`timestamp` + `ip`\n\nThe HMAC is generated using SHA256 and uses the DevKey as the signature’s secret key. \nTo retrieve the DevKey, in the AppsFlyer dashboard, go ***Configuration*** > ***App Settings***.\n\nFor example, the concatenation of the timestamp and IP are: \n> `2015-01-22T08:45:33.412127.0.0.1`\n\nThe DevKey is `w8sZzy8EaPaxFKfaoTqUi6` \n\n**Note**: Make sure you put the timestamp first, and then the IP.\n"
        example: ce2d1e6b4619b9e19bc6be116183b92e43aa01e182b15012a7215bdd879ec327
      requestBody:
        content:
          application/json:
            schema:
              title: android_request
              required:
              - is_first
              - lang
              - os
              - timestamp
              - type
              - ip
              type: object
              properties:
                referrers:
                  type: array
                  items:
                    title: referrer
                    required:
                    - source
                    - value
                    type: object
                    properties:
                      source:
                        type: string
                      value:
                        type: string
                  description: 'The list referrer strings from app stores (for example, Google Play or Huawei App Gallery).


                    The field structure is a vector of **source** and **value** parameters per store.


                    The current supported stores are **google** and **huawei**.


                    > **Note**: **google** and **huawei** are predefined values. The service ignores non-valid store names.

                    '
                  example:
                  - source: google
                    value: tran_id= 44577766555&pid=adcolony_int
                  - source: huawei
                    value: null
                lang:
                  type: string
                  description: Device locale used for authentication and probabilistic modeling
                  example: en-US
                is_first:
                  type: string
                  enum:
                  - true
                  - false
                  description: Is first app launch
                  example: true
                ip:
                  type: string
                  description: The device IP Address - IPv4
                  example: 198.51.100.78
                os:
                  type: string
                  description: Device OS version used for authentication and probabilistic modeling
                  example: 10.3.3
                timestamp:
                  type: string
                  description: ISO 8601 UTC format
                  example: '2015-01-22T08:45:33.412'
                oaid:
                  title: oaid
                  description: 'The Open Anonymous Identifier (OAID) value assigned to the device.


                    > **Note**: To avoid an attribution mismatch, if you choose a hashed value (MD5 or SHA-1) for the **type** property, make sure that the corresponding parameter value in the click URL is also hashed.

                    '
                  $ref: '#/components/schemas/CommonIdObject'
                type:
                  type: string
                  description: Device type/model used for authentication and probabilistic modeling
                  example: SM-A115M
                gaid:
                  title: gaid
                  description: 'The Google Advertising ID (GAID) value assigned to the device.


                    > **Note**: To avoid an attribution mismatch, if you choose a hashed value (MD5 or SHA-1) for the **type** property, make sure that the corresponding parameter value in the click URL is also hashed.

                    '
                  $ref: '#/components/schemas/CommonIdObject'
                sharing_filter:
                  type: string
                  x-anyOf:
                  - type: string
                  - x-allOf:
                    - {}
                    - type: array
                  description: 'The value options are the following:

                    - `all`: Doesn’t send the event to any partner

                    - [`"a"`,`"b"`,`"c"`]: Doesn’t send the event to the specified list of partners (by partner IDs)

                    **Note**: The partner IDs must be taken from predefined.

                    '
                  example:
                  - googleadwords_int
                  - adcolony_int
                request_id:
                  type: string
                  description: 'An identifier that is unique per app install.

                    SDK should send the AppsFlyer ID in this field.

                    SDKless should send the same value sent in the install event’s uid field.

                    '
                  example: 1644179019889-6748098
        required: true
      responses:
        '200':
          description: Response for Android deep linking request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DLResponse'
              examples:
                Click_not_found:
                  value:
                    found: false
                    click_event: {}
                Click_found:
                  value:
                    found: true
                    click_event:
                      timestamp: '2020-04-22T08:45:33.412'
                      custom_params:
                        fruit_name: apples
                        fruit_amount: '26'
                      campaign_id: 394a89cf-275a-451b-b030-1c6f8b55ff19
                      match_type: probabilistic
                      media_source: Email
                      campaign: my_new_campaign
                      click_http_referrer: https://www.myrefer.com/
                      af_sub1: my_afsub1
                      af_sub2: my_afsub2
                      af_sub3: my_afsub3
                      af_sub4: my_afsub4
                      af_sub5: my_afsub5
        '400':
          $ref: '#/components/responses/BadRequest'
        '503':
          $ref: '#/components/responses/GatewayTimeout'
        '504':
          $ref: '#/components/responses/ServiceUnavailable'
      x-codegen-request-body-name: android_request
components:
  schemas:
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
      required:
      - code
      - message
    CommonIdObject:
      required:
      - type
      - value
      properties:
        type:
          type: string
          enum:
          - unhashed
          - sha1
          - md5
          example: sha1
        value:
          type: string
          example: 123456436CDFAC250CBEAF3BFFCD713E3F123456
    DLResponse:
      title: shared response
      required:
      - click_event
      - found
      type: object
      properties:
        found:
          type: boolean
        click_event:
          title: click_event
          required:
          - af_sub1
          - af_sub2
          - af_sub3
          - af_sub4
          - af_sub5
          - campaign
          - campaign_id
          - click_http_referrer
          - custom_params
          - match_type
          - media_source
          - timestamp
          type: object
          properties:
            campaign_id:
              type:
              - string
              - 'null'
            custom_params:
              title: custom_params
              type: object
              properties: {}
            timestamp:
              type:
              - string
              - 'null'
            match_type:
              type: string
              enum:
              - referrer
              - id_matching
              - srn
              - probabilistic
            media_source:
              type:
              - string
              - 'null'
            campaign:
              type:
              - string
              - 'null'
            click_http_referrer:
              type:
              - string
              - 'null'
            af_sub1:
              type:
              - string
              - 'null'
            af_sub2:
              type:
              - string
              - 'null'
            af_sub3:
              type:
              - string
              - 'null'
            af_sub4:
              type:
              - string
              - 'null'
            af_sub5:
              type:
              - string
              - 'null'
  responses:
    GatewayTimeout:
      description: Gateway Timeout. ELB (Amazon Load-balancer) service unavailable.
      content: {}
    ServiceUnavailable:
      description: Service Unavailable. ELB (Amazon Load-balancer) service unavailable.
      content: {}
    BadRequest:
      description: Bad Request. The request message is not valid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: Bad Request