Zum Hauptinhalt springen

Create an access token retrieval key for an extension instance

POST/extension-instances/{extensionInstanceId}/actions/create-access-token-retrieval-key/
v2
POST
extension-create-retrieval-key

Request

  • extensionInstanceIdstring (uuid)
    required

Responses

application/json

An access token retrieval key. This key can be used to retrieve a scoped access token from an external application.

  • accessTokenRetrievalKeystring
    required
  • userIdstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-X POST \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/extension-instances/f0f86186-0a5a-45b2-aa33-502777496347/actions/create-access-token-retrieval-key