Discussions

Ask a Question
Back to All

Can I force opening a ticket on one of the agents screen?

I'm planning to write my own integration. My idea is:

  • A customer calls to our VOIP server
  • One of my agents picks up the phone
  • At that time I see who the agent is who picks up the phone, I know the customer phone number, I directly create a ticket, something like this:
    curl --request POST
    --url https://your-domain.gorgias.com/api/tickets
    --header 'accept: application/json'
    --header 'content-type: application/json'
    --data '
    {
    "assignee_team": {
    "id": 122
    },
    "assignee_user": {
    "id": 13
    },
    "customer": {
    "email": "[email protected]"
    },
    "status": "open",
    "channel": "phone",
    "from_agent": false,
    "language": "nl",
    "messages": [
    {
    "channel": "phone",
    "from_agent": true,
    "via": "phone",
    "attachments": [
    {
    "public": true
    }
    ]
    }
    ],
    "via": "phone"
    }
  • I would now for my agent to preferably get this ticket opened on screen so they have the context of the caller in screen. Also possible would be an option where our agent can easily open the just created ticket because it's on top of some list

Is this something Gorgias caters for?