Skip to main content
POST
Identify a user
For a walkthrough check out this guide
string
required
Header for authenticating with Laudspeaker. Starts with Api-Key followed by the API key, for example Api-Key M4jxXt6diYz1Dds1YmhHe93KGPAUi24PlXgaiRXi.
Event[]
required
This field contains the array of events.
An identify event looks like:
An identify event is a special case of our regular event. It contains an event field equal to $identify, and a payload object with a distinct_id which is equal to the primary key of your user. The correlationValue should also be a uuid that you keep consistent in your backend in subsequent calls to the same user. As a reminder the primary key of your user is defined in your user schema: search If you are using one of our sdks, you can simply use the Laudspeaker.identify() call. If you are accessing our endpoint directly for example from your backend you will need to match the event structure described above.

Idenfitying and triggering a journey:

If you want to trigger a message to a specific user that you have previously created in laudspeaker with an event, and are not using our sdk. You will want to send events to our batch endpoint. It will consist of two events in the batch - an identify call, follwed by a regular event like below:
Remember the correlationValue should also be a uuid that you keep consistent in your backend in subsequent calls to the same user.