Skip to main content
GET
/
api
/
v1
/
me
/
organizations
List user organizations
const options = {method: 'GET'};

fetch('http://localhost:8000/api/v1/me/organizations', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "success": true,
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "role": "owner",
      "joinedAt": "<string>",
      "logo": "<string>"
    }
  ],
  "meta": {
    "requestId": "<string>",
    "timestamp": "<string>"
  }
}

Response

List of organizations

success
enum<boolean>
required
Available options:
true
data
object[]
required
meta
object
required