Skip to main content

Authenticate your external application using the extensionInstanceSecret

POST/extension-instances/{extensionInstanceId}/tokens/
v2
POST
extension-authenticate-instance

Request

  • extensionInstanceIdstring (uuid)
    required

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 '{"extensionInstanceSecret":"string"}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/extension-instances/f0f86186-0a5a-45b2-aa33-502777496347/tokens