Skip to content
Connect an agent
Organisations

List an organisation's custom icons

The organisation's own icons, each with its org: reference, aliases, and checked picture, with whether the hosted service draws them (the owner's plan includes custom icons), whether the caller may change them, the plan, and its limit.

GET/orgs/{org}/icons

TL;DR

QuestionAnswer
What does it do?List an organisation's custom icons.
What does it take?org in the path.
What does it return?Status 200 with a body of type OrgIcons.
What can go wrong?401 not signed in, or the key is not valid; 404 no such organisation, the caller is not a member of it, or the key is another organisation's; 429 too many requests; 503 organisations are not set up on this server. Every failure uses the one error envelope.

What it does

The organisation's own icons, each with its org: reference, aliases, and checked picture, with whether the hosted service draws them (the owner's plan includes custom icons), whether the caller may change them, the plan, and its limit. Every member may read them, and so may a key of the organisation.

Path parameters

FieldTypeRequiredDescription
orgstringyesThe organisation's id or its slug.

Responses

StatusMeaningBody
200The icons.OrgIcons
401Not signed in, or the key is not valid.ErrorResponse
404No such organisation, the caller is not a member of it, or the key is another organisation's.ErrorResponse
429Too many requests.ErrorResponse
503Organisations are not set up on this server.ErrorResponse

Response body

A 200 answer has the type OrgIcons.

FieldTypeRequiredDescription
iconsOrgIcon[]yes
icons[].namestringyes
icons[].refstringyesWhat a diagram writes to use it.
icons[].aliasesstring[]yes
icons[].mediaType"image/svg+xml" | "image/png"yes
icons[].imagestringyesThe checked picture as a data: address, for a preview.
icons[].widthnumberyes
icons[].heightnumberyes
icons[].bytesintegeryes
icons[].updatedAtintegeryesMilliseconds since the epoch.
activebooleanyesTrue when the owner's plan includes custom icons, so the hosted service draws them.
canEditbooleanyesTrue when the caller's role may upload, replace and delete icons.
plan"free" | "pro" | "enterprise"yes
limitintegeryesHow many icons the plan lets the organisation keep.

See also

DocWhy
API referenceEvery endpoint, and the error envelope
SchemasEvery request and response type
Tool referenceThe operations as callable tools