Skip to main content
GET
Get 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.

Path Parameters

id
string
required

Identifier of the approval.

Response

The approval.

_id
string
required

Identifier of the approval.

Example:

"k1722abcd"

_creationTime
number
required

Creation timestamp, in epoch milliseconds.

clientId
string
required

The app that submitted the approval.

question
string
required
Example:

"Ship the 2.0 release?"

options
object[]
required
status
enum<string>
required
Available options:
pending,
resolved
backgroundContext
string
recommendation
string
resolution
object

The resolution recorded on a resolved approval. resolvedBy is the role that resolved it, never an identity.