Teamleader Tickets API

The Tickets API from Teamleader — 9 operation(s) for tickets.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /tickets.addInternalMessage Add an internal note to a ticket · Adds an internal message to a ticket #
Ask an LLM
“How do I add an internal note to a ticket without notifying the customer?”
“Can I attach files to an internal message on a ticket?”
Tell an agent
Add an internal note to ticket {id} saying {body}.
Post internal message {body} on ticket {id} and attach {attachments}.
POST /tickets.addReply Reply to a ticket · Adds a message to a ticket #
Ask an LLM
“How do I reply to a customer's ticket with a message?”
“Can I change the ticket status when replying to it?”
Tell an agent
Reply to ticket {id} with {body}.
Reply to ticket {id} with {body} and set the status to {ticket_status_id}.
POST /tickets.create Create a ticket · Create a ticket #
Ask an LLM
“How do I create a new support ticket for a customer?”
“Can I assign a ticket to a team member and set a milestone when creating it?”
Tell an agent
Create a ticket for {customer} with subject {subject} and status {ticket_status_id}.
Open a new ticket {subject} for {customer} assigned to {assignee} with status {ticket_status_id}.
POST /tickets.getMessage Get one ticket message · Gets the ticket message #
Ask an LLM
“How do I read a single message inside a ticket?”
“What does a specific ticket message contain?”
Tell an agent
Get message {message_id} from the ticket.
Show me the text of ticket message {message_id}.
POST /tickets.importMessage Import an existing message into a ticket · Imports an existing message to a ticket #
Ask an LLM
“How do I import an email that already exists into a ticket?”
“Can I import a message sent by a specific person at a given time?”
Tell an agent
Import message {body} into ticket {id} sent by {sent_by} at {sent_at}.
Add existing message {body} from {sent_by} on {sent_at} to ticket {id}.
POST /tickets.info Get a ticket's details · Get details for a single ticket #
Ask an LLM
“What are the details of a particular ticket?”
“Can I look up one ticket by its ID?”
Tell an agent
Show me the details of ticket {id}.
Get ticket {id}.
POST /tickets.list List tickets · Get a list of tickets #
Ask an LLM
“Which tickets are open in my helpdesk?”
“Can I filter the ticket list by status?”
Tell an agent
List all tickets.
List tickets matching {filter}.
POST /tickets.listMessages List messages in a ticket · Lists messages of a ticket #
Ask an LLM
“What messages have been exchanged on a ticket?”
“Can I page through a ticket's message history?”
Tell an agent
List messages on ticket {id}.
Show page {page} of messages for ticket {id}.
POST /tickets.update Update a ticket · Update a ticket #
Ask an LLM
“How do I change the status of an existing ticket?”
“Can I reassign a ticket or edit its description?”
Tell an agent
Set the status of ticket {id} to {ticket_status_id}.
Reassign ticket {id} to {assignee}.

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/teamleader:teamleader-tickets-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

teamleader-tickets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Teamleader Tickets API
  version: '2026-09-22'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-09-22: 58 operation(s) read from 60 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Teamleader has published no machine-readable contract that the pipeline could find. Engine: anthropic.'
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-09-22'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://developer.focus.teamleader.eu/docs/authentication
  - https://developer.focus.teamleader.eu/docs/general-principles
  - https://developer.focus.teamleader.eu/docs/api/deals-list
  - https://developer.focus.teamleader.eu/docs/api/deals-info
  - https://developer.focus.teamleader.eu/docs/api/deals-create
  - https://developer.focus.teamleader.eu/docs/api/deals-update
  - https://developer.focus.teamleader.eu/docs/api/deals-move
  - https://developer.focus.teamleader.eu/docs/api/deals-win
  - https://developer.focus.teamleader.eu/docs/api/deals-lose
  - https://developer.focus.teamleader.eu/docs/api/deals-delete
  - https://developer.focus.teamleader.eu/docs/api/lost-reasons-list
  - https://developer.focus.teamleader.eu/docs/api/level-two-areas-list
  - https://developer.focus.teamleader.eu/docs/api/files-list
  - https://developer.focus.teamleader.eu/docs/api/files-info
  - https://developer.focus.teamleader.eu/docs/api/files-download
  - https://developer.focus.teamleader.eu/docs/api/files-upload
  - https://developer.focus.teamleader.eu/docs/api/files-delete
  - https://developer.focus.teamleader.eu/docs/api/ticket-status-list
  - https://developer.focus.teamleader.eu/docs/api/tasks-list
  - https://developer.focus.teamleader.eu/docs/api/tasks-info
  - https://developer.focus.teamleader.eu/docs/api/tasks-create
  - https://developer.focus.teamleader.eu/docs/api/tasks-update
  - https://developer.focus.teamleader.eu/docs/api/tasks-complete
  - https://developer.focus.teamleader.eu/docs/api/tasks-reopen
  - https://developer.focus.teamleader.eu/docs/api/tasks-delete
  - https://developer.focus.teamleader.eu/docs/api/tasks-schedule
  - https://developer.focus.teamleader.eu/docs/api/user-availability-daily
  - https://developer.focus.teamleader.eu/docs/api/tickets-list
  - https://developer.focus.teamleader.eu/docs/api/tickets-info
  - https://developer.focus.teamleader.eu/docs/api/tickets-create
  - https://developer.focus.teamleader.eu/docs/api/tickets-update
  - https://developer.focus.teamleader.eu/docs/api/tickets-list-messages
  - https://developer.focus.teamleader.eu/docs/api/tickets-get-message
  - https://developer.focus.teamleader.eu/docs/api/tickets-import-message
  - https://developer.focus.teamleader.eu/docs/api/tickets-add-reply
  - https://developer.focus.teamleader.eu/docs/api/tickets-add-internal-message
  - https://developer.focus.teamleader.eu/docs/api/timers-update
  - https://developer.focus.teamleader.eu/docs/api/contacts-list
  - https://developer.focus.teamleader.eu/docs/api/contacts-info
  - https://developer.focus.teamleader.eu/docs/api/contacts-add
  - https://developer.focus.teamleader.eu/docs/api/contacts-update
  - https://developer.focus.teamleader.eu/docs/api/contacts-delete
  - https://developer.focus.teamleader.eu/docs/api/contacts-tag
  - https://developer.focus.teamleader.eu/docs/api/contacts-untag
  - https://developer.focus.teamleader.eu/docs/api/contacts-link-to-company
  - https://developer.focus.teamleader.eu/docs/api/contacts-unlink-from-company
  - https://developer.focus.teamleader.eu/docs/api/contacts-update-company-link
  - https://developer.focus.teamleader.eu/docs/api/contacts-upload-avatar
  - https://developer.focus.teamleader.eu/docs/api/days-off-bulk-delete
  - https://developer.focus.teamleader.eu/docs/api/expenses-list
  - https://developer.focus.teamleader.eu/docs/api/payment-methods-list
  - https://developer.focus.teamleader.eu/docs/api/invoices-list
  - https://developer.focus.teamleader.eu/docs/api/invoices-info
  - https://developer.focus.teamleader.eu/docs/api/invoices-download
  - https://developer.focus.teamleader.eu/docs/api/invoices-draft
  - https://developer.focus.teamleader.eu/docs/api/invoices-update
  - https://developer.focus.teamleader.eu/docs/api/invoices-update-booked
  - https://developer.focus.teamleader.eu/docs/api/invoices-copy
  - https://developer.focus.teamleader.eu/docs/api/invoices-book
  - https://developer.focus.teamleader.eu/docs/api/invoices-delete
servers:
- url: https://api.focus.teamleader.eu
security:
- bearer: []
tags:
- name: Tickets
paths:
  /tickets.addInternalMessage:
    post:
      operationId: post_tickets_addInternalMessage
      tags:
      - Tickets
      summary: Adds an internal message to a ticket
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-add-internal-message
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsAddinternalmessageRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTicketsAddinternalmessageResponse'
  /tickets.addReply:
    post:
      operationId: post_tickets_addReply
      tags:
      - Tickets
      summary: Adds a message to a ticket
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-add-reply
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsAddreplyRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTicketsAddreplyResponse'
  /tickets.create:
    post:
      operationId: post_tickets_create
      tags:
      - Tickets
      summary: Create a ticket
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-create
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsCreateRequest'
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTicketsCreateResponse'
  /tickets.getMessage:
    post:
      operationId: post_tickets_getMessage
      tags:
      - Tickets
      summary: Gets the ticket message
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-get-message
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsGetmessageRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTicketsGetmessageResponse'
  /tickets.importMessage:
    post:
      operationId: post_tickets_importMessage
      tags:
      - Tickets
      summary: Imports an existing message to a ticket
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-import-message
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsImportmessageRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTicketsImportmessageResponse'
  /tickets.info:
    post:
      operationId: post_tickets_info
      tags:
      - Tickets
      summary: Get details for a single ticket
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-info
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsInfoRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTicketsInfoResponse'
  /tickets.list:
    post:
      operationId: post_tickets_list
      tags:
      - Tickets
      summary: Get a list of tickets
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-list
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsListRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTicketsListResponse'
  /tickets.listMessages:
    post:
      operationId: post_tickets_listMessages
      tags:
      - Tickets
      summary: Lists messages of a ticket
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-list-messages
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsListmessagesRequest'
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostTicketsListmessagesResponse'
  /tickets.update:
    post:
      operationId: post_tickets_update
      tags:
      - Tickets
      summary: Update a ticket
      x-source: https://developer.focus.teamleader.eu/docs/api/tickets-update
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostTicketsUpdateRequest'
      responses:
        '204':
          description: Success (status as documented)
components:
  schemas:
    PostTicketsGetmessageResponse:
      type: object
      properties:
        message_id:
          type: string
        body:
          type: string
        raw_body:
          type: string
        created_at:
          type: string
        sent_by:
          type: object
        ticket:
          type: object
        attachments:
          type: object
        type:
          type: string
    PostTicketsListmessagesRequest:
      type: object
      properties:
        id:
          type: string
        filter:
          type: object
        page:
          type: object
      required:
      - id
    PostTicketsImportmessageResponse:
      type: object
      properties:
        data:
          type: object
    PostTicketsCreateRequest:
      type: object
      properties:
        subject:
          type: string
        customer:
          type: object
        ticket_status_id:
          type: string
        assignee:
          type: object
        custom_fields:
          type: object
        description:
          type: string
          description: Uses Markdown formatting
        participant:
          type: object
        initial_reply:
          type: string
          description: 'Create & send an initial autoreply according to configuration (default: automatic). Possible values: [automatic, disabled]'
        milestone_id:
          type: string
          description: Links the ticket to a milestone. Only applicable to accounts using legacy projects. A ticket can be linked to either a milestone_id or a project_id, but not both.
        project_id:
          type: string
          description: Links the ticket to a project. Only applicable to accounts using the new projects. A ticket can be linked to either a milestone_id or a project_id, but not both.
      required:
      - subject
      - customer
      - ticket_status_id
    PostTicketsGetmessageRequest:
      type: object
      properties:
        message_id:
          type: string
      required:
      - message_id
    PostTicketsListResponse:
      type: object
      properties:
        data:
          type: object
    PostTicketsCreateResponse:
      type: object
      properties:
        data:
          type: object
    PostTicketsImportmessageRequest:
      type: object
      properties:
        id:
          type: string
        body:
          type: string
          description: Uses HTML formatting
        sent_by:
          type: object
        sent_at:
          type: string
        attachments:
          type: string
          description: All files must have the ticket as a subject
      required:
      - id
      - body
      - sent_by
      - sent_at
    PostTicketsAddinternalmessageResponse:
      type: object
      properties:
        data:
          type: object
    PostTicketsAddinternalmessageRequest:
      type: object
      properties:
        id:
          type: string
        body:
          type: string
          description: Uses HTML formatting
        ticket_status_id:
          type: string
        attachments:
          type: string
          description: All files must have the ticket as a subject
      required:
      - id
      - body
    PostTicketsUpdateRequest:
      type: object
      properties:
        id:
          type: string
        subject:
          type: string
        description:
          type: string
        ticket_status_id:
          type: string
        customer:
          type: object
        assignee:
          type: object
        participant:
          type: object
        custom_fields:
          type: object
        milestone_id:
          type: string
        project_id:
          type: string
      required:
      - id
    PostTicketsInfoRequest:
      type: object
      properties:
        id:
          type: string
      required:
      - id
    PostTicketsAddreplyRequest:
      type: object
      properties:
        id:
          type: string
        body:
          type: string
          description: Uses HTML formatting
        ticket_status_id:
          type: string
        attachments:
          type: string
          description: All files must have the ticket as a subject
      required:
      - id
      - body
    PostTicketsInfoResponse:
      type: object
      properties:
        id:
          type: string
        reference:
          type: number
        subject:
          type: string
        status:
          type: object
        assignee:
          type: object
        created_at:
          type: string
        closed_at:
          type: string
        customer:
          type: object
        participant:
          type: object
        last_message_at:
          type: string
        description:
          type: string
        project:
          type: object
        milestone:
          type: object
        custom_fields:
          type: object
    PostTicketsListmessagesResponse:
      type: object
      properties:
        data:
          type: object
        meta:
          type: object
    PostTicketsAddreplyResponse:
      type: object
      properties:
        data:
          type: object
    PostTicketsListRequest:
      type: object
      properties:
        filter:
          type: object
        page:
          type: object
  securitySchemes:
    bearer:
      type: http
      scheme: bearer