跳轉到主要內容
POST
/
public
/
identify
更新目前訪客資料
curl --request POST \
  --url https://api.tinyinbox.app/public/identify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "email": "jsmith@example.com"
}
'
{
  "visitor": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "externalId": "<string>",
    "name": "<string>",
    "email": "jsmith@example.com"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tinyinbox.co/llms.txt

Use this file to discover all available pages before exploring further.

授權

Authorization
string
header
必填

由 /public/widget-session 回傳的短效小工具 session token。

主體

application/json
name
string | null
Required string length: 1 - 80
email
string<email> | null
Maximum string length: 160

回應

訪客資料

visitor
object
必填