Retrieves the user identified by the user_id path parameter.
Security
auth_token and api-key
- Weavr Sandbox Environmenthttps://sandbox.weavr.io/multi/users/{user_id}
- Mock serverhttps://api.weavr.io/_mock/products/multi/openapi/users/{user_id}
curl -i -X GET \
'https://sandbox.weavr.io/multi/users/{user_id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'api-key: YOUR_API_KEY_HERE'Success
The state of the user. If the active attribute is false, then the user will not be able to log in.
The tag field is a custom field that can be used to search and filter.
BCP47 locale code (e.g. en, en-US). The locale determines which email and SMS user notification templates are used.
Example:"en-GB"
Brand identifier used to determine the set of email and SMS user notification templates. Must be alphanumeric, up to 25 characters, and contain no spaces.
Response
{ "id": "string", "identity": { "type": "CONSUMER", "id": "string" }, "name": "string", "surname": "string", "email": "user@example.com", "mobile": { "countryCode": "stri", "number": "string" }, "active": true, "dateOfBirth": { "year": 1900, "month": 1, "day": 1 }, "tag": "string", "countryOfResidence": "st", "locale": "en-GB", "brand": "string", "roles": [ "CARD_ASSIGNEE" ] }