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

NameInTypeRequiredWhat it is
projectquerystringYesThe project the call is about. Every route is scoped to one.
Pod-OrganisationheaderstringNoThe 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.

200
{
  "project": "example",
  "accounts": ["example"],
  "caller_may_answer": false,
  "updated_at": null,
  "updated_by": null
}
FieldTypeAlwaysWhat it is
projectstringYes
accountsstring[]Yes
caller_may_answerbooleanYesWhether the caller is on the list.
updated_atstring | nullYes
updated_bystring | nullYes

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.