Create an approval request

POST
/approval_requests

Headers

Auth
AuthorizationstringRequired
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-versionstringRequired
x-monite-entity-idstringRequired

The ID of the entity that owns the requested resource.

Request

This endpoint expects an object.
Approval Request Create by Role Requestobject
OR
Approval Request Create by User Requestobject

Response

This endpoint returns an object.
idstring
created_atdatetime
updated_atdatetime
approved_bylist of strings
created_bystring

ID of the user who created the approval request

object_idstring
object_typeenum
required_approval_countinteger
role_idslist of strings
statusenum
Allowed values: waitingapprovedrejectedcanceled
user_idslist of strings
rejected_bystringOptional

Errors