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

Successful Response

idstringformat: "uuid"
created_atdatetime
updated_atdatetime
approved_bylist of strings
created_bystringformat: "uuid"

ID of the user who created the approval request

object_idstringformat: "uuid"
object_typeenum
required_approval_countinteger>=1
role_idslist of strings
statusenum
Allowed values: waitingapprovedrejectedcanceled
user_idslist of strings
rejected_bystringOptionalformat: "uuid"

Errors