GET /api/v1/sales-availability/eligible-closers
List eligible sales closers using the current permissions of the key holder. The school comes from the verified key. MCP equivalent: list_eligible_sales_closers.
| Role in the organization | This endpoint |
|---|---|
| OWNER | Allowed |
| ADMIN | Allowed |
| MEMBER | Head of Sales only — otherwise 403 |
Only an owner, an administrator or a Head of Sales in this school can perform this operation; setter and closer roles do not grant it. A Head of Sales member creates no API key: they reach this operation through an MCP OAuth connection. The response carries names and user ids only — never hours, calendars or contact details.
| Requirement | Rule |
|---|---|
| Business role | Head of Sales, for a member |
| Resource scope | Current school and the permitted resource scope |
| Participation | None |
| Resource state | No additional state restriction |
curl -X GET "$COHORTE_API_BASE_URL/api/v1/sales-availability/eligible-closers" \
-H "x-api-key: $COHORTE_API_KEY"| Field | Type | Nullable | Description |
|---|---|---|---|
success | boolean | no | True on success. |
data | array | no | Requested domain data within your permitted scope. |
{
"success": true,
"data": [
{
"userId": "00000000-0000-4000-8000-000000000001",
"name": "Sam"
}
]
}