Skip to main content
POST
Submit an approval

Authorizations

Authorization
string
header
required

Pass your ego access token as a bearer token: Authorization: Bearer <token>. The token carries the scopes granted on the consent screen.

Body

application/json
question
string
required

The decision the owner must make.

Example:

"Ship the 2.0 release?"

options
object[]
required

The options the owner can choose from.

backgroundContext
string

Optional context to help the owner decide.

recommendation
string

Optional recommended option or course of action.

Response

The approval was created.

id
string
required

Identifier of the created approval.

Example:

"k1722abcd"