Users
Create User
POST
This endpoint creates a user, but it also facilitates signing an existing platform user up with the client brand in scenarios where the SSO flow wouldn’t be appropriate (i.e., the user is not signing in to an authenticated experience). If a user with the specified email already exists, it signs the user up with the client brand before returning a 400 level error. This endpoint also returns authorization information for a successfully created user, including an access_token that can be used to access other API endpoints. Experiences utilizing this endpoint must adhere to the legal requirements for user creation.Documentation Index
Fetch the complete documentation index at: https://docs.thanx.com/llms.txt
Use this file to discover all available pages before exploring further.
Please review proper request headers here.
Body
The user’s email
The user’s phone number in E.164 format,
with the country code prefix (e.g.
+14157582345). Phones submitted
without the country code prefix are stored as-is — this endpoint does
not normalize them — and will fail later phone-based lookups (such as
Partner Auth Token) that depend on E.164 parsing.The user’s first name
The user’s last name
The user’s birthday information
The user’s zip code
The Program ID to associate with this user signup. This is used to track which signup program the user enrolled through. The program must be active and belong to the merchant. If the program is invalid, it will be silently ignored without preventing user creation. Only applied to new users; existing users will not have their signup_program_id updated.
This endpoint permits minimal requests that only contain an
email parameter
for the purposes of signing up an existing platform user with the client
brand. If the email belongs to an existing user, it signs the user up with the
brand before returning a 400 level error.Response
The newly created user
The authorization type of the created user