Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Organization Objects

SetTriggerActions

POST
/management/v1/flows/{flow_type}/trigger/{trigger_type}

Path Parameters

flow_type*flow_type

id of the flow type. Following flows are currently allowed:

  • External Authentication: FLOW_TYPE_EXTERNAL_AUTHENTICATION or 1
  • Internal Authentication: 3
  • Complement Token: 2
  • Complement SAML Response: 4
trigger_type*trigger_type

id of the trigger type. Following triggers are currently allowed:

  • External Authentication:
    • Post Authentication: TRIGGER_TYPE_POST_AUTHENTICATION or 1
    • Pre Creation: TRIGGER_TYPE_PRE_CREATION or 2
    • Post Creation: TRIGGER_TYPE_POST_CREATION or 3
  • Internal Authentication:
    • Post Authentication: TRIGGER_TYPE_POST_AUTHENTICATION or 1
    • Pre Creation: TRIGGER_TYPE_PRE_CREATION or 2
    • Post Creation: TRIGGER_TYPE_POST_CREATION or 3
  • Complement Token:
    • Pre Userinfo Creation: 4
    • Pre Access Token Creation: 5
  • Complement SAML Response:
    • Pre SAML Response Creation: 6

Request Body

application/json
  1. body
actionIds?array<string>

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/management/v1/flows/string/trigger/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?