Source: https://datafa.st/docs/api/website/identity
Markdown source: https://datafa.st/docs/api/website/identity.md
Description: Link anonymous DataFast visitors to your product users from your backend.

# Identity API

Use the Identity API to connect anonymous DataFast visitors to known users in your product.

This is useful for CRM enrichment, support tools, funnel analysis, and AI agents that need to understand which product users match website visitors.

| Endpoint | Method | Path | Purpose |
|---|---|---|---|
| [Identify users](/docs/api/website/identity/identify) | POST | `/api/v1/identify` | Link a DataFast visitor ID to your user ID and custom profile metadata |

## Identify users

`POST https://datafa.st/api/v1/identify`

Send this endpoint from your backend after login, signup, or another event where you know the user behind a DataFast visitor.

## Authentication

- `df_` website API key for one website. No `websiteId` query parameter required.
- `dft_` account token with `identify:write`. Pass `websiteId` as a query parameter.

See [authentication and scopes](/docs/api/authentication).
