Skip to content

Results are limited to the current section: Cloud services

Product news

Get a list of organisations

GET
/api/v1/organisations
curl --request GET \
--url 'https://example.com/api/v1/organisations?limit=1&offset=1&order_by=name&order_by_direction=ASC&id=example&name=example' \
--header 'Authorization: Bearer <token>'

Fetch all the organisations a user manages. If the user is a superuser, that’s all the organisations. The list can be filtered by id prefix and by name substring.

pagination
required
object
limit
required
number format: int64
offset
required
number format: int64
order_by
required
string
Allowed values: name created_at updated_at
order_by_direction
required
string
Allowed values: ASC DESC
filters
required
object
id
string
name
string

On success

Media typeapplication/json
object
code
required
number format: int32
data
required
Array<object>
object
allowed_device_types
required
Array<string>
created_at
required
string format: date-time
id
required
Array<number>
name
required
string
queue_priority
required
string
updated_at
required
string format: date-time
message
required
string
pagination
required
object
total
required
number format: int64
status
required
string
Example
{
"code": "200",
"data": [
{
"id": "f81d4fae-7dec-11d0-a765-00a0c91e6bf6"
}
],
"message": "success",
"status": "OK"
}