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
Start a new ticket.
In the To: field, type the person's email address.
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..."
}
}