> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Ticket

Create a new, unassigned ticket.

<Note>
  External Documentation

  To learn more, visit the [Zendesk documentation](https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/#create-ticket).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter   | Description                                                                                                            |
  | ----------- | ---------------------------------------------------------------------------------------------------------------------- |
  | Assignee    | The assignee of the ticket.                                                                                            |
  | Body        | Content of the ticket.                                                                                                 |
  | Group ID    | The assignee group of the ticket.                                                                                      |
  | Priority    | The urgency of the ticket. Allowed values are `urgent`, `high`, `normal`, `low` or the values defined in your account. |
  | Requester   | The requester of the ticket.                                                                                           |
  | Subject     | A title for the ticket.                                                                                                |
  | Ticket Type | The type of the ticket.                                                                                                |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter     | Description                         |
  | ------------- | ----------------------------------- |
  | Custom Fields | Custom fields of the ticket to add. |
  | Tags          | The tags of the ticket.             |
</div>

## Example Output

```json theme={"dark"}
{
	"ticket": {
		"url": "https://ref4433.zendesk.com/api/v2/tickets/34.json",
		"id": 34,
		"external_id": null,
		"via": {
			"channel": "api",
			"source": {
				"from": {},
				"to": {},
				"rel": null
			}
		},
		"created_at": "2024-07-04T06:18:53Z",
		"updated_at": "2024-07-04T06:18:53Z",
		"generated_timestamp": 0,
		"type": "incident",
		"subject": "ticket name",
		"raw_subject": "ticket name",
		"description": "ticket description",
		"priority": null,
		"status": "open",
		"recipient": null,
		"requester_id": 19941392906909,
		"submitter_id": 19941392906909,
		"assignee_id": 19941392906909,
		"organization_id": 19941416889373,
		"group_id": 19941426321181,
		"collaborator_ids": [],
		"follower_ids": [],
		"email_cc_ids": [],
		"forum_topic_id": null,
		"problem_id": null,
		"has_incidents": false,
		"is_public": true,
		"due_at": null,
		"tags": [
			"1",
			"2",
			"tag"
		],
		"custom_fields": [
			{
				"id": 19941396964765,
				"value": null
			}
		],
		"satisfaction_rating": null,
		"sharing_agreement_ids": [],
		"custom_status_id": 19941426304285,
		"fields": [
			{
				"id": 19941396964765,
				"value": null
			}
		],
		"followup_ids": [],
		"ticket_form_id": 19941416743453,
		"brand_id": 19941416847901,
		"allow_channelback": false,
		"allow_attachments": true,
		"from_messaging_channel": false
	},
	"audit": {
		"id": 51266107870269,
		"ticket_id": 25507,
		"created_at": "<string>",
		"author_id": 21297593584617,
		"metadata": {
			"system": {
				"client": "<string>",
				"ip_address": "<string>",
				"location": "<string>",
				"latitude": 67,
				"longitude": 150
			},
			"custom": {}
		},
		"events": [
			{
				"id": 71577718856980,
				"type": "<string>",
				"value": "<string>",
				"field_name": "<string>"
			},
			{
				"id": 35036944780089,
				"type": "<string>",
				"author_id": 17683568032949,
				"body": "<string>",
				"html_body": "<string>",
				"plain_body": "<string>",
				"public": true,
				"attachments": [],
				"audit_id": 15425241983790
			}
		],
		"via": {
			"channel": "<string>",
			"source": {
				"from": {},
				"to": {
					"address": "<string>",
					"name": "<string>"
				},
				"rel": null
			}
		}
	}
}
```

## Workflow Library Example

[Create Ticket with Zendesk and Send Results Via Email](https://library.blinkops.com/workflows/create-ticket-with-zendesk-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-ticket-with-zendesk-and-send-results-via-email/canvas" />
</div>
