We expose some parts of Approval Path functionality by API.
You have to generate an API key in our app.
It is available in the Approval Path global view:
Click “Apps” on the top menu,
Click Approval Path,
Go to the API Keys tab,
Click “Create a new API Key”.
Then add the Authorization header to your HTTP request:
Authorization: Bearer mc96LyRi9nUQySSjKXEf8xfqUZzjS2CYhRK8bWSRRfQi
ref-id
- In the case of Approval Path for Confluence, this is page id.
List approvals
GET /approvals/{ref-id}
Return example:
|
Create or get approval
POST /approvals/{ref-id}
|