Ana içeriğe geç

Can I create a ticket for someone who isn't a user in Deskpro yet? - Bilgi Bankası / Q&A / Integrations & API - Deskpro Support

Can I create a ticket for someone who isn't a user in Deskpro yet?

Yazarlar listesi
  • Kim

Yes. Every ticket must be linked to a user, but you don't need to create the user first. Deskpro creates the user along with the ticket, both in the agent interface and through the API.

Before you start

  • To create a user from a new ticket, the agent needs permission to create users. Without it, the option doesn't show.

Create the ticket in the agent interface

  1. Start a new ticket.

  2. In the To: field, type the person's email address.

  3. Select Create new user.

Deskpro creates the user and links it to the ticket.

Create the ticket through the API

POST /api/v2/tickets accepts person as a user ID, an email address, or an email and name. If no user has that email, Deskpro creates one when the ticket is saved.

{
  "person": {
    "email": "prospect@example.com",
    "name": "Jane Prospect"
  },
  "subject": "Question about pricing",
  "message": {
    "message": "Hello, I have a question about..."
  }
}


Yararlı Yararlı değil