approvals

Get approval request by id

get/approvals/{approvalRequestId}

Request

  • Base URL
    https://api.smartrecruiters.com/approvals-api/v201910
  • URL
    https://api.smartrecruiters.com/approvals-api/v201910/approvals/{approvalRequestId}
  • Auth
    • API key in header x-smarttoken
    • or OAuth 2
      Authorization code: https://www.smartrecruiters.com/identity/oauth/allow
      Token URL: https://api.smartrecruiters.com/identity/oauth/token scopes: approvals_read

Path parameters

approvalRequestIdstring required

Approval request identifier

Response

Found approval request

idstring

Approval request id

type'sequential' | 'parallel'
decisionMode'any' | 'all'
status'PENDING' | 'APPROVED' | 'REJECTED' | 'ABANDONED'

Status of approval request

Example response

{
  "status": "APPROVED",
  "steps": [
    {
      "status": "APPROVED",
      "approvers": [
        {
          "decision": "APPROVED"
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.