Intercom
此页面暂无中文版本,显示的是英文版本。
Get an Intercom identity token for the current user
Mints a signed identity-verification token for booting the Intercom Messenger widget with the current user. Returns {"enabled": false} on any environment with no Intercom secret configured — this is the normal shape everywhere except where DevOps has wired one, and the frontend must simply skip loading the widget in that case rather than treat it as an error.
Response Body
application/json
curl -X GET "https://example.com/api/v2/intercom/token"{ "enabled": true, "appId": "string", "token": "string", "userId": "b2translate-42", "email": "string", "name": "string", "createdAt": 0}Empty