---
title: "Create a support ticket"
method: POST
path: "/_api/trigger/zendesk"
tags: ["Support"]
---

# Create a support ticket

`POST /_api/trigger/zendesk`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_api/trigger/zendesk/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new support ticket.

## Request body

- PostZendeskApi
  - `operation` string: The type of support ticket to be created. The following values for *operation* are valid (The default is *Generic*): - **Generic**: Generic support request. - **AddRegionToTenant**: Add a new region to the existing tenant. - **RemoveRegionFromTenant**: Remove a region from the existing tenant. - **AddRegionToFabric**: Add a new region to the specified fabric. - **RemoveRegionFromFabric**: Remove a region from the specified fabric.
  - `subject` string: The subject of the support ticket.
  - `body` string: Add body to describe request/problem you are facing.
  - `parameters` object
    - `name` string: The name of the tenant.
    - `email` string: The email of the tenant.
    - `datacenter` string: The name of the data center.
    - `fabric` string: The name of the fabric.

## Response `201`

Successfully created a support ticket.

## Other responses

- `400`: Failed due to missing or malformed data. Verify that all parameters are complete.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
