收集

发送跟踪数据

POST/api/send

收集页面浏览、自定义事件、访客识别或性能负载;接受后返回会话信息和跟踪缓存令牌。

Request body

NameTypeDescription
payloadrequiredobject
typerequiredenum<string>
Options: event, identify, performance
Example request

Responses

200The operation completed successfully.
NameTypeDescription
anyOfanyOf
200 example
400Bad request.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
400 example
403Forbidden.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
403 example
500Server error.
NameTypeDescription
errorrequiredobjectError details returned when the operation fails.
500 example

Code samples

cURL