Skip to content

List groups

GET
/groups
curl --request GET \
--url https://localhost:3000/api/v1/groups \
--header 'Authorization: <Authorization>'

Returns all groups for the authenticated account with trigger and event counts. owner=all returns the personal groups and those of every organization the account is a member of (an API key needs tenant:read on it), with owner_name naming the organization.

owner
string

Scope the list to an owner workspace: ‘personal’, ‘tenant:’ or ‘all’

List of groups

Media typeapplication/json
Array<object>
object
color
required
string
created_at
required
string format: date-time
icon
required
string
id
required
string format: uuid
name
required
string
owner_id
required
string format: uuid
owner_name

Organization name, only set by owner=all

string
owner_type
required
string
total_events
required
integer
trigger_count
required
integer
updated_at
required
string format: date-time

Example

[
{
"owner_name": "Acme"
}
]

Invalid owner filter

Media typeapplication/json
object
error
required
string
message
string

Example

{
"error": "invalid_request",
"message": "Invalid request body"
}

Unauthorized

Media typeapplication/json
object
error
required
string
message
string

Example

{
"error": "invalid_request",
"message": "Invalid request body"
}

Not a member of this tenant

Media typeapplication/json
object
error
required
string
message
string

Example

{
"error": "invalid_request",
"message": "Invalid request body"
}

Internal error

Media typeapplication/json
object
error
required
string
message
string

Example

{
"error": "invalid_request",
"message": "Invalid request body"
}