Sayr
ReferenceOrganization

List organization categories

GET
/organization/{org_slug}/categories

Retrieve all public categories associated with an organization.

Path Parameters

org_slug*string

Query Parameters

order?string

Specifies the sort order by creation date. Use asc for ascending or desc for descending.

Default"desc"

Value in

  • "asc"
  • "desc"

Response Body

application/json

application/json

curl -X GET "https://example.com/organization/string/categories"
{  "success": true,  "data": [    {      "id": "string",      "organizationId": "string",      "name": "string",      "color": "string",      "icon": "string",      "createdAt": "string"    }  ]}