identify

You can use identify from the server to pass in traits for known users. These traits will only be tied to a browsing history when that user has been previously identified in the browser using the JS API.

❗️

JSON expected

All Attribution server-side endpoints expect data in JSON format.

A note on Auth headers

Attribution app uses a HTTP Auth for all server-side functions.

Your HTTPS request header should have a blank password and the username must be your "Project ID" from Attribution app settings

Body Params
string
required
Defaults to identify

Type of event, must be always set to identify.

string
Defaults to test123

Unique identifier for the user in your database. anonymousId and/or userId must be present.

string

Attribution snippet generated cookie id, anonymousId and/or userId must be present. For more info see identify doc.

traits
object
required

Customizable key-value hash that identify your user, email and name will help you find your users in dashboard.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json