cURL
curl --request GET \ --url https://recoup-api.vercel.app/api/organizations \ --header 'Authorization: Bearer <token>'
{ "status": "success", "organizations": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "organization_name": "<string>", "organization_image": "<string>" } ] }
Retrieve all organizations that an account belongs to. Used for organization selector dropdowns and access control.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the account
Organizations retrieved successfully
Status of the request
success
List of organizations the account belongs to
Show child attributes