Skip to main content
GET
/
api
/
organizations
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

accountId
string<uuid>
required

The unique identifier of the account

Response

Organizations retrieved successfully

status
enum<string>
required

Status of the request

Available options:
success
organizations
object[]
required

List of organizations the account belongs to