Create Thryve user
When you integrate Thryve with your web application, you will need to first create a Thryve user. All data connections and data stored at Thryve are always linked to a Thryve user. Unlike mobile apps using the Thryve SDK, where user management is handled automatically, web applications need to manually create a new user or retrieve an existing one using the accessToken interface.
We recommend setting an alias for the Thryve user. We call this the partnerUserID. (or endUserAlias ). Please ensure that the alias is an unguessable string generated, e.g., through a hash function. We suggest at least 32 digits, which may contain both digits, characters, and a dash „-„, as a special character. A partnerUserID can have a maximum length of 80 characters.
Retrieve an accessToken for a Thryve user. Automatically creates a user if partnerUserID is empty or no existing user with specified partnerUserID exists.
Basic Auth for your username:password. Required for all endpoints
Basic dXNlcm5hbWU6cGFzc3dvcmQ=Basic Auth for your authID:authSecret. Required for all endpoints.
Basic YXV0aElEOmF1dGhTZWNyZXQ=Set this optional parameter to add your an alias to a Thryve user. If no alias is set, it is not possible to retrieve an accessToken/authenticationToken for an existing user. Newer interfaces call this parameter endUserAlias.
FVMW6fp9wnUxKnfekrQduZ96Xt6gemVkRequest successful. Returns the accessToken of a user.
de3d1e068537dd927b48988cb6969abeError response (invalid parameters, unauthorized, etc.).
POST /v5/accessToken HTTP/1.1
Host: api.thryve.de
Authorization: text
AppAuthorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 52
"partnerUserID='FVMW6fp9wnUxKnfekrQduZ96Xt6gemVk'"de3d1e068537dd927b48988cb6969abeLast updated

