Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: There There Members API
description: 'REST API for There There, the AI-powered helpdesk. All endpoints require
authentication via a bearer token, and most require the
`X-Workspace-Id` header to identify which workspace the request targets.
You can copy the workspace ID from
Settings > Account > API Tokens or
Settings > Workspace > General.
Responses follow a consistent shape: single resources are returned under a
`data` key; collections return `data` alongside `meta` and `links` for
pagination.'
version: 1.0.0
servers:
- url: https://there-there.app/api
description: Production
security:
- bearerAuth: []
tags:
- name: Members
paths:
/members:
get:
operationId: listMembers
tags:
- Members
summary: List workspace members
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
responses:
'200':
description: List of members
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/User'
/members/invite:
post:
operationId: inviteMember
tags:
- Members
summary: Invite a member (admin only)
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- email
- role
properties:
email:
type: string
format: email
name:
type: string
nullable: true
role:
type: string
enum:
- admin
- member
channel_ulids:
type: array
items:
type: string
description: Optional list of channel ULIDs to scope the member to.
responses:
'201':
description: Invitation created
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
id:
type: integer
ulid:
type: string
email:
type: string
name:
type: string
nullable: true
role:
type: string
invited_at:
type: string
format: date-time
/members/{user}:
delete:
operationId: removeMember
tags:
- Members
summary: Remove a member from the workspace
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
- name: user
in: path
required: true
schema:
type: string
responses:
'204':
description: Member removed
components:
parameters:
WorkspaceHeader:
name: X-Workspace-Id
in: header
required: false
schema:
type: integer
description: 'Workspace ID this request targets. Required for tokens that have
access to multiple workspaces or to all workspaces. Optional for
tokens scoped to a single workspace (auto-resolved). Find the ID under
[Settings > Account > API Tokens](https://there-there.app/settings/account/api-tokens) or
[Settings > Workspace > General](https://there-there.app/settings/workspace/general).
'
schemas:
User:
type: object
properties:
id:
type: integer
name:
type: string
email:
type: string
format: email
avatar_url:
type: string
nullable: true
timezone:
type: string
nullable: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Sanctum API token. Generate one from Settings > API Tokens.