• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

Teamwork Desk Create New Ticket via API

amir

Member
Hey Everyone,

I am trying to create a Teamwork Desk API call to Create a New Ticket, but seems something is off and not properly; please check this screenshot and suggest

API DOCS:


1700034008094.png
 

Himesh

Active member
You are sending it in key/value which is wrong you should send it in JSON body.
Please refer below body params.

{
"agent": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"bcc": [
"string"
],
"cc": [
"string"
],
"customer": {
"email": "string",
"id": 0
},
"customfields": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"editMethod": "string",
"email": "string",
"files": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"fromThreadId": 0,
"fromTicketId": 0,
"inbox": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"message": "string",
"notifyCustomer": true,
"parent": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"priority": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"scheduledEmail": {
"body": "string",
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"deletedAt": "2019-08-24T14:15:22Z",
"deletedBy": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"files": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"filter_args": {
"aggregate": {
"Distinct": true,
"Field": "string",
"Operation": "string"
},
"bulkDryExecute": "false",
"fields": [
"string"
],
"filter": [
"string"
],
"id": 0,
"ids": [
0
],
"includes": [
"string"
],
"orderBy": "string",
"orderMode": "asc",
"page": 0,
"pageOffset": 0,
"pageSize": "50",
"skipAggregation": true
},
"id": 0,
"message": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"note": "string",
"scheduledemailsrefs": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"sendAt": "2019-08-24T14:15:22Z",
"state": "string",
"status": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"ticket": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"timezone": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"title": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"updatedBy": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"zone": "string"
},
"sendFrom": "string",
"source": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"status": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"subject": "string",
"tags": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"tickettemplate": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"type": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
}

Hope you find this useful.
If you are still not able to solve this on your own feel free to DM me and we can do a free zoom call. FYI I'm not from Pabbly Connect team, just a freelancer you helps other Pabbly users.
 

amir

Member
Intr
You are sending it in key/value which is wrong you should send it in JSON body.
Please refer below body params.

{
"agent": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"bcc": [
"string"
],
"cc": [
"string"
],
"customer": {
"email": "string",
"id": 0
},
"customfields": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"editMethod": "string",
"email": "string",
"files": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"fromThreadId": 0,
"fromTicketId": 0,
"inbox": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"message": "string",
"notifyCustomer": true,
"parent": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"priority": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"scheduledEmail": {
"body": "string",
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"deletedAt": "2019-08-24T14:15:22Z",
"deletedBy": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"files": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"filter_args": {
"aggregate": {
"Distinct": true,
"Field": "string",
"Operation": "string"
},
"bulkDryExecute": "false",
"fields": [
"string"
],
"filter": [
"string"
],
"id": 0,
"ids": [
0
],
"includes": [
"string"
],
"orderBy": "string",
"orderMode": "asc",
"page": 0,
"pageOffset": 0,
"pageSize": "50",
"skipAggregation": true
},
"id": 0,
"message": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"note": "string",
"scheduledemailsrefs": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"sendAt": "2019-08-24T14:15:22Z",
"state": "string",
"status": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"ticket": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"timezone": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"title": "string",
"updatedAt": "2019-08-24T14:15:22Z",
"updatedBy": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"zone": "string"
},
"sendFrom": "string",
"source": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"status": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"subject": "string",
"tags": [
{
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
],
"tickettemplate": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
},
"type": {
"delete": true,
"id": 0,
"meta": {},
"type": 0
}
}

Hope you find this useful.
If you are still not able to solve this on your own feel free to DM me and we can do a free zoom call. FYI I'm not from Pabbly Connect team, just a freelancer you helps other Pabbly users.

I tried sending you message via your profile messenger link but link doesn't work.
 

amir

Member
if i understand you correctly, you meant to send data in body in a Custom Request


something like this, is that correct?

1700094621247.png
 
Top