POST /api/v2/server-side-api/integration/profile/set/integration-identifiers/

Đặt định danh tích hợp

Thêm các định danh tích hợp vào một hồ sơ người dùng.

Header parameters

adapty-customer-user-idstring

ID duy nhất của khách hàng trong hệ thống của bạn. Cần cung cấp adapty-customer-user-id hoặc adapty-profile-id.

adapty-profile-idstring · uuid

ID duy nhất của hồ sơ người dùng trong hệ thống của bạn. Lựa chọn tốt nhất khi làm việc với hồ sơ ẩn danh. Cần cung cấp adapty-customer-user-id hoặc adapty-profile-id.

Request body

Phải cung cấp ít nhất một định danh tích hợp

adjust_device_idstring

ID người dùng mạng trong tích hợp Adjust

airbridge_device_idstring

ID thiết bị của người dùng trong tích hợp Airbridge

amplitude_device_idstring

ID thiết bị của người dùng trong tích hợp Amplitude

amplitude_user_idstring

ID người dùng trong tích hợp Amplitude

appmetrica_device_idstring

ID thiết bị của người dùng trong tích hợp AppMetrica

appmetrica_profile_idstring

ID người dùng trong tích hợp AppMetrica

appsflyer_idstring

ID người dùng mạng trong tích hợp AppsFlyer

branch_idstring

Branch Key của ứng dụng người dùng trong tích hợp Branch

facebook_anonymous_idstring

ID người dùng trong tích hợp Facebook Ads

firebase_app_instance_idstring

ID người dùng trong tích hợp Firebase

mixpanel_user_idstring

ID người dùng trong tích hợp Mixpanel

one_signal_player_idstring

ID người dùng trong tích hợp OneSignal (Định danh kế thừa)

one_signal_subscription_idstring

ID người dùng trong tích hợp OneSignal (Định danh khuyến nghị)

posthog_distinct_user_idstring

ID người dùng trong tích hợp PostHog

pushwoosh_hwidstring

ID thiết bị của người dùng trong tích hợp Pushwoosh

tenjin_analytics_installation_idstring

ID thiết bị của người dùng trong tích hợp Tenjin

Responses

Các định danh tích hợp được đặt thành công. Phần thân phản hồi để trống.

Yêu cầu không hợp lệ

Schema
errorsarray of objectrequired
sourcestring

Nguồn gốc lỗi

errorsarray of string

Mảng thông báo lỗi

error_codestringrequired

Tên lỗi rút gọn

status_codeintegerrequired

Mã trạng thái HTTP

Example
{
  "errors": [
    "At least one integration identifier must be provided."
  ],
  "error_code": "validation_error",
  "status_code": 400
}

Không được phép

Schema
errorsarray of objectrequired
sourcestring

Nguồn gốc lỗi

errorsarray of string

Mảng thông báo lỗi

error_codestringrequired

Tên lỗi rút gọn

status_codeintegerrequired

Mã trạng thái HTTP

Example
{
  "errors": [
    "Invalid API key"
  ],
  "error_code": "unauthorized",
  "status_code": 401
}

Không tìm thấy hồ sơ người dùng

Schema
errorsarray of objectrequired
sourcestring

Nguồn gốc lỗi

errorsarray of string

Mảng thông báo lỗi

error_codestringrequired

Tên lỗi rút gọn

status_codeintegerrequired

Mã trạng thái HTTP

Example
{
  "errors": [
    "Profile not found"
  ],
  "error_code": "profile_not_found",
  "status_code": 404
}

Lỗi máy chủ nội bộ

Schema
errorsarray of objectrequired
sourcestring

Nguồn gốc lỗi

errorsarray of string

Mảng thông báo lỗi

error_codestringrequired

Tên lỗi rút gọn

status_codeintegerrequired

Mã trạng thái HTTP