{
  "components": {
    "schemas": {
      "CatalogsDepartmentV1": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "parentId": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "path"
        ],
        "type": "object"
      },
      "CatalogsLocationV1": {
        "additionalProperties": false,
        "properties": {
          "city": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "countryCode": {
            "type": "string"
          },
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "parentId": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "path": {
            "type": "string"
          },
          "timezone": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "path"
        ],
        "type": "object"
      },
      "CatalogsPriorityV1": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "enum": [
              "low",
              "medium",
              "high",
              "critical",
              "planned"
            ],
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name"
        ],
        "type": "object"
      },
      "CatalogsServiceV1": {
        "additionalProperties": false,
        "properties": {
          "category": {
            "$ref": "#/components/schemas/CategoryV1"
          },
          "defaultPriority": {
            "description": "Priority used when impact and urgency do not decide one",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "requiresApproval": {
            "description": "Requests wait for an approval before work starts",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "defaultPriority",
          "requiresApproval"
        ],
        "type": "object"
      },
      "CatalogsStatusV1": {
        "additionalProperties": false,
        "properties": {
          "closed": {
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "color": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "initial": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "pausesSla": {
            "type": "boolean"
          },
          "position": {
            "format": "int64",
            "type": "integer"
          },
          "resolved": {
            "type": "boolean"
          }
        },
        "required": [
          "code",
          "name",
          "position",
          "initial",
          "resolved",
          "closed",
          "pausesSla"
        ],
        "type": "object"
      },
      "CategoryV1": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "CodeNameV1": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name"
        ],
        "type": "object"
      },
      "HttpapiFieldError": {
        "additionalProperties": false,
        "properties": {
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "message"
        ],
        "type": "object"
      },
      "ResponsesPagination": {
        "additionalProperties": false,
        "properties": {
          "page": {
            "format": "int64",
            "type": "integer"
          },
          "perPage": {
            "format": "int64",
            "type": "integer"
          },
          "total": {
            "format": "int64",
            "type": "integer"
          },
          "totalPages": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "page",
          "perPage",
          "total",
          "totalPages"
        ],
        "type": "object"
      },
      "ServiceRefV1": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      },
      "TicketsAttachmentV1": {
        "additionalProperties": false,
        "properties": {
          "contentType": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "sizeBytes": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "fileName",
          "contentType",
          "sizeBytes",
          "createdAt"
        ],
        "type": "object"
      },
      "TicketsCodeNameV1": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name"
        ],
        "type": "object"
      },
      "TicketsCommentAuthorV1": {
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "enum": [
              "agent",
              "contact",
              "integration"
            ],
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "type": "object"
      },
      "TicketsCommentV1": {
        "additionalProperties": false,
        "properties": {
          "author": {
            "$ref": "#/components/schemas/TicketsCommentAuthorV1"
          },
          "body": {
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "body",
          "author",
          "createdAt"
        ],
        "type": "object"
      },
      "TicketsContactInputV1": {
        "additionalProperties": false,
        "properties": {
          "departmentId": {
            "description": "From GET /v1/departments",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "email": {
            "type": "string"
          },
          "locationId": {
            "description": "From GET /v1/locations",
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "email"
        ],
        "type": "object"
      },
      "TicketsContactV1": {
        "additionalProperties": false,
        "properties": {
          "departmentId": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "email": {
            "type": "string"
          },
          "locationId": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "email"
        ],
        "type": "object"
      },
      "TicketsTicketDetailV1": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "description": "Where the request came from: api, portal, email...",
            "type": "string"
          },
          "closedAt": {
            "format": "date-time",
            "type": "string"
          },
          "closureCode": {
            "type": "string"
          },
          "contact": {
            "$ref": "#/components/schemas/TicketsContactV1"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "firstResponseAt": {
            "format": "date-time",
            "type": "string"
          },
          "impact": {
            "description": "1 (low) to 3 (high)",
            "format": "int64",
            "type": "integer"
          },
          "impactTags": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "number": {
            "description": "Request number, such as GM-000123; unique within the organization",
            "type": "string"
          },
          "pendingPriority": {
            "$ref": "#/components/schemas/CodeNameV1",
            "description": "Priority raise waiting for a supervisor's approval"
          },
          "priority": {
            "$ref": "#/components/schemas/TicketsCodeNameV1"
          },
          "resolution": {
            "type": "string"
          },
          "resolutionDueAt": {
            "format": "date-time",
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "responseDueAt": {
            "format": "date-time",
            "type": "string"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceRefV1"
          },
          "status": {
            "$ref": "#/components/schemas/TicketsCodeNameV1"
          },
          "subject": {
            "type": "string"
          },
          "transitions": {
            "items": {
              "$ref": "#/components/schemas/TicketsTransitionV1"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "urgency": {
            "description": "1 (low) to 3 (high)",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "transitions",
          "number",
          "subject",
          "description",
          "status",
          "priority",
          "impact",
          "urgency",
          "impactTags",
          "channel",
          "contact",
          "responseDueAt",
          "resolutionDueAt",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "TicketsTicketV1": {
        "additionalProperties": false,
        "properties": {
          "channel": {
            "description": "Where the request came from: api, portal, email...",
            "type": "string"
          },
          "closedAt": {
            "format": "date-time",
            "type": "string"
          },
          "closureCode": {
            "type": "string"
          },
          "contact": {
            "$ref": "#/components/schemas/TicketsContactV1"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "firstResponseAt": {
            "format": "date-time",
            "type": "string"
          },
          "impact": {
            "description": "1 (low) to 3 (high)",
            "format": "int64",
            "type": "integer"
          },
          "impactTags": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "number": {
            "description": "Request number, such as GM-000123; unique within the organization",
            "type": "string"
          },
          "pendingPriority": {
            "$ref": "#/components/schemas/CodeNameV1",
            "description": "Priority raise waiting for a supervisor's approval"
          },
          "priority": {
            "$ref": "#/components/schemas/TicketsCodeNameV1"
          },
          "resolution": {
            "type": "string"
          },
          "resolutionDueAt": {
            "format": "date-time",
            "type": "string"
          },
          "resolvedAt": {
            "format": "date-time",
            "type": "string"
          },
          "responseDueAt": {
            "format": "date-time",
            "type": "string"
          },
          "service": {
            "$ref": "#/components/schemas/ServiceRefV1"
          },
          "status": {
            "$ref": "#/components/schemas/TicketsCodeNameV1"
          },
          "subject": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "urgency": {
            "description": "1 (low) to 3 (high)",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "number",
          "subject",
          "description",
          "status",
          "priority",
          "impact",
          "urgency",
          "impactTags",
          "channel",
          "contact",
          "responseDueAt",
          "resolutionDueAt",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "TicketsTransitionV1": {
        "additionalProperties": false,
        "properties": {
          "requiresClosureCode": {
            "description": "Send closureCode",
            "type": "boolean"
          },
          "requiresReason": {
            "description": "Send note (3+ characters)",
            "type": "boolean"
          },
          "requiresResolution": {
            "description": "Send resolution (3+ characters)",
            "type": "boolean"
          },
          "to": {
            "$ref": "#/components/schemas/TicketsCodeNameV1"
          }
        },
        "required": [
          "to",
          "requiresReason",
          "requiresResolution",
          "requiresClosureCode"
        ],
        "type": "object"
      },
      "WebhooksDeliveryV1": {
        "additionalProperties": false,
        "properties": {
          "attempts": {
            "format": "int64",
            "type": "integer"
          },
          "completedAt": {
            "format": "date-time",
            "type": "string"
          },
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "event": {
            "type": "string"
          },
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "lastAttemptAt": {
            "format": "date-time",
            "type": "string"
          },
          "lastError": {
            "type": "string"
          },
          "nextRunAt": {
            "format": "date-time",
            "type": "string"
          },
          "responseStatus": {
            "format": "int64",
            "type": "integer"
          },
          "status": {
            "enum": [
              "pending",
              "running",
              "retrying",
              "succeeded",
              "dead"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "event",
          "status",
          "attempts",
          "nextRunAt",
          "createdAt"
        ],
        "type": "object"
      },
      "WebhooksEventV1": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "type": "string"
          },
          "type": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "description"
        ],
        "type": "object"
      },
      "WebhooksWebhookV1": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "version": {
            "description": "Payload version the endpoint receives",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "url",
          "events",
          "enabled",
          "version",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "WebhooksWebhookWithSecretV1": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "type": "string"
          },
          "enabled": {
            "type": "boolean"
          },
          "events": {
            "items": {
              "type": "string"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "id": {
            "format": "int64",
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "type": "string"
          },
          "secret": {
            "description": "Signing secret. Store it now: it is never shown again",
            "type": "string"
          },
          "updatedAt": {
            "format": "date-time",
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "version": {
            "description": "Payload version the endpoint receives",
            "type": "string"
          }
        },
        "required": [
          "secret",
          "id",
          "name",
          "url",
          "events",
          "enabled",
          "version",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      }
    },
    "securitySchemes": {
      "apiKey": {
        "bearerFormat": "gm_sd_…",
        "description": "Integration API key created in Duty under Integrations → Credentials. Send it as Authorization: Bearer <key>. Its scopes (read, write, webhooks) decide what it may do.",
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "description": "The Duty API lets your systems open and follow requests in a Duty workspace.\n\n**Authentication.** Create an API key in Duty under Integrations → Credentials and send it as `Authorization: Bearer gm_sd_…`. A key belongs to one workspace and acts only there. Its scopes decide what it may do: `read` to read, `write` to open and update requests, `webhooks` to manage webhooks.\n\n**Versioning.** The version is part of the path (`/v1`). Within a version changes are only additive: new endpoints and new optional fields may appear, so ignore fields you do not know. Breaking changes ship as a new version. Every response carries `API-Version`; a version on its way out also carries `Deprecation` and `Sunset` headers with its retirement date.\n\n**Errors.** Errors answer `{\"error\": KEY, \"message\": text, \"traceId\": id}`; `fields` lists each invalid field. Messages follow `Accept-Language` (en, es, fr, pt; English by default). Quote `traceId` when you contact support.\n\n**Rate limits.** Each key may send a limited number of requests per minute; see the `RateLimit-*` headers. Over the limit the API answers 429 with `Retry-After`.\n\n**Webhooks.** Subscribe a URL to events and Duty posts them signed with HMAC-SHA256: verify `X-Goldmaster-Signature: sha256=hex(HMAC(secret, timestamp + \".\" + body))` using `X-Goldmaster-Timestamp`, and deduplicate with `Idempotency-Key`.",
    "title": "Duty API",
    "version": "v1"
  },
  "openapi": "3.1.0",
  "paths": {
    "/v1/departments": {
      "get": {
        "description": "Active departments of the organization, for the contact of a request.",
        "operationId": "get-departments",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/CatalogsDepartmentV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List departments",
        "tags": [
          "Catalogs"
        ]
      }
    },
    "/v1/locations": {
      "get": {
        "description": "Active locations of the organization, for the contact of a request.",
        "operationId": "get-locations",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/CatalogsLocationV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List locations",
        "tags": [
          "Catalogs"
        ]
      }
    },
    "/v1/priorities": {
      "get": {
        "operationId": "get-priorities",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/CatalogsPriorityV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List priorities",
        "tags": [
          "Catalogs"
        ]
      }
    },
    "/v1/services": {
      "get": {
        "description": "Services of the workspace that requests can be opened against: active, published and public.",
        "operationId": "get-services",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/CatalogsServiceV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List services",
        "tags": [
          "Catalogs"
        ]
      }
    },
    "/v1/statuses": {
      "get": {
        "description": "Active statuses of the workspace's workflow, in order. Use their codes to filter and to change a request's status.",
        "operationId": "get-statuses",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/CatalogsStatusV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List statuses",
        "tags": [
          "Catalogs"
        ]
      }
    },
    "/v1/tickets": {
      "get": {
        "description": "Requests of the key's workspace, most recent first. Use updatedSince to sync changes incrementally.",
        "operationId": "get-tickets",
        "parameters": [
          {
            "in": "query",
            "name": "page",
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "perPage",
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "status",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "priority",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "serviceId",
            "schema": {
              "format": "int64",
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "contactEmail",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "createdFrom",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "createdTo",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "updatedSince",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/TicketsTicketV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/ResponsesPagination"
                    }
                  },
                  "required": [
                    "data",
                    "pagination"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List requests",
        "tags": [
          "Requests"
        ]
      },
      "post": {
        "description": "Opens a request for a contact against a published service. Priority comes from impact and urgency with the workspace's matrix; due dates are provisional until the service desk applies its SLA policy, within seconds.",
        "operationId": "post-tickets",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "contact": {
                    "$ref": "#/components/schemas/TicketsContactInputV1"
                  },
                  "description": {
                    "type": "string"
                  },
                  "impact": {
                    "description": "1 (low) to 3 (high); default 2",
                    "format": "int64",
                    "type": "integer"
                  },
                  "impactTags": {
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "serviceId": {
                    "description": "From GET /v1/services",
                    "format": "int64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "subject": {
                    "type": "string"
                  },
                  "urgency": {
                    "description": "1 (low) to 3 (high); default 2",
                    "format": "int64",
                    "type": "integer"
                  }
                },
                "required": [
                  "serviceId",
                  "subject",
                  "description",
                  "contact"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/TicketsTicketDetailV1"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Open a request",
        "tags": [
          "Requests"
        ]
      }
    },
    "/v1/tickets/{number}": {
      "get": {
        "description": "A request with the status changes its workflow offers now and the evidence each one needs.",
        "operationId": "get-tickets-number",
        "parameters": [
          {
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/TicketsTicketDetailV1"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Get a request",
        "tags": [
          "Requests"
        ]
      },
      "patch": {
        "description": "Moves the request along its workflow and/or changes its priority. A status change must be one of the request's transitions and send the evidence it requires. A priority raise the workspace guards is not applied at once: it waits for a supervisor and the response shows it in pendingPriority.",
        "operationId": "patch-tickets-number",
        "parameters": [
          {
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "closureCode": {
                    "description": "Closure code, when closing",
                    "type": "string"
                  },
                  "note": {
                    "description": "Reason for the change; required to change the priority",
                    "type": "string"
                  },
                  "priority": {
                    "type": "string"
                  },
                  "resolution": {
                    "description": "Applied solution, when resolving",
                    "type": "string"
                  },
                  "status": {
                    "description": "Target status code; see transitions in the request",
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/TicketsTicketDetailV1"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Change a request's status or priority",
        "tags": [
          "Requests"
        ]
      }
    },
    "/v1/tickets/{number}/attachments": {
      "get": {
        "operationId": "get-tickets-number-attachments",
        "parameters": [
          {
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/TicketsAttachmentV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List attachments",
        "tags": [
          "Attachments"
        ]
      },
      "post": {
        "description": "Send the file as multipart/form-data in the field file. Accepted: PDF, PNG, JPEG, plain text and ZIP up to 10 MB, or less if the organization narrowed it. The type is read from the content and must match the file's extension.",
        "operationId": "post-tickets-number-attachments",
        "parameters": [
          {
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/TicketsAttachmentV1"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Upload an attachment",
        "tags": [
          "Attachments"
        ]
      }
    },
    "/v1/tickets/{number}/attachments/{attachmentId}/content": {
      "get": {
        "operationId": "get-tickets-number-attachments-attachmentid-content",
        "parameters": [
          {
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "path",
            "name": "attachmentId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Download an attachment",
        "tags": [
          "Attachments"
        ]
      }
    },
    "/v1/tickets/{number}/comments": {
      "get": {
        "description": "Public comments of the request, oldest first. Internal notes of the service desk are never included.",
        "operationId": "get-tickets-number-comments",
        "parameters": [
          {
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "perPage",
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/TicketsCommentV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/ResponsesPagination"
                    }
                  },
                  "required": [
                    "data",
                    "pagination"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List comments",
        "tags": [
          "Comments"
        ]
      },
      "post": {
        "description": "Adds a public comment on the contact's side of the conversation. As when the contact replies, a resolved request reopens and one waiting for the contact resumes.",
        "operationId": "post-tickets-number-comments",
        "parameters": [
          {
            "in": "path",
            "name": "number",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "body": {
                    "type": "string"
                  }
                },
                "required": [
                  "body"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/TicketsCommentV1"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Add a comment",
        "tags": [
          "Comments"
        ]
      }
    },
    "/v1/webhooks": {
      "get": {
        "description": "Webhooks created through the API in the key's workspace.",
        "operationId": "get-webhooks",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/WebhooksWebhookV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List webhooks",
        "tags": [
          "Webhooks"
        ]
      },
      "post": {
        "description": "Subscribes an HTTPS URL to request events. The response carries the signing secret once; use it to verify X-Goldmaster-Signature.",
        "operationId": "post-webhooks",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enabled": {
                    "description": "Default true",
                    "type": "boolean"
                  },
                  "events": {
                    "description": "Events to receive; see the Webhooks section",
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "name": {
                    "type": "string"
                  },
                  "url": {
                    "description": "HTTPS URL that receives the events",
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "url",
                  "events"
                ],
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/WebhooksWebhookWithSecretV1"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Created"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Create a webhook",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/v1/webhooks/events": {
      "get": {
        "operationId": "get-webhooks-events",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/WebhooksEventV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List webhook events",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/v1/webhooks/{id}": {
      "delete": {
        "description": "Stops deliveries at once; queued deliveries are dropped.",
        "operationId": "delete-webhooks-id",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "success": {
                      "type": "boolean"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "No Content"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Delete a webhook",
        "tags": [
          "Webhooks"
        ]
      },
      "get": {
        "operationId": "get-webhooks-id",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/WebhooksWebhookV1"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Get a webhook",
        "tags": [
          "Webhooks"
        ]
      },
      "patch": {
        "description": "Changes the name, URL, events or state. With rotateSecret the response carries the new secret.",
        "operationId": "patch-webhooks-id",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "additionalProperties": false,
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "events": {
                    "items": {
                      "type": "string"
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "name": {
                    "type": "string"
                  },
                  "rotateSecret": {
                    "description": "Issue a new signing secret; the old one stops working at once",
                    "type": "boolean"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/WebhooksWebhookWithSecretV1"
                    }
                  },
                  "required": [
                    "data"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "Change a webhook",
        "tags": [
          "Webhooks"
        ]
      }
    },
    "/v1/webhooks/{id}/deliveries": {
      "get": {
        "description": "The webhook's latest deliveries, newest first, to check what reached your endpoint.",
        "operationId": "get-webhooks-id-deliveries",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "page",
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "perPage",
            "schema": {
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {
                      "items": {
                        "$ref": "#/components/schemas/WebhooksDeliveryV1"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "pagination": {
                      "$ref": "#/components/schemas/ResponsesPagination"
                    }
                  },
                  "required": [
                    "data",
                    "pagination"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Bad Request"
          },
          "401": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unauthorized"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Forbidden"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Not Found"
          },
          "409": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Conflict"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": false,
                  "properties": {
                    "data": {},
                    "error": {
                      "type": "string"
                    },
                    "fields": {
                      "items": {
                        "$ref": "#/components/schemas/HttpapiFieldError"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "message": {
                      "type": "string"
                    },
                    "traceId": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "error",
                    "message",
                    "traceId"
                  ],
                  "type": "object"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ],
        "summary": "List deliveries",
        "tags": [
          "Webhooks"
        ]
      }
    }
  }
}