There There Companies API
The Companies API from There There — 2 operation(s) for companies.
The Companies API from There There — 2 operation(s) for companies.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/there-there-app:there-there-app-companies-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: There There Companies 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: Companies
paths:
/companies:
get:
operationId: listCompanies
tags:
- Companies
summary: List companies
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
- name: filter[name]
in: query
schema:
type: string
- name: filter[domain]
in: query
schema:
type: string
- name: filter[search]
in: query
description: Matches the company name or its domain.
schema:
type: string
- name: sort
in: query
schema:
type: string
enum:
- name
- -name
- created_at
- -created_at
- contact_count
- -contact_count
- ticket_count
- -ticket_count
- $ref: '#/components/parameters/PerPage'
- $ref: '#/components/parameters/Page'
responses:
'200':
description: Paginated list of companies
content:
application/json:
schema:
$ref: '#/components/schemas/PaginatedCompanies'
post:
operationId: createCompany
tags:
- Companies
summary: Create a company
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- name
properties:
name:
type: string
domain:
type: string
nullable: true
description: Bare hostname, lowercased. Unique per workspace. An email address, a scheme, or a path is rejected.
phone:
type: string
nullable: true
notes:
type: string
nullable: true
contact_ulids:
type: array
description: Contacts to attach to the new company. A ULID from another workspace is ignored.
items:
type: string
responses:
'201':
description: Company created
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Company'
/companies/{company}:
get:
operationId: showCompany
tags:
- Companies
summary: Show a company
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
- $ref: '#/components/parameters/CompanyUlid'
responses:
'200':
description: Company
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Company'
'403':
$ref: '#/components/responses/Forbidden'
put:
operationId: updateCompany
tags:
- Companies
summary: Update a company
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
- $ref: '#/components/parameters/CompanyUlid'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
name:
type: string
domain:
type: string
nullable: true
description: Changing the domain does not move contacts that already exist.
phone:
type: string
nullable: true
notes:
type: string
nullable: true
responses:
'200':
description: Updated company
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/Company'
delete:
operationId: deleteCompany
tags:
- Companies
summary: Delete a company
description: The contacts of the company are kept and simply detached.
parameters:
- $ref: '#/components/parameters/WorkspaceHeader'
- $ref: '#/components/parameters/CompanyUlid'
responses:
'204':
description: Company deleted
'403':
$ref: '#/components/responses/Forbidden'
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).
'
Page:
name: page
in: query
schema:
type: integer
default: 1
CompanyUlid:
name: company
in: path
required: true
schema:
type: string
description: Company ULID.
PerPage:
name: per_page
in: query
schema:
type: integer
default: 25
maximum: 100
responses:
Forbidden:
description: Not allowed
content:
application/json:
schema:
type: object
properties:
message:
type: string
schemas:
PaginationMeta:
type: object
properties:
current_page:
type: integer
last_page:
type: integer
per_page:
type: integer
total:
type: integer
PaginationLinks:
type: object
properties:
first:
type: string
nullable: true
last:
type: string
nullable: true
prev:
type: string
nullable: true
next:
type: string
nullable: true
PaginatedCompanies:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/Company'
meta:
$ref: '#/components/schemas/PaginationMeta'
links:
$ref: '#/components/schemas/PaginationLinks'
Company:
type: object
properties:
id:
type: integer
ulid:
type: string
name:
type: string
domain:
type: string
nullable: true
phone:
type: string
nullable: true
notes:
type: string
nullable: true
contact_count:
type: integer
nullable: true
ticket_count:
type: integer
nullable: true
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Sanctum API token. Generate one from Settings > API Tokens.