members.dev
Organizations

List Organizations

Lists Organizations

GET
/v1/organizations

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Query Parameters

page?integer

Page number

Default1
Range1 <= value
size?integer

Page size

Default50
Range1 <= value <= 100

Response Body

application/json

application/json

curl -X GET "https://api.members.dev/v1/organizations"
{
  "items": [
    {
      "id": "org_01KKSMB47VYGW97GFE67VGDK7M",
      "short_id": "XF42",
      "name": "Acme Corp",
      "description": "Main customer account",
      "is_default": true,
      "invoice_prefix": "INV",
      "currency": "USD",
      "timezone": "Etc/UTC",
      "locale": "en-US",
      "invoice_next_number": 1,
      "credit_note_prefix": "CN",
      "credit_note_next_number": 1,
      "created_at": null,
      "updated_at": null,
      "slug": "acme-corp",
      "portal": {
        "theme": {
          "color": "#155dfc",
          "color_scheme": "dark",
          "color_intensity": "low"
        },
        "can_create_members": true,
        "can_edit_members": true
      }
    }
  ],
  "total": 0,
  "page": 1,
  "size": 1,
  "pages": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}