Identify API
Called by linkUser() internally. Links a device to a real user identity on the backend.
POST /api/tracker/identify/
bash
curl -X POST https://www.nohmo.in/api/tracker/identify/ \-H "Content-Type: application/json" \-d '{"projectId": "proj_xxxx","apiKey": "pk_xxxx","deviceId": "a1b2c3d4...","userId": "user_123","userEmail": "alice@example.com","meta": { "plan": "pro" }}'
| Field | Required | Description |
|---|---|---|
| projectId | ✓ | Your project ID |
| apiKey | ✓ | Your API key |
| deviceId | ✓ | The device to link |
| userId | ✓ | Your internal user ID |
| userEmail | — | User email — shown in the dashboard and live feed |
| meta | — | Any extra JSON metadata to store on the device |
Note: If the same userId has been seen on another device before, Nohmo merges the user email and metadata onto this device automatically.