Gorgias Tags API

The Tags API from Gorgias — 3 operation(s) for tags.

GitHub OpenAPI

Operations 6

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 /api/tickets/{id}/tags Add tags to a ticket · Add tags to a ticket #
Ask an LLM
“How do I tag a support ticket with a label?”
“Can I add several tags to one ticket at once?”
Tell an agent
Add tags {tags} to ticket {id}.
Label support ticket {id} with {tags}.
GET /api/tags List all ticket tags · List tags #
Ask an LLM
“What tags are available for tagging tickets?”
“Which tag names exist in my account?”
Tell an agent
List all ticket tags.
Show every tag we have defined.
POST /api/tags Create a ticket tag · Create tag #
Ask an LLM
“How do I create a new tag for labeling tickets?”
“Can I choose a color decoration when creating a tag?”
Tell an agent
Create a tag named {name}.
Create tag {name} with decoration {decoration}.
GET /api/tags/{id} Get a ticket tag · Get tag #
Ask an LLM
“What decoration is set on a particular tag?”
“Can I look up one tag by its ID?”
Tell an agent
Get tag {id}.
Show the decoration of tag {id}.
PUT /api/tags/{id} Update a ticket tag · Update tag #
Ask an LLM
“How do I change the name or color of an existing tag?”
“Can I rename a tag without recreating it?”
Tell an agent
Rename tag {id} to {name}.
Set the decoration of tag {id} to {decoration}.
DELETE /api/tags/{id} Delete a ticket tag · Delete tag #
Ask an LLM
“How do I remove a tag we no longer use?”
“Can I delete a tag by its ID?”
Tell an agent destructive · confirm first
Delete tag {id}.
Remove the unused tag {id}.

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/gorgias:gorgias-tags-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

gorgias-tags-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Gorgias REST Tags API
  description: Best-effort OpenAPI 3.1 for the Gorgias REST API, covering tickets, messages, customers, integrations, macros, rules, tags, teams, users, views, surveys, and widgets. Gorgias uses per-account subdomains ({account}.gorgias.com) and supports HTTP Basic authentication with an API key or OAuth2 for public apps.
  version: '2024-01-01'
servers:
- url: https://{account}.gorgias.com
  variables:
    account:
      default: example
      description: Account subdomain
security:
- basicAuth: []
- oauth2:
  - openid
  - accounts.read
  - tickets.read
  - tickets.write
  - customers.read
  - customers.write
tags:
- name: Tags
paths:
  /api/tickets/{id}/tags:
    post:
      tags:
      - Tags
      summary: Add tags to a ticket
      operationId: addTicketTags
      parameters:
      - $ref: '#/components/parameters/Id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tags:
                  type: array
                  items:
                    type: integer
      responses:
        '200':
          description: Tags
  /api/tags:
    get:
      tags:
      - Tags
      summary: List tags
      operationId: listTags
      responses:
        '200':
          description: Tags
    post:
      tags:
      - Tags
      summary: Create tag
      operationId: createTag
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Tag'
      responses:
        '201':
          description: Tag
  /api/tags/{id}:
    get:
      tags:
      - Tags
      summary: Get tag
      operationId: getTag
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '200':
          description: Tag
    put:
      tags:
      - Tags
      summary: Update tag
      operationId: updateTag
      parameters:
      - $ref: '#/components/parameters/Id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Tag'
      responses:
        '200':
          description: Tag
    delete:
      tags:
      - Tags
      summary: Delete tag
      operationId: deleteTag
      parameters:
      - $ref: '#/components/parameters/Id'
      responses:
        '204':
          description: Deleted
components:
  schemas:
    Tag:
      type: object
      properties:
        id:
          type: integer
        name:
          type: string
        decoration:
          type: object
          properties:
            color:
              type: string
        created_datetime:
          type: string
          format: date-time
        updated_datetime:
          type: string
          format: date-time
  parameters:
    Id:
      name: id
      in: path
      required: true
      schema:
        type: integer
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Use account email as username and API key as password
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://{account}.gorgias.com/oauth/authorize
          tokenUrl: https://{account}.gorgias.com/oauth/token
          scopes:
            openid: OpenID
            accounts.read: Read account
            tickets.read: Read tickets
            tickets.write: Write tickets
            customers.read: Read customers
            customers.write: Write customers