> For the complete documentation index, see [llms.txt](https://docs.usepylon.com/pylon-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.usepylon.com/pylon-docs/developer/api/api-reference/ticket-forms.md).

# Ticket Forms

## Get a list of ticket forms

> Returns all ticket forms for the organization.\
> \
> \*\*Rate limit:\*\* 300 requests per minute

```json
{"openapi":"3.0.3","info":{"title":"Pylon API.","version":"1.0.0"},"servers":[{"description":"US region","url":"https://api.usepylon.com"},{"description":"EU region","url":"https://api.eu.usepylon.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"description":"Authorization: Bearer <token>","scheme":"bearer","type":"http"}},"responses":{"GetTicketFormsResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTicketFormsResponseBody"}}},"description":""},"BadRequestApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request was invalid or could not be completed."},"ForbiddenApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The authenticated caller or organization is not allowed to access this endpoint or operation."},"ErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":""},"InternalServerErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"An unexpected internal error occurred."}},"schemas":{"GetTicketFormsResponseBody":{"properties":{"data":{"description":"The data payload of the response.","items":{"$ref":"#/components/schemas/TicketForm"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"type":"object"},"TicketForm":{"properties":{"description_html":{"description":"The description of the ticket form in HTML.","type":"string"},"fields":{"description":"The layout of the ticket form.","items":{"$ref":"#/components/schemas/TicketFormLayoutField"},"type":"array"},"id":{"description":"The ID of the ticket form.","type":"string"},"is_public":{"description":"Indicates if the ticket form is public.","type":"boolean"},"name":{"description":"The name of the ticket form.","type":"string"},"slug":{"description":"The slug of the ticket form.","type":"string"},"url":{"description":"The URL of the ticket form.","type":"string"}},"type":"object"},"TicketFormLayoutField":{"properties":{"description_html":{"description":"The description of the ticket form layout field in HTML.","type":"string"},"hidden":{"description":"Indicates whether the field starts hidden. A hidden field is only shown when a\nvisibility condition on another field lists it as visible.","type":"boolean"},"name":{"description":"The name of the ticket form layout field.","type":"string"},"required":{"description":"Indicates whether the field is required when submitting the ticket form.","type":"boolean"},"slug":{"description":"The slug of the ticket form layout field.","type":"string"},"type":{"description":"The type of the ticket form layout field.","type":"string"},"visibility_conditions":{"description":"Visibility conditions triggered by this field's value. Each condition reveals or\nrequires other fields when its filter matches. Follow affected_fields slugs to\nother fields' visibility_conditions to reconstruct nested rules.","items":{"$ref":"#/components/schemas/TicketFormVisibilityCondition"},"type":"array"}},"type":"object"},"TicketFormVisibilityCondition":{"properties":{"affected_fields":{"description":"The fields revealed or required when the condition matches.","items":{"$ref":"#/components/schemas/TicketFormVisibilityAffectedField"},"type":"array"},"filter":{"$ref":"#/components/schemas/Filter"},"filter_unsupported":{"description":"True when the condition's filter cannot be expressed in the API filter format.\nThe condition still applies when the form is submitted, but its filter is omitted here.","type":"boolean"},"id":{"description":"The ID of the visibility condition.","type":"string"}},"type":"object"},"TicketFormVisibilityAffectedField":{"properties":{"required":{"description":"Whether the field is required while the condition matches.","type":"boolean"},"slug":{"description":"The slug of the affected ticket form field.","type":"string"},"type":{"description":"The type of the affected ticket form field.","type":"string"},"visible":{"description":"Whether the field is shown while the condition matches.","type":"boolean"}},"type":"object"},"Filter":{"properties":{"field":{"description":"The field for this filter.  For allowed fields, see the documentation for\nthe specific endpoint you are using.\nFor non-compound filters (any operators other than \"and\" or \"or\"),\nfield must be set, along with either value or values, depending on the operator.","type":"string"},"operator":{"description":"The operator for this filter.","enum":["equals","not_equals","contains","does_not_contain","in","not_in","and","or","time_is_after","time_is_before","time_range","string_contains","string_does_not_contain","is_set","is_unset","greater_than","less_than","greater_than_or_equals","less_than_or_equals","includes_all_of","starts_with","ends_with"],"type":"string"},"subfilters":{"description":"Sub-filters for this filter.  Valid only when operator is \"and\" or \"or\".\nThe maximum allowed depth for a tree of filters is 3.","items":{"$ref":"#/components/schemas/Filter"},"type":"array"},"value":{"description":"The value for this filter. Only used for single-valued operators\n(\"equals\", \"not_equals\", \"contains\", \"does_not_contain\")","type":"string"},"values":{"description":"The values for this filter. Only used for multi-valued operators (\"in\", \"not_in\").","items":{"type":"string"},"type":"array"}},"required":["operator"],"type":"object"},"Pagination":{"properties":{"cursor":{"description":"The cursor for the next page of results.","type":"string"},"has_next_page":{"description":"Indicates if there is a next page of results.","type":"boolean"}},"required":["cursor","has_next_page"],"type":"object"},"ErrorApiResponseBody":{"properties":{"errors":{"description":"The list of errors.","items":{"type":"string"},"type":"array"},"exists_id":{"description":"The ID of the object that already exists if this is a duplicate object error.","type":"string"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"type":"object"}}},"paths":{"/ticket-forms":{"get":{"description":"Returns all ticket forms for the organization.\n\n**Rate limit:** 300 requests per minute","operationId":"GetTicketForms","responses":{"200":{"$ref":"#/components/responses/GetTicketFormsResponse"},"400":{"$ref":"#/components/responses/BadRequestApiResponse"},"403":{"$ref":"#/components/responses/ForbiddenApiResponse"},"404":{"$ref":"#/components/responses/ErrorApiResponse"},"500":{"$ref":"#/components/responses/InternalServerErrorApiResponse"}},"summary":"Get a list of ticket forms","tags":["ticket-forms"]}}}}
```

## Get a ticket form

> Returns a single ticket form by ID.\
> \
> \*\*Rate limit:\*\* 300 requests per minute

```json
{"openapi":"3.0.3","info":{"title":"Pylon API.","version":"1.0.0"},"servers":[{"description":"US region","url":"https://api.usepylon.com"},{"description":"EU region","url":"https://api.eu.usepylon.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"description":"Authorization: Bearer <token>","scheme":"bearer","type":"http"}},"responses":{"GetTicketFormResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTicketFormResponseBody"}}},"description":""},"BadRequestApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request was invalid or could not be completed."},"ForbiddenApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The authenticated caller or organization is not allowed to access this endpoint or operation."},"ErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":""},"InternalServerErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"An unexpected internal error occurred."}},"schemas":{"GetTicketFormResponseBody":{"properties":{"data":{"$ref":"#/components/schemas/TicketForm"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"type":"object"},"TicketForm":{"properties":{"description_html":{"description":"The description of the ticket form in HTML.","type":"string"},"fields":{"description":"The layout of the ticket form.","items":{"$ref":"#/components/schemas/TicketFormLayoutField"},"type":"array"},"id":{"description":"The ID of the ticket form.","type":"string"},"is_public":{"description":"Indicates if the ticket form is public.","type":"boolean"},"name":{"description":"The name of the ticket form.","type":"string"},"slug":{"description":"The slug of the ticket form.","type":"string"},"url":{"description":"The URL of the ticket form.","type":"string"}},"type":"object"},"TicketFormLayoutField":{"properties":{"description_html":{"description":"The description of the ticket form layout field in HTML.","type":"string"},"hidden":{"description":"Indicates whether the field starts hidden. A hidden field is only shown when a\nvisibility condition on another field lists it as visible.","type":"boolean"},"name":{"description":"The name of the ticket form layout field.","type":"string"},"required":{"description":"Indicates whether the field is required when submitting the ticket form.","type":"boolean"},"slug":{"description":"The slug of the ticket form layout field.","type":"string"},"type":{"description":"The type of the ticket form layout field.","type":"string"},"visibility_conditions":{"description":"Visibility conditions triggered by this field's value. Each condition reveals or\nrequires other fields when its filter matches. Follow affected_fields slugs to\nother fields' visibility_conditions to reconstruct nested rules.","items":{"$ref":"#/components/schemas/TicketFormVisibilityCondition"},"type":"array"}},"type":"object"},"TicketFormVisibilityCondition":{"properties":{"affected_fields":{"description":"The fields revealed or required when the condition matches.","items":{"$ref":"#/components/schemas/TicketFormVisibilityAffectedField"},"type":"array"},"filter":{"$ref":"#/components/schemas/Filter"},"filter_unsupported":{"description":"True when the condition's filter cannot be expressed in the API filter format.\nThe condition still applies when the form is submitted, but its filter is omitted here.","type":"boolean"},"id":{"description":"The ID of the visibility condition.","type":"string"}},"type":"object"},"TicketFormVisibilityAffectedField":{"properties":{"required":{"description":"Whether the field is required while the condition matches.","type":"boolean"},"slug":{"description":"The slug of the affected ticket form field.","type":"string"},"type":{"description":"The type of the affected ticket form field.","type":"string"},"visible":{"description":"Whether the field is shown while the condition matches.","type":"boolean"}},"type":"object"},"Filter":{"properties":{"field":{"description":"The field for this filter.  For allowed fields, see the documentation for\nthe specific endpoint you are using.\nFor non-compound filters (any operators other than \"and\" or \"or\"),\nfield must be set, along with either value or values, depending on the operator.","type":"string"},"operator":{"description":"The operator for this filter.","enum":["equals","not_equals","contains","does_not_contain","in","not_in","and","or","time_is_after","time_is_before","time_range","string_contains","string_does_not_contain","is_set","is_unset","greater_than","less_than","greater_than_or_equals","less_than_or_equals","includes_all_of","starts_with","ends_with"],"type":"string"},"subfilters":{"description":"Sub-filters for this filter.  Valid only when operator is \"and\" or \"or\".\nThe maximum allowed depth for a tree of filters is 3.","items":{"$ref":"#/components/schemas/Filter"},"type":"array"},"value":{"description":"The value for this filter. Only used for single-valued operators\n(\"equals\", \"not_equals\", \"contains\", \"does_not_contain\")","type":"string"},"values":{"description":"The values for this filter. Only used for multi-valued operators (\"in\", \"not_in\").","items":{"type":"string"},"type":"array"}},"required":["operator"],"type":"object"},"ErrorApiResponseBody":{"properties":{"errors":{"description":"The list of errors.","items":{"type":"string"},"type":"array"},"exists_id":{"description":"The ID of the object that already exists if this is a duplicate object error.","type":"string"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"type":"object"}}},"paths":{"/ticket-forms/{id}":{"get":{"description":"Returns a single ticket form by ID.\n\n**Rate limit:** 300 requests per minute","operationId":"GetTicketForm","parameters":[{"description":"The ID of the ticket form to fetch.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"$ref":"#/components/responses/GetTicketFormResponse"},"400":{"$ref":"#/components/responses/BadRequestApiResponse"},"403":{"$ref":"#/components/responses/ForbiddenApiResponse"},"404":{"$ref":"#/components/responses/ErrorApiResponse"},"500":{"$ref":"#/components/responses/InternalServerErrorApiResponse"}},"summary":"Get a ticket form","tags":["ticket-forms"]}}}}
```

## Submit a ticket form

> Creates an issue from a configured ticket form. Provide either requester\_id or both requester\_email and requester\_name. Field types are inferred from the ticket form; use value for single-value fields and values for multi-value and file-upload fields.\
> \
> \*\*Rate limit:\*\* 30 requests per minute

```json
{"openapi":"3.0.3","info":{"title":"Pylon API.","version":"1.0.0"},"servers":[{"description":"US region","url":"https://api.usepylon.com"},{"description":"EU region","url":"https://api.eu.usepylon.com"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"description":"Authorization: Bearer <token>","scheme":"bearer","type":"http"}},"schemas":{"SubmitTicketFormRequest":{"properties":{"attachment_urls":{"description":"HTTPS URLs to attach to the initial ticket message. URLs are copied into durable Pylon storage before the submission is persisted.","items":{"type":"string"},"type":"array"},"fields":{"description":"The submitted ticket form fields. Use the slugs returned by GET /ticket-forms/{id}, excluding name and email, which are supplied through the requester fields above.","items":{"$ref":"#/components/schemas/SubmitTicketFormField"},"type":"array"},"requester_email":{"description":"The requester's email address. Must be provided with requester_name and cannot be combined with requester_id.","type":"string"},"requester_id":{"description":"The ID of an existing contact to use as the requester. Provide either requester_id or both requester_email and requester_name.","type":"string"},"requester_name":{"description":"The requester's full name. Must be provided with requester_email and cannot be combined with requester_id.","type":"string"}},"type":"object"},"SubmitTicketFormField":{"properties":{"slug":{"description":"The field slug returned by GET /ticket-forms/{id}.","type":"string"},"value":{"description":"The submitted value for a single-value field.","type":"string"},"values":{"description":"The submitted values for a multi-value field, or HTTPS URLs for a file-upload field. File-upload URLs are copied into durable Pylon storage before the submission is persisted.","items":{"type":"string"},"type":"array"}},"required":["slug"],"type":"object"},"SubmitTicketFormResponseBody":{"properties":{"data":{"$ref":"#/components/schemas/Issue"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"type":"object"},"Issue":{"properties":{"account":{"$ref":"#/components/schemas/MiniAccount"},"active_time_by_user":{"description":"Active time spent on the issue broken down per user, if any.","items":{"$ref":"#/components/schemas/ActiveTimeByUser"},"type":"array"},"active_time_seconds":{"description":"The total active time spent on the issue in seconds, if any. Equals the sum of the per-user active time.","format":"int64","type":"integer"},"assignee":{"$ref":"#/components/schemas/MiniUser"},"attachment_urls":{"description":"The attachment URLs attached to this issue, if any.","items":{"type":"string"},"type":"array"},"author_unverified":{"description":"Whether any message on the issue has an unverified author identity. True if any message author's identity has NOT been verified (e.g., from public forms).","type":"boolean"},"body_html":{"description":"The body of the issue in HTML format.","type":"string"},"business_hours_active_time_seconds":{"description":"The total business-hours active time spent on the issue in seconds, if any. Equals the sum of the per-user business-hours active time.","format":"int64","type":"integer"},"business_hours_first_response_seconds":{"description":"The business hours time in seconds it took for the first response to the issue, if any.","format":"int64","type":"integer"},"business_hours_resolution_seconds":{"description":"The business hours time in seconds it took for the issue to be resolved, if any.","format":"int64","type":"integer"},"business_hours_time_in_status_seconds":{"additionalProperties":{"format":"int64","type":"integer"},"description":"A map of status slug to the business hours time in seconds the issue has spent in that status. Includes both base statuses (e.g. \"new\", \"waiting_on_you\") and custom statuses.","type":"object"},"chat_widget_info":{"$ref":"#/components/schemas/IssueChatWidgetInfo"},"child_issues":{"description":"The child issues in this group, if this issue is an issue group.","items":{"$ref":"#/components/schemas/MiniIssue"},"type":"array"},"created_at":{"description":"The time the issue was created.","type":"string"},"csat_responses":{"description":"The CSAT responses of the issue, if any.","items":{"$ref":"#/components/schemas/CSATResponse"},"type":"array"},"custom_fields":{"additionalProperties":{"$ref":"#/components/schemas/CustomFieldValue"},"description":"Custom field values associated with the issue.","type":"object"},"customer_portal_visible":{"description":"Whether the issue is visible in the customer portal.","type":"boolean"},"external_issues":{"description":"The external issues associated with the issue, if any.","items":{"$ref":"#/components/schemas/ExternalIssue"},"type":"array"},"first_resolution_time":{"description":"The time of the first resolution of the issue, if any. Frozen at the issue's first resolution and never updated on reopen/re-resolve.","type":"string"},"first_response_breach_time":{"description":"The time by which the issue's first response SLA will breach, if any. Only present for issues with an active first response SLA.","type":"string"},"first_response_seconds":{"description":"The time in seconds it took for the first response to the issue, if any.","format":"int64","type":"integer"},"first_response_time":{"description":"The time of the first response to the issue, if any.","type":"string"},"id":{"description":"The ID of the issue.","type":"string"},"is_issue_group":{"description":"Whether this issue is an issue group.","type":"boolean"},"latest_message_time":{"description":"The time of the latest message in the issue.","type":"string"},"link":{"description":"The link to the issue in Pylon.","type":"string"},"number":{"description":"The number of the issue.","format":"int64","type":"integer"},"number_of_touches":{"description":"The number of times the issue has been touched.","format":"int64","type":"integer"},"parent_issue_group":{"$ref":"#/components/schemas/MiniIssue"},"requester":{"$ref":"#/components/schemas/MiniContact"},"resolution_breach_time":{"description":"The time by which the issue's resolution SLA will breach, if any. Only present for open issues with an active resolution SLA.","type":"string"},"resolution_seconds":{"description":"The time in seconds it took for the issue to be resolved, if any.","format":"int64","type":"integer"},"resolution_time":{"description":"The time of the resolution of the issue, if any.","type":"string"},"slack":{"$ref":"#/components/schemas/SlackInfo"},"snoozed_until_time":{"description":"The time the issue was snoozed until in RFC3339 format, if any.","type":"string"},"source":{"description":"The source of the issue.","enum":["slack","microsoft_teams","microsoft_teams_chat","chat_widget","customer_portal","email","manual","form","discord","google_chat","whatsapp","sms","telegram","phone"],"type":"string"},"state":{"description":"The state of the issue. Standard values are `new`, `waiting_on_you`, `waiting_on_customer`, `on_hold`, and `closed`; custom status slugs are also supported.","type":"string"},"tags":{"description":"Tags associated with the issue.","items":{"type":"string"},"type":"array"},"team":{"$ref":"#/components/schemas/MiniTeam"},"team_slas":{"description":"The team-scoped SLAs on the issue, if any. One entry per team, mirroring the issue-level first response and resolution SLA fields.","items":{"$ref":"#/components/schemas/TeamSLA"},"type":"array"},"time_in_status_seconds":{"additionalProperties":{"format":"int64","type":"integer"},"description":"A map of status slug to the time in seconds the issue has spent in that status. Includes both base statuses (e.g. \"new\", \"waiting_on_you\") and custom statuses.","type":"object"},"title":{"description":"The title of the issue.","type":"string"},"type":{"description":"The type of the issue.","enum":["conversation","ticket"],"type":"string"},"updated_at":{"description":"The time the issue was last updated.","type":"string"},"workspace_email":{"description":"The email address connected to the Pylon workspace through which the issue's email conversation is routed. For inbound issues, this is the address that received the original email.","type":"string"}},"type":"object"},"MiniAccount":{"properties":{"external_ids":{"description":"External IDs associated with the account.","items":{"$ref":"#/components/schemas/ExternalID"},"type":"array"},"id":{"description":"The ID of the account.","type":"string"}},"type":"object"},"ExternalID":{"properties":{"external_id":{"description":"The external ID. Must be unique per object type (ex. account).","type":"string"},"label":{"description":"The label of the external ID. Must be unique per object.","type":"string"}},"type":"object"},"ActiveTimeByUser":{"properties":{"active_time_seconds":{"description":"The user's active time on the issue in seconds.","format":"int64","type":"integer"},"business_hours_active_time_seconds":{"description":"The user's business-hours active time on the issue in seconds.","format":"int64","type":"integer"},"user_id":{"description":"The ID of the user who spent the time.","type":"string"}},"type":"object"},"MiniUser":{"properties":{"email":{"description":"The email of the user.","type":"string"},"id":{"description":"The ID of the user.","type":"string"}},"type":"object"},"IssueChatWidgetInfo":{"properties":{"page_url":{"description":"The URL of the page that the user was on when they started the chat widget issue.","type":"string"}},"type":"object"},"MiniIssue":{"properties":{"id":{"description":"The ID of the issue.","type":"string"},"number":{"description":"The number of the issue.","format":"int64","type":"integer"},"title":{"description":"The title of the issue.","type":"string"}},"type":"object"},"CSATResponse":{"properties":{"comment":{"description":"The comment of the CSAT response.","type":"string"},"score":{"description":"The score of the CSAT response.","format":"int64","type":"integer"}},"type":"object"},"CustomFieldValue":{"properties":{"slug":{"description":"The slug of the custom field.","type":"string"},"value":{"description":"The value of the custom field. Only to be used for single-valued custom fields. If unset, the custom field will be unset. If the custom field is a select field, the value must be the select option slug, which you can find from the GET /custom-fields endpoint. If the custom field is a relationship field, the value must be the related object ID.","type":"string"},"values":{"description":"The values of the custom field. Only to be used for multi-valued custom fields (ex. multiselect). If unset, the custom field will be unset. If the custom field is a multiselect field, the values must be the select option slugs which you can find from the GET /custom-fields endpoint.","items":{"type":"string"},"type":"array"}},"type":"object"},"ExternalIssue":{"properties":{"external_id":{"description":"The external ID of the external issue.\nJira: ID of the issue (autoincrementing number from 10000).\nGitHub: Owner/Repo/IssueID.\nLinear: ID of the issue (UUID).\nAsana: ID of the task (Long number).","type":"string"},"link":{"description":"Link to the product issue.","type":"string"},"source":{"description":"The source of the external issue.","type":"string"}},"type":"object"},"MiniContact":{"properties":{"email":{"description":"The email of the contact.","type":"string"},"id":{"description":"The ID of the contact.","type":"string"}},"type":"object"},"SlackInfo":{"properties":{"channel_id":{"description":"The Slack channel ID associated with the issue.","type":"string"},"message_ts":{"description":"The root message ID of slack message that started issue.","type":"string"},"workspace_id":{"description":"The Slack workspace ID associated with the issue.","type":"string"}},"type":"object"},"MiniTeam":{"properties":{"id":{"description":"The ID of the team.","type":"string"}},"type":"object"},"TeamSLA":{"properties":{"first_resolution":{"$ref":"#/components/schemas/SLATimes"},"first_response":{"$ref":"#/components/schemas/SLATimes"},"resolution":{"$ref":"#/components/schemas/SLATimes"},"team_id":{"description":"The ID of the team these are scoped to.","type":"string"}},"type":"object"},"SLATimes":{"properties":{"breach_time":{"description":"The time at which it breaches (or has breached), if any.","type":"string"},"business_hours_seconds":{"description":"The elapsed business-hours time in seconds, if any.","format":"int64","type":"integer"},"seconds":{"description":"The elapsed time in seconds, if any.","format":"int64","type":"integer"},"time":{"description":"The time it was reached, if any.","type":"string"}},"type":"object"},"ErrorApiResponseBody":{"properties":{"errors":{"description":"The list of errors.","items":{"type":"string"},"type":"array"},"exists_id":{"description":"The ID of the object that already exists if this is a duplicate object error.","type":"string"},"request_id":{"description":"The request ID for tracking.","type":"string"}},"type":"object"}},"responses":{"SubmitTicketFormResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitTicketFormResponseBody"}}},"description":""},"BadRequestApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The request was invalid or could not be completed."},"ForbiddenApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"The authenticated caller or organization is not allowed to access this endpoint or operation."},"ErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":""},"InternalServerErrorApiResponse":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorApiResponseBody"}}},"description":"An unexpected internal error occurred."}}},"paths":{"/ticket-forms/{id}/submissions":{"post":{"description":"Creates an issue from a configured ticket form. Provide either requester_id or both requester_email and requester_name. Field types are inferred from the ticket form; use value for single-value fields and values for multi-value and file-upload fields.\n\n**Rate limit:** 30 requests per minute","operationId":"SubmitTicketForm","parameters":[{"description":"The ID of the ticket form to submit.","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitTicketFormRequest"}}}},"responses":{"200":{"$ref":"#/components/responses/SubmitTicketFormResponse"},"400":{"$ref":"#/components/responses/BadRequestApiResponse"},"403":{"$ref":"#/components/responses/ForbiddenApiResponse"},"404":{"$ref":"#/components/responses/ErrorApiResponse"},"500":{"$ref":"#/components/responses/InternalServerErrorApiResponse"}},"summary":"Submit a ticket form","tags":["ticket-forms"]}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.usepylon.com/pylon-docs/developer/api/api-reference/ticket-forms.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
