V2

Retrieve a User

Endpoint that allows the retrieval of a visitor based on a known User ID. This endpoint can only recover visitors with user IDs, so please ensure your Sprig implementation has user tracking configured correctly based on your SDK installation: /docs/Installation/introduction-web/index This endpoint will retrieve visitor info, a list of attributes tied to the visitor, and a list of events with relevant filter criteria.

get/v2/users/{userId}

Request

  • Base URL
    https://api.sprig.com
  • URL
    https://api.sprig.com/v2/users/{userId}
  • Auth
    none declared. Required headers: Authorization

Headers

Authorizationstring required

API-Key YOUR_API_KEY

Response

OK

attributesobject
createdAtnumber
externalUserIdstring nullable
idstring

Changes

No recorded changes to this operation across all 2 revisions of this API.