Skip to navigation

Get native approval policy

View as Markdown

Returns one native approval policy by its id.

Authentication

AuthorizationBearer

JWT bearer token authentication. Include the Configuration API key in the Authorization header as ‘Bearer <token>’.

Path parameters

idstringRequired

The id of the native approval policy, as returned when it was created or listed.

Response

The native approval policy
idstringOptionalRead-only
Unique identifier of the workflow, assigned by the server.
namestringOptionalformat: "^[A-Z0-9a-z_-]+$"1-100 characters
Name of the workflow, used by other configurations to reference it. Must be unique in the org and cannot be changed after creation. Letters, numbers, underscores, and hyphens only.
expressionobjectOptional
The approval decision tree for this workflow.
updated_timedatetimeOptionalRead-only
When the configuration was last updated.
updated_bystringOptionalRead-only
Who last updated the configuration.
versionobjectOptional
Document version. On update, send back the num from your last read.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error