Get who may answer the project's approval requests
The approver list is read as Asks are, with `permissions:read`.
GET/v1/approvers
The approver list is read as Asks are, with permissions:read. caller_may_answer says whether the caller is on it.
A key with the permissions:read scope.
Request
curl "https://api.pod.mapier.ai/v1/approvers?project=example" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
project | query | string | Yes | The project the call is about. Every route is scoped to one. |
Pod-Organisation | header | string | No | The organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden. |
Answer
200. The approver list.
{
"project": "example",
"accounts": ["example"],
"caller_may_answer": false,
"updated_at": null,
"updated_by": null
}| Field | Type | Always | What it is |
|---|---|---|---|
project | string | Yes | |
accounts | string[] | Yes | |
caller_may_answer | boolean | Yes | Whether the caller is on the list. |
updated_at | string | null | Yes | |
updated_by | string | null | Yes |
Errors
The refusals this call is known for: unauthorized, forbidden. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.