POST
/
tickets
curl --request POST \
  --url https://api.gleap.io/v3/tickets \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'project: <project>' \
  --data '{
  "title": "<string>",
  "conversationClosed": true,
  "bot": {
    "active": true,
    "currentBot": "<string>",
    "currentActionFlow": "<string>",
    "currentAction": 123,
    "forwardedToSupportAt": "2023-11-07T05:31:56Z",
    "kaiActive": true,
    "noAnswerFound": true
  },
  "content": "<any>",
  "plainContent": "<string>",
  "imageUrl": "<string>",
  "description": "<string>",
  "latestComment": "<string>",
  "slaBreached": true,
  "hidden": true,
  "needInitialPush": true,
  "noHumanInteraction": true,
  "snoozed": true,
  "snoozedUntil": "2023-11-07T05:31:56Z",
  "processingUser": "<string>",
  "processingTeam": "<string>",
  "queued": true,
  "queuedAt": "2023-11-07T05:31:56Z",
  "mentions": [
    "<string>"
  ],
  "emailRefs": [
    "<any>"
  ],
  "attributes": "<any>",
  "formData": "<any>",
  "form": "<any>",
  "aiSummary": "<string>",
  "aiSupportSummary": "<string>",
  "dueDate": "2023-11-07T05:31:56Z",
  "parentTicket": "<string>",
  "duplicateOf": "<string>",
  "duplicatesCount": 123,
  "session": "<any>",
  "sessions": [
    "<any>"
  ],
  "outbound": "<string>",
  "priority": "LOW",
  "type": "<string>",
  "sentiment": "positive",
  "status": "<string>",
  "shareToken": "<string>",
  "copilotActions": [
    {
      "name": "<string>",
      "data": "<any>"
    }
  ],
  "secretShareToken": "<string>",
  "lexorank": "<string>",
  "bugId": 123,
  "project": "<string>",
  "organisation": "<string>",
  "screenshotUrl": "<string>",
  "screenshotBroke": "2023-11-07T05:31:56Z",
  "generatingScreenshot": true,
  "screenshotRenderingFailed": true,
  "screenshotLive": true,
  "screenshotDataUrl": "<any>",
  "isSilent": true,
  "replayDataUrl": "<string>",
  "replayUrl": "<string>",
  "generatingReplay": true,
  "replayStartDate": "2023-11-07T05:31:56Z",
  "replayRenderingStartedAt": "2023-11-07T05:31:56Z",
  "replayRenderingFailed": true,
  "replayLive": true,
  "originalEmailContent": "<string>",
  "hasWebReplay": true,
  "integrations": {},
  "metaData": "<any>",
  "actionLog": "<any>",
  "customData": "<any>",
  "replay": "<any>",
  "lastResponse": {
    "contact": "2023-11-07T05:31:56Z",
    "admin": "2023-11-07T05:31:56Z"
  },
  "attachments": [
    {
      "name": "<string>",
      "url": "<string>",
      "type": "<string>"
    }
  ],
  "lastNotification": "2023-11-07T05:31:56Z",
  "faqSuggested": true,
  "notificationsUnread": true,
  "sessionNotificationsUnread": true,
  "hasAgentReply": true,
  "conversationRating": 123,
  "upvotesCount": 123,
  "upvotes": [
    {
      "email": "<string>"
    }
  ],
  "screenRecordingUrl": "<string>",
  "firstAssignmentAt": "2023-11-07T05:31:56Z",
  "archived": true,
  "archivedAt": "2023-11-07T05:31:56Z",
  "disabled": true,
  "isSpam": true,
  "tags": [
    "<string>"
  ],
  "score": 123,
  "channel": {
    "id": "<string>",
    "type": "<string>",
    "metaData": "<any>"
  },
  "manuallyAdded": true,
  "fromData": "<any>",
  "consoleLog": "<any>",
  "customEventLog": "<any>",
  "networkLogs": "<any>",
  "isManualStart": true,
  "botId": "<string>",
  "preventAutoReply": true
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Body

application/json

Response

200 - application/json
Ok

The response is of type any.