Skip to main content

Obtain a service token

POST /v2/services/{accessKeyId}/actions/authenticate/
v2
POST
servicetoken-authenticate-service

Request

  • accessKeyIdstring
    required

Responses

application/json

Authentication has been successful.

  • accessTokenobject
    required
    • idstring
      required
    • jwtClaimsobject
      required
      • expstring
        required
      • iatstring
        required
      • issstring
        required
      • substring
        required
    • publicTokenstring
      required

Usage examples

$ curl \
--fail \
--location \
-X POST \
-d '{"secretAccessKey":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/services/string/actions/authenticate