Hooks

Test the specified hook with the given events and config.

post/api/hooks/{id}/test

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/hooks/{id}/test
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

idstring required

The unique identifier of the hook.

Request body

eventsstring[] required

An array of hook events for testing.

eventunknown

Response

The hook test was successful.

Changes

    • info

      added the new TrustedDevice.Created enum value to the request property /

    • info

      added the new TrustedDevice.Deleted enum value to the request property /