# Get integration identifiers

> Retrieves integration identifiers of a profile.

## OpenAPI

```yaml
/api-specs/adapty-api.yaml get /api/v2/server-side-api/integration/profile/set/integration-identifiers/
openapi: 3.1.0
info:
  title: Adapty server-side API
  version: 1.0.0
servers:
  - url: https://api.adapty.io
    description: Production server
paths:
  /api/v2/server-side-api/integration/profile/set/integration-identifiers/:
    get:
      summary: Get integration identifiers
      description: Retrieves integration identifiers of a profile.
      operationId: getIntegrationIdentifiers
      tags:
        - Integration
      security:
        - apikeyAuth: []
      parameters:
        - name: adapty-customer-user-id
          in: header
          required: false
          schema:
            type: string
          description: The unique ID of the customer in your system. Either `adapty-customer-user-id` or `adapty-profile-id` is required.
        - name: adapty-profile-id
          in: header
          required: false
          schema:
            type: string
            format: uuid
          description: The unique ID of the profile in your system. Your best option if you are working with anonymous profiles. Either `adapty-customer-user-id` or `adapty-profile-id` is required.
      responses:
        "200":
          description: Integration identifiers retrieved successfully
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/IntegrationIdentifiersResponse"
              example:
                facebook_anonymous_id: XZ7EF7D15E-8FA1-49D8-B180-918EB333E42A
                amplitude_user_id: null
                amplitude_device_id: null
                mixpanel_user_id: 33w6yv5DPqVlyMVbjW31xvzJLtJ3
                appmetrica_profile_id: null
                appmetrica_device_id: null
                one_signal_player_id: null
                one_signal_subscription_id: 333ed338-757d-466a-a672-ab92db196a1f
                pushwoosh_hwid: null
                firebase_app_instance_id: C333B35DF1DB418E99F7B815E9F5C549
                airbridge_device_id: null
                appsflyer_id: 1741933337626-3179568
                branch_id: null
                adjust_device_id: null
                tenjin_analytics_installation_id: null
                posthog_distinct_user_id: null
        "401":
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
              example:
                errors:
                  - Invalid API key
                error_code: unauthorized
                status_code: 401
        "404":
          description: Profile not found
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
              example:
                errors:
                  - Profile not found
                error_code: profile_not_found
                status_code: 404
        "500":
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
components:
  schemas:
    IntegrationIdentifiersResponse:
      type: object
      properties:
        adjust_device_id:
          type: string
          nullable: true
          description: The network user's ID in the Adjust integration
        airbridge_device_id:
          type: string
          nullable: true
          description: The ID of the user's device in Airbridge integration
        amplitude_device_id:
          type: string
          nullable: true
          description: The ID of the user's device in Amplitude integration
        amplitude_user_id:
          type: string
          nullable: true
          description: The ID of the user in Amplitude integration
        appmetrica_device_id:
          type: string
          nullable: true
          description: The ID of the user's device in AppMetrica integration
        appmetrica_profile_id:
          type: string
          nullable: true
          description: The ID of the user in AppMetrica integration
        appsflyer_id:
          type: string
          nullable: true
          description: The network user's ID in the AppsFlyer integration
        branch_id:
          type: string
          nullable: true
          description: The Branch Key of the user's app in the Branch integration
        facebook_anonymous_id:
          type: string
          nullable: true
          description: The ID of the user in Facebook Ads integration
        firebase_app_instance_id:
          type: string
          nullable: true
          description: The ID of the user in Firebase integration
        mixpanel_user_id:
          type: string
          nullable: true
          description: The ID of the user in Mixpanel integration
        one_signal_player_id:
          type: string
          nullable: true
          description: The ID of the user in OneSignal integration (Legacy identifier)
        one_signal_subscription_id:
          type: string
          nullable: true
          description: The ID of the user in OneSignal integration (Recommended identifier)
        posthog_distinct_user_id:
          type: string
          nullable: true
          description: The ID of the user in PostHog integration
        pushwoosh_hwid:
          type: string
          nullable: true
          description: The ID of the user's device in Pushwoosh integration
        tenjin_analytics_installation_id:
          type: string
          nullable: true
          description: The ID of the user's device in Tenjin integration
    ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              source:
                type: string
                nullable: true
                description: Source of the error
              errors:
                type: array
                items:
                  type: string
                description: Array of error messages
        error_code:
          type: string
          description: Short error name
        status_code:
          type: integer
          description: HTTP status code
      required:
        - errors
        - error_code
        - status_code
  securitySchemes:
    apikeyAuth:
      type: apiKey
      name: Authorization
      in: header
      default: Api-Key {Your secret API key}
      description: |
        API requests must be authenticated by your secret API key as the **Authorization** 
        header with the value `Api-Key {your_secret_api_key}`, for example, 
        `Api-Key secret_live_...`. Find this key in the Adapty Dashboard -> 
        **App Settings** -> **General** tab -> **API keys** section.
```
