Skip to main content

Set Trigger Actions

POST 

/flows/:flowType/trigger/:triggerType

Set Trigger Actions

Request​

Path Parameters

    flowType stringrequired

    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
    triggerType stringrequired

    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

Header Parameters

    x-zitadel-orgid string

    The default is always the organization of the requesting user. If you like to get users of another organization include the header. Make sure the user has permission to access the requested data.

Body

required

    actionIds string[]

Responses​

A successful response.

Schema

    details

    object

    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    creationDate date-time

    on read: the timestamp of the first event of the object

    on create: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the

    resourceOwner resource_owner is the organization an object belongs to (string)
Loading...