AccoilAccoil Developer Docs

Identify (v1)

Legacy endpoint for user identification.

This is the legacy v1 endpoint. We recommend using POST /v2/identify for new integrations.

The v1 identify endpoint requires the API key in the request body as api_key rather than in the Authorization header.

POST
/v1/users

Request Body

application/json

User identification payload

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://in.accoil.com/v1/users" \  -H "Content-Type: application/json" \  -d '{    "api_key": "f6ed0379283b149a2fd87a069d2b0d623c601272",    "timestamp": 1500000000000,    "user_id": "user_12345"  }'
Empty
Empty
Empty