POST /v1/identify — Identify a User
Create or update a user profile and attach traits to it. If theuser_id already exists, Cano Analytics merges the new traits with the existing profile. This endpoint requires the write scope.
Body parameters
string
required
Your application’s unique identifier for this user. Cano Analytics uses this as the canonical user key.
object
A key-value object of user attributes. Common fields include
name, email, plan, company, and created_at, but you can include any custom trait.string
ISO 8601 timestamp indicating when the identification occurred. Defaults to server time if omitted.
Request example
POST /v1/identify
Response — 200 OK
200 OK
GET /v1/users — List Users
Retrieve a paginated list of all user profiles in your workspace. This endpoint requires the read scope.Query parameters
integer
Number of users to return per page. Defaults to
100. Maximum is 1000.string
Opaque pagination cursor from the previous response’s
next_cursor field.string
Filter users by a specific trait value. For example,
?trait[plan]=pro returns only users whose plan trait equals "pro". You can combine multiple trait filters in one request.Request example
cURL
Response — 200 OK
200 OK
array
An array of user profile objects matching your query.
string
Opaque cursor for the next page.
null when no more pages exist.boolean
true if additional pages of results are available.GET /v1/users/ — Get a User
Retrieve the full profile for a single user by their ID. This endpoint requires the read scope.Path parameters
string
required
The unique identifier of the user to retrieve.
Response fields
string
The user’s unique identifier.
object
All traits associated with this user, merged from every
identify call.string
ISO 8601 timestamp of when the user was first identified in Cano Analytics.
string
ISO 8601 timestamp of the most recent event attributed to this user.
integer
Total number of events recorded for this user.
Request example
cURL
Response — 200 OK
200 OK
DELETE /v1/users/ — Delete a User
Permanently delete a user profile and all events associated with that user. Use this endpoint to fulfill GDPR right-to-erasure requests. This endpoint requires the admin scope.Path parameters
string
required
The unique identifier of the user to permanently delete.
Request example
cURL
Response — 204 No Content
A successful deletion returns HTTP204 with no response body.