Skip to main content
POST
Notify a flow's approvers that a crew run waits on them

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

A crew handling one email or file asked a person to decide.

flow_name
string
required

The flow's name.

Pattern: ^[A-Za-z0-9 _.-]{1,80}$
item_id
string
required

The item's id in the flow_item table.

Pattern: ^[0-9a-f]{32}$
item_type
string
required

What the source calls the item the crew looked at, e.g. email or file.

Pattern: ^[a-z][a-z _-]{0,31}$
crew_correlation_id
string
required

The crew run that asked for approval.

Required string length: 1 - 64
run_as
string
required

Keycloak username the flow and its crew run as.

Pattern: ^[A-Za-z0-9_.@-]{1,256}$
users
string[]

Keycloak usernames to notify.

Maximum array length: 20
roles
string[]

Platform roles (nx1_ only) whose members are notified.

Maximum array length: 5

Response

Successful Response

Whether a notification was stored (false when it was a duplicate or had no one to tell).

notified
boolean
required