Organizations

GET /api/v1/organizations

Get Organizations

getOrganizations returns all organizations the user is a member of

Response

Type: []Organization

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
slugstringURL-friendly identifier
settingsdatatypes.JSONSSO config, billing, defaults
planstring“free”, “pro”, “enterprise”
has_logobool
logostring
disabledbool
member_countint64Computed (not stored in DB)
project_countint64
members[]OrgMemberRelationships (not loaded by default) (optional)
teams[]Team(optional)

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/organizations

POST /api/v1/organizations

Create Organization

postOrganization creates a new organization

Request Body

Type: CreateOrganizationRequest

FieldTypeDescription
namestring
slugstring
descriptionstring

Response

Type: Organization

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
slugstringURL-friendly identifier
settingsdatatypes.JSONSSO config, billing, defaults
planstring“free”, “pro”, “enterprise”
has_logobool
logostring
disabledbool
member_countint64Computed (not stored in DB)
project_countint64
members[]OrgMemberRelationships (not loaded by default) (optional)
teams[]Team(optional)

Example

curl -X POST \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{}' \
  https://api.seeme.ai/api/v1/organizations

GET /api/v1/organizations/{id}

Get Organization

getOrganization returns a specific organization

Parameters

NameInTypeRequired
idpathstringtrue

Response

Type: Organization

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
slugstringURL-friendly identifier
settingsdatatypes.JSONSSO config, billing, defaults
planstring“free”, “pro”, “enterprise”
has_logobool
logostring
disabledbool
member_countint64Computed (not stored in DB)
project_countint64
members[]OrgMemberRelationships (not loaded by default) (optional)
teams[]Team(optional)

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/organizations/{id}

PUT /api/v1/organizations/{id}

Update Organization

putOrganization updates an organization

Parameters

NameInTypeRequired
idpathstringtrue

Request Body

Type: Organization

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
slugstringURL-friendly identifier
settingsdatatypes.JSONSSO config, billing, defaults
planstring“free”, “pro”, “enterprise”
has_logobool
logostring
disabledbool
member_countint64Computed (not stored in DB)
project_countint64
members[]OrgMemberRelationships (not loaded by default) (optional)
teams[]Team(optional)

Response

Type: Organization

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
slugstringURL-friendly identifier
settingsdatatypes.JSONSSO config, billing, defaults
planstring“free”, “pro”, “enterprise”
has_logobool
logostring
disabledbool
member_countint64Computed (not stored in DB)
project_countint64
members[]OrgMemberRelationships (not loaded by default) (optional)
teams[]Team(optional)

Example

curl -X PUT \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{}' \
  https://api.seeme.ai/api/v1/organizations/{id}

DELETE /api/v1/organizations/{id}

Delete Organization

deleteOrganization deletes an organization

Parameters

NameInTypeRequired
idpathstringtrue

Example

curl -X DELETE \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/organizations/{id}

GET /api/v1/organizations/{id}/logo

Get Organization Logo

getOrganizationLogo serves the logo for an organization Logos are publicly accessible (no auth required) to allow browser tags to load them

Parameters

NameInTypeRequired
idpathstringtrue

Example

curl -X GET \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/organizations/{id}/logo

POST /api/v1/organizations/{id}/logo

Create Organization Logo

uploadOrganizationLogo uploads a logo for an organization

Parameters

NameInTypeRequired
idpathstringtrue

Response

Type: Organization

FieldTypeDescription
iduuid.UUID
created_attime.Time
updated_attime.Time
namestring
descriptionstring
slugstringURL-friendly identifier
settingsdatatypes.JSONSSO config, billing, defaults
planstring“free”, “pro”, “enterprise”
has_logobool
logostring
disabledbool
member_countint64Computed (not stored in DB)
project_countint64
members[]OrgMemberRelationships (not loaded by default) (optional)
teams[]Team(optional)

Example

curl -X POST \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  https://api.seeme.ai/api/v1/organizations/{id}/logo

DELETE /api/v1/organizations/{id}/logo

Delete Organization Logo

deleteOrganizationLogo deletes the logo for an organization

Parameters

NameInTypeRequired
idpathstringtrue

Example

curl -X DELETE \
  -H "Authorization: Bearer <token>" \
  https://api.seeme.ai/api/v1/organizations/{id}/logo