mutation

submitCustomForm

Create user-entered data from a custom form for processing.
Arguments
customFormSubmissionPayloadInput
CustomFormSubmissionPayloadInput
Data related to filled form fields.
Required
Slug of form whose response is getting submitted.
Response
message
String!
Required
Success message for form submission.
Ticket created on form submission.
Mutation
1mutation submitCustomForm(
2 $customFormSubmissionPayloadInput: CustomFormSubmissionPayloadInput
3 $slug: String!
4) {
5 submitCustomForm(
6 customFormSubmissionPayloadInput: $customFormSubmissionPayloadInput
7 slug: $slug
8 ) {
9 message
10 ticket {
11 _custom_json
12 _id
13 assigned_to
14 created_at
15 created_by
16 integration
17 is_feedback_pending
18 response_id
19 source
20 sub_category
21 tags
22 updated_at
23 }
24 }
25}
Try it
Input Variables
1{
2 "customFormSubmissionPayloadInput": {
3 "attachments": [
4 {
5 "display": "display",
6 "type": "image",
7 "value": "value"
8 }
9 ],
10 "response": [
11 {}
12 ]
13 },
14 "slug": "slug"
15}
Response
1{
2 "submitCustomForm": {
3 "message": "message",
4 "ticket": {
5 "_custom_json": {},
6 "_id": "_id",
7 "assigned_to": {},
8 "created_at": "created_at",
9 "created_by": {},
10 "integration": {},
11 "is_feedback_pending": true,
12 "response_id": "response_id",
13 "source": "platform_panel",
14 "sub_category": "sub_category",
15 "tags": [
16 "tags"
17 ],
18 "updated_at": "updated_at"
19 }
20 }
21}