VI | EN
Message us on Messenger
Developer resources

Get available verification document types for a region — TikTok Business API

Get available verification document types for a region · call it through Quantri360 with one API key for your own accounts / assets that you connected and authorized — 360 handles request signing and refreshing the authorization you granted.

Get available verification document types for a region

GET/account/verification/filetype/Via 360: GET https://partner.quantri360.com/v1/tiktok_business/account/verification/filetype/
Description

Use this endpoint to retrieve a list of supported verification document types for a specific country or region.

Once you identify the appropriate business or personal identification documents required for your Business Center or ad account, proceed to upload them using /account/verification/upload/.

Request

Endpoint

GET https://partner.quantri360.com/v1/tiktok_business/account/verification/filetype/

Authentication & shop

NameInTypeSampleDescription
AuthorizationheaderheaderBearer q360_live_ab12cd34_…Khóa API của brand (tạo ở mục API key). Bắt buộc với mọi request. Brand suy từ key — không truyền mã brand.
platform_shop_idquerystring7000000000000000001Tài sản TikTok Business đã kết nối — "Mã tài sản" ở trang Nền tảng hoặc GET /v1/platforms (tài khoản quảng cáo cho Marketing API, tài khoản TikTok cho Organic / Messaging). Có thể bỏ khi chỉ kết nối một tài sản.

Request parameters

NameInTypeRequiredSampleDescription
business_typequerystringYesThe type of verification you want to perform. Enum values: - BUSINESS: business verification. - INDIVIDUAL: individual identity verification.
region_iso_codequerystringYesThe country or region code for your business (Business Center account or ad account), in ISO 3166 format. Example: US. - To retrieve the country or region code of your Business Center account, use /bc/get/ and check the returned registered_area parameter. - To retrieve the country or region code of your ad account, use /advertiser/info/ and check the returned country parameter.

Request examples

curl -s "https://partner.quantri360.com/v1/tiktok_business/account/verification/filetype/?business_type=&region_iso_code=" \
  -H "Authorization: Bearer $KEY"
Python
import requests

KEY = "q360_live_..."  # khóa API của brand
r = requests.get(
    "https://partner.quantri360.com/v1/tiktok_business/account/verification/filetype/",
    params={
        "business_type": "",
        "region_iso_code": ""
    },
    headers={"Authorization": f"Bearer {KEY}"},
    timeout=60,
)
print(r.status_code)
print(r.json())
Node.js
const KEY = 'q360_live_...'; // khóa API của brand
const url = new URL('https://partner.quantri360.com/v1/tiktok_business/account/verification/filetype/');
for (const [k, v] of Object.entries({"business_type":"","region_iso_code":""})) url.searchParams.set(k, typeof v === 'object' ? JSON.stringify(v) : String(v));
const r = await fetch(url, {
  method: 'GET',
  headers: { Authorization: `Bearer ${KEY}` },
});
console.log(r.status, await r.json());
PHP
<?php
$key = 'q360_live_...'; // khóa API của brand
$url = 'https://partner.quantri360.com/v1/tiktok_business/account/verification/filetype/' . '?' . http_build_query(['business_type' => '', 'region_iso_code' => '']);
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer ' . $key]);
$res = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
echo $status, "\n", $res;

Response

Response fields (as returned by TikTok Business)

NameTypeSampleDescription
codenumberResponse code. For the complete list of response codes and descriptions, see Appendix - Return Codes.
messagestringResponse message. For details, see Appendix - Return Codes.
request_idstringThe log ID of the request, which uniquely identifies a request.
dataobjectReturned data.
file_typesobject[]A list of verification document types you can upload for the specified country or region (`region_iso_code`).
file_type_namestringThe name of the business verification document or personal identification document. - If you set `business_type` to `BUSINESS` in the request, this field represents the business verification document name. - If you set `business_type` to `INDIVIDUAL` in the request, this field represents the personal identification document name.
file_type_codestringThe code of the business verification document or personal identification document. - If you set `business_type` to `BUSINESS` in the request, this field represents the business verification document code. - If you set `business_type` to `INDIVIDUAL` in the request, this field represents the personal identification document code.

Response sample

{
    "code": 0,
    "message": "OK",
    "request_id": "{{request_id}}",
    "data": {
        "file_types": [
            {
                "file_type_code": "127724548",
                "file_type_name": "Documents issued by the IRS (Internal Revenue Service) showing the Employer Identification Number (EIN)"
            }
        ]
    }
}

Get started

  1. Sign up for Partner
  2. Enable a data type of the Ads (Marketing API) group on the platform page
  3. Create an API key (tick the TikTok Business channel)
  4. Call it as in the examples above