Skip to main content
Version: API v1

Registriert einen neuen Webhook

POST/webhooks/
v1
POST
createWebhook

Registriert einen neuen Webhook für einen bestimmten Login

Request

Responses

application/json

Der erstellte Webhook

  • uidstring
  • urlstring (uri)
    required
  • methodstring (one of: GET, POST, PUT, DELETE, PATCH)
    required
  • eventType"DOMAIN_REGISTRATION_STATUS"
    required
  • headersobject
    • parametersobject
      • keystring
      • valuestring

    Usage examples

    $ curl \
    --fail \
    --location \
    -X POST \
    -d '{"uid":"string","url":"string","method":"GET","eventType":"DOMAIN_REGISTRATION_STATUS","headers":{},"parameters":{"key":"string","value":"string"}}' \
    -H "Authorization: Bearer $MITTWALD_API_TOKEN" \
    -H 'Content-Type: application/json' \
    https://api.mittwald.de/v1/webhooks