Skip to main content

Authenticate your external application using a session token and an extension secret

POST/authenticate-session-token/
v2
POST
extension-authenticate-with-session-token

Request

Responses

application/json

You received a public token with a short expiry. You can now perform domain actions.

  • expirystring (date-time)
    required
  • publicTokenstring
    required

    Set this in the 'x-access-token' header when performing domain actions.

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"extensionSecret":"string","sessionToken":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/authenticate-session-token