v1

latestOpenAPI 3.1.02026-07-226130.1 KB
V2

Upsert a User

Endpoint facilitating the programatic upsertion of a user. Users must be upserted 1 at a time. Events created for this user are for historical tracking purposes. Any event tied to a user through this endpoint will not trigger a study through Sprig's SDK. Attributes and attribute values can be created and tied to a user through this endpoint.

post/v2/users

Headers

Authorizationstring required

API-Key YOUR_API_KEY

Request body

emailAddressstring

Valid Email to track visitor by

userIdstring required

Existing or desired id for visitor

Response

Accepted