Logo PopinaPopina API

List of authenticated user organizations

Get authenticated user organizations.

GET/v1/popina-go/organizations

Query Parameters

withLocations?boolean

If true, includes each organization's locations in the returned results.

Defaultfalse

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:4004/v1/popina-go/organizations"
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "string",
    "locations": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string"
      }
    ]
  }
]
"invalid token"
"Forbidden"
{
  "error": "string"
}