Skip to main content

Authenticate an user with an access token retrieval key

POST /v2/authenticate-token-retrieval-key/
v2
POST
user-authenticate-with-access-token-retrieval-key

Request

Responses

application/json

Your authentication request was successful and you've got an access token.

  • expiresAtstring (date-time)
    required

    The expiration date of the token.

  • refreshTokenstring
    required

    Refresh token to refresh your access token even after it has expired.

  • tokenstring
    required

    Public token to identify yourself against the public api.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"accessTokenRetrievalKey":"string","userId":"f0f86186-0a5a-45b2-aa33-502777496347"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/authenticate-token-retrieval-key