IntegrationsZendesk
Zendesk Ticket Creation
Configure ticket creation in Zendesk with Inkeep.
Overview:
- Configure and deploy an endpoint that will process the form data.
- Call the endpoint from the
onSubmit
function of your inkeep widget. Example implementation can be found here
Official Zendesk API Reference
For complete details on available endpoints and ticket parameters, see the official Zendesk Tickets API reference.
Basic Ticket Creation
Warning
This code must be executed in a secure server environment. Never expose your Zendesk API tokens in client-side code as they contain sensitive permissions that could be misused if compromised. Example endpoint for creating a new ticket can be found here
The following example demonstrates how to call the Zendesk Tickets API to create a new ticket. You can copy this code into your project and modify it to suit your needs: