Groups

List groups

List all groups for your organization.

get/v1/groups

Request

  • Base URL: https://api.scrip.dev
  • URL: https://api.scrip.dev/v1/groups
  • Auth: HTTP bearer

Query parameters

limitinteger

Return at most this many records, from 1 to 200, default 50.

cursorstring

The next_cursor from the previous response, valid only with the same endpoint and filters.

include_archivedboolean

Include archived groups

searchstring

Search by group name (partial match)

sort_by'created_at' | 'name'

Sort field

sort_dir'asc' | 'desc'

Sort direction

created_afterstring date-time

Return only records created after this time, RFC 3339.

created_beforestring date-time

Return only records created before this time, RFC 3339.

Response

List of groups

Example response

{
  "data": [
    {
      "created_at": "2027-01-15T10:30:00Z",
      "deleted_at": "2027-01-15T10:30:00Z",
      "id": "0b9e7d3c-5a41-4f68-a2c7-81e4d6b3f907",
      "name": "Sales Team",
      "status": "ACTIVE",
      "updated_at": "2027-01-15T10:30:00Z"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "YWJjMTIz"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.