Create or get user
Retrieve an accessToken for a Thryve user. Automatically creates a user if partnerUserID is empty or no existing user with specified partnerUserID exists.
Header parameters
AuthorizationstringRequiredExample:
Basic Auth for your username:password. Required for all endpoints
Basic dXNlcm5hbWU6cGFzc3dvcmQ=AppAuthorizationstringRequiredExample:
Basic Auth for your authID:authSecret. Required for all endpoints.
Basic YXV0aElEOmF1dGhTZWNyZXQ=Body
partnerUserIDstringOptionalExample:
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.
FVMW6fp9wnUxKnfekrQduZ96Xt6gemVkResponses
200
Request successful. Returns the accessToken of a user.
text/plain
stringOptionalExample:
de3d1e068537dd927b48988cb6969abe400
Error response (invalid parameters, unauthorized, etc.).
application/json
post/v5/accessToken
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

