Retrieve your cooperative
/api/v1/cooperativeThe cooperative the key belongs to, whether it is live or test mode, and the key's own name and scopes. A quick way to check a key works.
curl "https://www.coopie.io/api/v1/cooperative" \
-H "Authorization: Bearer $COOPIE_API_KEY"{
"object": "cooperative",
"id": "9b2d4f6a-8c0e-4a1b-9c3d-5e7f9a1b3c5d",
"name": "Lagos Health Workers Cooperative",
"slug": "lagos-health",
"email": "[email protected]",
"currency": "NGN",
"livemode": false,
"createdAt": "2025-11-02T10:00:00.000Z",
"apiKey": {
"id": "1f2e3d4c-5b6a-4987-8a9b-0c1d2e3f4a5b",
"name": "Payroll sync",
"scopes": [
"read",
"write"
]
}
}