There There Ticket custom fields API

The Ticket custom fields API from There There — 1 operation(s) for ticket custom fields.

GitHub OpenAPI

Operations 1

PUT /tickets/{ticket}/custom-fields/{customField} Set a custom field on a ticket #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/there-there-app:there-there-app-ticket-custom-fields-api"
All apis
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.

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

there-there-app-ticket-custom-fields-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: There There Ticket custom fields 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: Ticket custom fields
paths:
  /tickets/{ticket}/custom-fields/{customField}:
    put:
      operationId: setTicketCustomField
      tags:
      - Ticket custom fields
      summary: Set a custom field on a ticket
      description: Replaces the ticket's value for one custom field. Send `value` for a text field and `option_ulids` for the two select types; sending both, or the wrong one for the field's type, is a validation error. An empty `value` and an empty `option_ulids` clears the field. Returns 404 when the field belongs to another workspace or is not available on the ticket's channel. Read the current values from GET /tickets/{ticket}, which returns the fields that apply to the ticket whether or not they hold a value.
      parameters:
      - $ref: '#/components/parameters/WorkspaceHeader'
      - $ref: '#/components/parameters/TicketUlid'
      - name: customField
        in: path
        required: true
        schema:
          type: string
        description: Custom field ULID.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - value
              - option_ulids
              properties:
                value:
                  type: string
                  nullable: true
                  description: The text for a text field, or null. Must be null for select fields.
                  example: 1.2.3
                option_ulids:
                  type: array
                  items:
                    type: string
                  description: 'The option ULIDs that should end up selected, which replaces the current selection rather than adding to it. At most one for a single-select field. Must be empty for text fields.

                    '
      responses:
        '200':
          description: Updated ticket, including its custom fields
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Ticket'
        '422':
          $ref: '#/components/responses/ValidationError'
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).

        '
    TicketUlid:
      name: ticket
      in: path
      required: true
      schema:
        type: string
      description: Ticket ULID.
  schemas:
    ContactCompany:
      type: object
      properties:
        ulid:
          type: string
        name:
          type: string
        domain:
          type: string
          nullable: true
    Team:
      type: object
      properties:
        id:
          type: integer
        ulid:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        logo_url:
          type: string
          nullable: true
        member_count:
          type: integer
    Ticket:
      type: object
      properties:
        id:
          type: integer
        ulid:
          type: string
        number:
          type: integer
        subject:
          type: string
        status:
          type: string
          enum:
          - open
          - waiting
          - closed
          - spam
        channel:
          $ref: '#/components/schemas/Channel'
        assignee:
          oneOf:
          - $ref: '#/components/schemas/User'
          - type: 'null'
        assigned_team:
          oneOf:
          - $ref: '#/components/schemas/Team'
          - type: 'null'
        contact:
          $ref: '#/components/schemas/Contact'
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
        custom_fields:
          type: array
          description: 'Every custom field that applies to this ticket''s channel, whether or not it holds a value. Returned on GET /tickets/{ticket} and on every ticket write response; omitted from the paginated list.

            '
          items:
            $ref: '#/components/schemas/TicketCustomField'
        latest_message_preview:
          type: string
          nullable: true
        summary:
          type: string
          nullable: true
        title:
          type: string
          nullable: true
        from_address:
          type: string
          nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        last_activity_at:
          type: string
          format: date-time
    TicketCustomFieldOption:
      type: object
      properties:
        ulid:
          type: string
        name:
          type: string
          example: Laravel
        color:
          type: string
          nullable: true
          example: '#FCA5A5'
        icon:
          type: string
          nullable: true
          example: flame
    Channel:
      type: object
      properties:
        id:
          type: integer
        ulid:
          type: string
        name:
          type: string
        type:
          type: string
          enum:
          - email
          - widget
        color:
          type: string
        email_address:
          type: string
          nullable: true
    TicketCustomField:
      type: object
      properties:
        ulid:
          type: string
        name:
          type: string
          example: Reported version
        type:
          type: string
          enum:
          - text
          - single_select
          - multi_select
        value:
          type: string
          nullable: true
          description: Set for text fields only; null for the two select types.
        selected_option_ulids:
          type: array
          items:
            type: string
          description: Empty for text fields and for select fields with no value.
        options:
          type: array
          description: The options an admin defined, in the order they arranged them. Empty for text fields.
          items:
            $ref: '#/components/schemas/TicketCustomFieldOption'
    Tag:
      type: object
      properties:
        id:
          type: integer
        ulid:
          type: string
        name:
          type: string
        color:
          type: string
    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
    Contact:
      type: object
      properties:
        id:
          type: integer
        ulid:
          type: string
        name:
          type: string
          nullable: true
        email:
          type: string
          format: email
        avatar_url:
          type: string
          nullable: true
        company:
          nullable: true
          description: The company this contact belongs to, or null.
          allOf:
          - $ref: '#/components/schemas/ContactCompany'
        ticket_count:
          type: integer
          nullable: true
        last_activity_at:
          type: string
          format: date-time
          nullable: true
        notes:
          type: string
          nullable: true
  responses:
    ValidationError:
      description: Validation failed
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              errors:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Sanctum API token. Generate one from Settings > API Tokens.