API Reference
Zendesk Connector for AWS Mobile Hub
This page refers to the AWS Mobile Hub Connectors feature that connects your mobile app to
Zendesk SaaS APIs.
For more information, see
Connectors in the AWS Mobile Hub Developer Guide
zendesknative
[ Jump to Models ]
Table of Contents
Upload a file (createAttachment)
Request body
file (required)
Body Parameter — data to be uploaded.
Request headers
Query parameters
fileName (required)
Query Parameter — Name of the file
token (optional)
Query Parameter — optional token
Return type
Example data
Content-Type: application/json
{
"thumbnail" : [ {
"content_type" : "aeiou",
"size" : 123,
"file_name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
} ],
"content_type" : "aeiou",
"size" : 123,
"file_name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
}
Responses
200
OK - Everything worked as expected
attachment
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
409
Conflict - If a resource being created already exists
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Create a ticket. (createTicket)
Request body
body (required)
Body Parameter — Ticket to create
Request headers
Return type
Example data
Content-Type: application/json
{
"subject" : "aeiou",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"description" : "aeiou",
"external_id" : "aeiou",
"type" : "aeiou",
"via" : { },
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"problem_id" : 123456789,
"due_at" : "2000-01-23T04:56:07.000+00:00",
"id" : 123456789,
"assignee_id" : 123456789,
"raw_subject" : "aeiou",
"forum_topic_id" : 123456789,
"custom_fields" : [ {
"id" : 123456789,
"value" : "aeiou"
} ],
"allow_channelback" : true,
"satisfaction_rating" : {
"score" : "aeiou",
"comment" : "aeiou",
"id" : 123456789
},
"submitter_id" : 123456789,
"priority" : "aeiou",
"collaborator_ids" : [ 123456789 ],
"url" : "aeiou",
"tags" : [ "aeiou" ],
"brand_id" : 123456789,
"ticket_form_id" : 123456789,
"sharing_agreement_ids" : [ 123456789 ],
"group_id" : 123456789,
"organization_id" : 123456789,
"recipient" : "aeiou",
"is_public" : true,
"has_incidents" : true,
"status" : "aeiou",
"requester_id" : 123456789
}
Responses
200
OK - Everything worked as expected
ticket
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
409
Conflict - If a resource being created already exists
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Create ticket fields (createTicketField)
Request body
body (required)
Body Parameter — ticket-fields to be created
Request headers
Return type
Example data
Content-Type: application/json
{
"raw_title" : "aeiou",
"collapsed_for_agents" : true,
"visible_in_portal" : true,
"description" : "aeiou",
"active" : true,
"raw_title_in_portal" : "aeiou",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"type" : "aeiou",
"title" : "aeiou",
"raw_description" : "aeiou",
"url" : "aeiou",
"required" : true,
"editable_in_portal" : true,
"required_in_portal" : true,
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"system_field_options" : [ {
"name" : "aeiou",
"value" : "aeiou"
} ],
"removable" : true,
"regexp_for_validation" : "aeiou",
"id" : 123456789,
"position" : 123,
"tag" : "aeiou",
"title_in_portal" : "aeiou"
}
Responses
200
OK - Everything worked as expected
ticketField
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
409
Conflict - If a resource being created already exists
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Create a user (createUser)
Request body
users (required)
Body Parameter — The users object
Request headers
Return type
Example data
Content-Type: application/json
{
"shared" : true,
"last_login_at" : "2000-01-23T04:56:07.000+00:00",
"notes" : "aeiou",
"role" : "aeiou",
"signature" : "aeiou",
"shared_agent" : true,
"custom_role_id" : 123456789,
"moderator" : true,
"created_at" : "2000-01-23T04:56:07.000+00:00",
"external_id" : "aeiou",
"locale" : "aeiou",
"locale_id" : 123456789,
"user_fields" : {
"user_decimal" : 1.3579000000000001069366817318950779736042022705078125,
"user_dropdown" : "aeiou",
"user_date" : "aeiou"
},
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"alias" : "aeiou",
"details" : "aeiou",
"id" : 123456789,
"email" : "aeiou",
"restricted_agent" : true,
"only_private_comments" : true,
"verified" : true,
"active" : true,
"photo" : {
"content_type" : "aeiou",
"size" : 123,
"name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789,
"thumbnails" : [ {
"content_type" : "aeiou",
"size" : 123,
"name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
} ]
},
"time_zone" : "aeiou",
"url" : "aeiou",
"suspended" : true,
"tags" : [ "aeiou" ],
"phone" : "aeiou",
"organization_id" : 123456789,
"name" : "aeiou",
"ticket_restriction" : "aeiou"
}
Responses
200
OK - Everything worked as expected
user
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
409
Conflict - If a resource being created already exists
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Up
delete /attachments/{id}
Delete an attachment by Id. (deleteAttachmentById)
Path parameters
id (required)
Path Parameter — The Id of the attachment.
Request headers
Responses
200
OK - Everything worked as expected
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Delete a ticket by Id. (deleteTicketById)
Path parameters
id (required)
Path Parameter — The whatever ID
Request headers
Responses
200
OK - Everything worked as expected
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Up
delete /ticket-fields/{id}
Delete ticket fields. (deleteTicketFieldById)
Path parameters
id (required)
Path Parameter — The text fields ID
Request headers
Responses
200
OK - Everything worked as expected
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Delete a user by Id (deleteUserById)
Path parameters
id (required)
Path Parameter — The user ID
Request headers
Responses
200
OK - Everything worked as expected
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Retrieve an attachment by Id (getAttachmentById)
Path parameters
id (required)
Path Parameter — The ID of the attachment
Request headers
Return type
Example data
Content-Type: application/json
{
"thumbnail" : [ {
"content_type" : "aeiou",
"size" : 123,
"file_name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
} ],
"content_type" : "aeiou",
"size" : 123,
"file_name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
}
Responses
200
OK - Everything worked as expected
attachment
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Unified search API that returns tickets, users, and organizations. (getSearch)
Request headers
Query parameters
query (optional)
Query Parameter — search query to send
pageSize (optional)
Query Parameter —
continuationToken (optional)
Query Parameter —
Return type
Example data
Content-Type: application/json
{
"nextContinuationToken" : "aeiou",
"data" : [ {
"notes" : "aeiou",
"subject" : "aeiou",
"moderator" : true,
"type" : "aeiou",
"via" : { },
"locale_id" : 123456789,
"user_fields" : {
"user_decimal" : 1.3579000000000001069366817318950779736042022705078125,
"user_dropdown" : "aeiou",
"user_date" : "aeiou"
},
"details" : "aeiou",
"id" : 123456789,
"raw_subject" : "aeiou",
"two_factor_auth_enabled" : true,
"custom_fields" : [ {
"id" : 123456789,
"value" : "aeiou"
} ],
"allow_channelback" : true,
"active" : true,
"priority" : "aeiou",
"suspended" : true,
"tags" : [ "aeiou" ],
"brand_id" : 123456789,
"phone" : "aeiou",
"organization_id" : 123456789,
"name" : "aeiou",
"has_incidents" : true,
"fields" : [ {
"id" : 123456789,
"value" : true
} ],
"ticket_restriction" : "aeiou",
"chat_only" : true,
"status" : "aeiou",
"requester_id" : 123456789,
"shared" : true,
"role" : "aeiou",
"shared_agent" : true,
"created_at" : "2000-01-23T04:56:07.000+00:00",
"description" : "aeiou",
"external_id" : "aeiou",
"locale" : "aeiou",
"organization_fields" : {
"autotaskaccountid" : "aeiou"
},
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"alias" : "aeiou",
"shared_comments" : true,
"email" : "aeiou",
"assignee_id" : 123456789,
"restricted_agent" : true,
"shared_tickets" : true,
"result_type" : "aeiou",
"only_private_comments" : true,
"verified" : true,
"submitter_id" : 123456789,
"time_zone" : "aeiou",
"url" : "aeiou",
"domain_names" : [ "aeiou" ],
"ticket_form_id" : 123456789,
"deleted" : true,
"group_id" : 123456789,
"is_public" : true
} ],
"returnedCount" : ""
}
Responses
200
OK - Everything worked as expected
searchList
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Get Job Statuses by id. (getStatuseById)
Path parameters
id (required)
Path Parameter — The whatever ID
Request headers
Return type
Example data
Content-Type: application/json
{
"total" : 123456789,
"progress" : 123456789,
"id" : "aeiou",
"message" : "aeiou",
"results" : [ {
"success" : true,
"action" : "aeiou",
"id" : 123456789,
"title" : "aeiou",
"errors" : "aeiou",
"status" : "aeiou"
} ],
"url" : "aeiou",
"status" : "aeiou"
}
Responses
200
OK - Everything worked as expected
status
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Get a ticket by id (getTicketById)
Path parameters
id (required)
Path Parameter — The ticket ID
Request headers
Return type
Example data
Content-Type: application/json
{
"subject" : "aeiou",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"description" : "aeiou",
"external_id" : "aeiou",
"type" : "aeiou",
"via" : { },
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"problem_id" : 123456789,
"due_at" : "2000-01-23T04:56:07.000+00:00",
"id" : 123456789,
"assignee_id" : 123456789,
"raw_subject" : "aeiou",
"forum_topic_id" : 123456789,
"custom_fields" : [ {
"id" : 123456789,
"value" : "aeiou"
} ],
"allow_channelback" : true,
"satisfaction_rating" : {
"score" : "aeiou",
"comment" : "aeiou",
"id" : 123456789
},
"submitter_id" : 123456789,
"priority" : "aeiou",
"collaborator_ids" : [ 123456789 ],
"url" : "aeiou",
"tags" : [ "aeiou" ],
"brand_id" : 123456789,
"ticket_form_id" : 123456789,
"sharing_agreement_ids" : [ 123456789 ],
"group_id" : 123456789,
"organization_id" : 123456789,
"recipient" : "aeiou",
"is_public" : true,
"has_incidents" : true,
"status" : "aeiou",
"requester_id" : 123456789
}
Responses
200
OK - Everything worked as expected
ticket
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Up
get /ticket-fields/{id}
Get the ticket-fields by id (getTicketFieldById)
Path parameters
id (required)
Path Parameter — The ticket field ID
Request headers
Return type
Example data
Content-Type: application/json
{
"raw_title" : "aeiou",
"collapsed_for_agents" : true,
"visible_in_portal" : true,
"description" : "aeiou",
"active" : true,
"raw_title_in_portal" : "aeiou",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"type" : "aeiou",
"title" : "aeiou",
"raw_description" : "aeiou",
"url" : "aeiou",
"required" : true,
"editable_in_portal" : true,
"required_in_portal" : true,
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"system_field_options" : [ {
"name" : "aeiou",
"value" : "aeiou"
} ],
"removable" : true,
"regexp_for_validation" : "aeiou",
"id" : 123456789,
"position" : 123,
"tag" : "aeiou",
"title_in_portal" : "aeiou"
}
Responses
200
OK - Everything worked as expected
ticketField
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Retrieve a list of ticket fields (getTicketFields)
Request headers
Query parameters
pageSize (optional)
Query Parameter — The number of resources to return in a given page
continuationToken (optional)
Query Parameter — The page number of resources to retrieve
Return type
Example data
Content-Type: application/json
{
"nextContinuationToken" : "aeiou",
"data" : [ {
"raw_title" : "aeiou",
"collapsed_for_agents" : true,
"visible_in_portal" : true,
"description" : "aeiou",
"active" : true,
"raw_title_in_portal" : "aeiou",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"type" : "aeiou",
"title" : "aeiou",
"raw_description" : "aeiou",
"url" : "aeiou",
"required" : true,
"editable_in_portal" : true,
"required_in_portal" : true,
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"system_field_options" : [ {
"name" : "aeiou",
"value" : "aeiou"
} ],
"removable" : true,
"regexp_for_validation" : "aeiou",
"id" : 123456789,
"position" : 123,
"tag" : "aeiou",
"title_in_portal" : "aeiou"
} ],
"returnedCount" : ""
}
Responses
200
OK - Everything worked as expected
ticketFieldList
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Fetch a list of tickets (getTickets)
Request headers
Query parameters
sortOrder (optional)
Query Parameter — Sort order while getting the tickets
sortby (optional)
Query Parameter — Sort by property name
pageSize (optional)
Query Parameter — The number of resources to return in a given page
continuationToken (optional)
Query Parameter — The page number of resources to retrieve
Return type
Example data
Content-Type: application/json
{
"nextContinuationToken" : "aeiou",
"data" : [ {
"subject" : "aeiou",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"description" : "aeiou",
"external_id" : "aeiou",
"type" : "aeiou",
"via" : { },
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"problem_id" : 123456789,
"due_at" : "2000-01-23T04:56:07.000+00:00",
"id" : 123456789,
"assignee_id" : 123456789,
"raw_subject" : "aeiou",
"forum_topic_id" : 123456789,
"custom_fields" : [ {
"id" : 123456789,
"value" : "aeiou"
} ],
"allow_channelback" : true,
"satisfaction_rating" : {
"score" : "aeiou",
"comment" : "aeiou",
"id" : 123456789
},
"submitter_id" : 123456789,
"priority" : "aeiou",
"collaborator_ids" : [ 123456789 ],
"url" : "aeiou",
"tags" : [ "aeiou" ],
"brand_id" : 123456789,
"ticket_form_id" : 123456789,
"sharing_agreement_ids" : [ 123456789 ],
"group_id" : 123456789,
"organization_id" : 123456789,
"recipient" : "aeiou",
"is_public" : true,
"has_incidents" : true,
"status" : "aeiou",
"requester_id" : 123456789
} ],
"returnedCount" : ""
}
Responses
200
OK - Everything worked as expected
ticketList
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Up
get /tickets/{id}/comments
Retrieve a list of comments on a ticket (getTicketsComments)
Path parameters
id (required)
Path Parameter — The ticket ID
Request headers
Return type
Example data
Content-Type: application/json
{
"nextContinuationToken" : "aeiou",
"data" : [ {
"metadata" : { },
"attachments" : [ {
"content_type" : "aeiou",
"size" : 123,
"file_name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
} ],
"public" : true,
"created_at" : "aeiou",
"id" : 123456789,
"type" : "aeiou",
"body" : "aeiou",
"author_id" : 123456789,
"via" : { }
} ],
"returnedCount" : ""
}
Responses
200
OK - Everything worked as expected
ticketCommentList
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Fetch a user by id (getUserById)
Path parameters
id (required)
Path Parameter — The users ID
Request headers
Return type
Example data
Content-Type: application/json
{
"shared" : true,
"last_login_at" : "2000-01-23T04:56:07.000+00:00",
"notes" : "aeiou",
"role" : "aeiou",
"signature" : "aeiou",
"shared_agent" : true,
"custom_role_id" : 123456789,
"moderator" : true,
"created_at" : "2000-01-23T04:56:07.000+00:00",
"external_id" : "aeiou",
"locale" : "aeiou",
"locale_id" : 123456789,
"user_fields" : {
"user_decimal" : 1.3579000000000001069366817318950779736042022705078125,
"user_dropdown" : "aeiou",
"user_date" : "aeiou"
},
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"alias" : "aeiou",
"details" : "aeiou",
"id" : 123456789,
"email" : "aeiou",
"restricted_agent" : true,
"only_private_comments" : true,
"verified" : true,
"active" : true,
"photo" : {
"content_type" : "aeiou",
"size" : 123,
"name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789,
"thumbnails" : [ {
"content_type" : "aeiou",
"size" : 123,
"name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
} ]
},
"time_zone" : "aeiou",
"url" : "aeiou",
"suspended" : true,
"tags" : [ "aeiou" ],
"phone" : "aeiou",
"organization_id" : 123456789,
"name" : "aeiou",
"ticket_restriction" : "aeiou"
}
Responses
200
OK - Everything worked as expected
user
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Retrieve a list of users (getUsers)
Request headers
Query parameters
where (optional)
Query Parameter — The CEQL search expression.
role (optional)
Query Parameter — filter users depend upon role.for a single role. Possible values are "end-user", "agent", or "admin"
pageSize (optional)
Query Parameter — The number of resources to return in a given page
continuationToken (optional)
Query Parameter — The page number of resources to retrieve
Return type
Example data
Content-Type: application/json
{
"nextContinuationToken" : "aeiou",
"data" : [ {
"shared" : true,
"last_login_at" : "2000-01-23T04:56:07.000+00:00",
"notes" : "aeiou",
"role" : "aeiou",
"signature" : "aeiou",
"shared_agent" : true,
"custom_role_id" : 123456789,
"moderator" : true,
"created_at" : "2000-01-23T04:56:07.000+00:00",
"external_id" : "aeiou",
"locale" : "aeiou",
"locale_id" : 123456789,
"user_fields" : {
"user_decimal" : 1.3579000000000001069366817318950779736042022705078125,
"user_dropdown" : "aeiou",
"user_date" : "aeiou"
},
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"alias" : "aeiou",
"details" : "aeiou",
"id" : 123456789,
"email" : "aeiou",
"restricted_agent" : true,
"only_private_comments" : true,
"verified" : true,
"active" : true,
"photo" : {
"content_type" : "aeiou",
"size" : 123,
"name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789,
"thumbnails" : [ {
"content_type" : "aeiou",
"size" : 123,
"name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
} ]
},
"time_zone" : "aeiou",
"url" : "aeiou",
"suspended" : true,
"tags" : [ "aeiou" ],
"phone" : "aeiou",
"organization_id" : 123456789,
"name" : "aeiou",
"ticket_restriction" : "aeiou"
} ],
"returnedCount" : ""
}
Responses
200
OK - Everything worked as expected
userList
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Update a ticket by id (replaceTicketById)
Path parameters
id (required)
Path Parameter — The ticket ID
Request body
body (optional)
Body Parameter — Updated ticket
Request headers
Return type
Example data
Content-Type: application/json
{
"subject" : "aeiou",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"description" : "aeiou",
"external_id" : "aeiou",
"type" : "aeiou",
"via" : { },
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"problem_id" : 123456789,
"due_at" : "2000-01-23T04:56:07.000+00:00",
"id" : 123456789,
"assignee_id" : 123456789,
"raw_subject" : "aeiou",
"forum_topic_id" : 123456789,
"custom_fields" : [ {
"id" : 123456789,
"value" : "aeiou"
} ],
"allow_channelback" : true,
"satisfaction_rating" : {
"score" : "aeiou",
"comment" : "aeiou",
"id" : 123456789
},
"submitter_id" : 123456789,
"priority" : "aeiou",
"collaborator_ids" : [ 123456789 ],
"url" : "aeiou",
"tags" : [ "aeiou" ],
"brand_id" : 123456789,
"ticket_form_id" : 123456789,
"sharing_agreement_ids" : [ 123456789 ],
"group_id" : 123456789,
"organization_id" : 123456789,
"recipient" : "aeiou",
"is_public" : true,
"has_incidents" : true,
"status" : "aeiou",
"requester_id" : 123456789
}
Responses
200
OK - Everything worked as expected
ticket
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Up
put /ticket-fields/{id}
Update Ticket Fields (replaceTicketFieldById)
Path parameters
id (required)
Path Parameter — The ticket fields ID
Request body
body (required)
Body Parameter — ticket field to be created
Request headers
Return type
Example data
Content-Type: application/json
{
"raw_title" : "aeiou",
"collapsed_for_agents" : true,
"visible_in_portal" : true,
"description" : "aeiou",
"active" : true,
"raw_title_in_portal" : "aeiou",
"created_at" : "2000-01-23T04:56:07.000+00:00",
"type" : "aeiou",
"title" : "aeiou",
"raw_description" : "aeiou",
"url" : "aeiou",
"required" : true,
"editable_in_portal" : true,
"required_in_portal" : true,
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"system_field_options" : [ {
"name" : "aeiou",
"value" : "aeiou"
} ],
"removable" : true,
"regexp_for_validation" : "aeiou",
"id" : 123456789,
"position" : 123,
"tag" : "aeiou",
"title_in_portal" : "aeiou"
}
Responses
200
OK - Everything worked as expected
ticketField
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
Update a user (replaceUserById)
Path parameters
id (required)
Path Parameter — The users ID
Request body
users (required)
Body Parameter — The users object
Request headers
Return type
Example data
Content-Type: application/json
{
"shared" : true,
"last_login_at" : "2000-01-23T04:56:07.000+00:00",
"notes" : "aeiou",
"role" : "aeiou",
"signature" : "aeiou",
"shared_agent" : true,
"custom_role_id" : 123456789,
"moderator" : true,
"created_at" : "2000-01-23T04:56:07.000+00:00",
"external_id" : "aeiou",
"locale" : "aeiou",
"locale_id" : 123456789,
"user_fields" : {
"user_decimal" : 1.3579000000000001069366817318950779736042022705078125,
"user_dropdown" : "aeiou",
"user_date" : "aeiou"
},
"updated_at" : "2000-01-23T04:56:07.000+00:00",
"alias" : "aeiou",
"details" : "aeiou",
"id" : 123456789,
"email" : "aeiou",
"restricted_agent" : true,
"only_private_comments" : true,
"verified" : true,
"active" : true,
"photo" : {
"content_type" : "aeiou",
"size" : 123,
"name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789,
"thumbnails" : [ {
"content_type" : "aeiou",
"size" : 123,
"name" : "aeiou",
"content_url" : "aeiou",
"id" : 123456789
} ]
},
"time_zone" : "aeiou",
"url" : "aeiou",
"suspended" : true,
"tags" : [ "aeiou" ],
"phone" : "aeiou",
"organization_id" : 123456789,
"name" : "aeiou",
"ticket_restriction" : "aeiou"
}
Responses
200
OK - Everything worked as expected
user
400
Bad Request - Often due to a missing request parameter
defaultErrorObject
401
Unauthorized - An invalid element token, user secret and/or org secret provided
defaultErrorObject
403
Forbidden - Access to the resource by the provider is forbidden
defaultErrorObject
404
Not found - The requested resource is not found
defaultErrorObject
405
Method not allowed - Incorrect HTTP verb used, e.g., GET used when POST expected
defaultErrorObject
500
Server error - Something went wrong on the server
defaultErrorObject
502
Server error - Internal server error
defaultErrorObject
[ Jump to Methods ]
Table of Contents
attachment
attachments
customFields
defaultErrorObject
fields
metadata
organizationFields
photo
results
s3file
satisfactionRating
search
searchList
status
systemFieldOptions
thumbnail
thumbnails
ticket
ticketComment
ticketCommentList
ticketField
ticketFieldList
ticketList
user
userFields
userList
via
thumbnail (optional)
content_type (optional)
size (optional)
file_name (optional)
content_url (optional)
id (optional)
content_type (optional)
size (optional)
file_name (optional)
content_url (optional)
id (optional)
id (optional)
value (optional)
message (optional)
providerMessage (optional)
id (optional)
value (optional)
autotaskaccountid (optional)
content_type (optional)
size (optional)
name (optional)
content_url (optional)
id (optional)
thumbnails (optional)
success (optional)
action (optional)
id (optional)
title (optional)
errors (optional)
status (optional)
x-s3-filename (optional)
x-s3-bucketname (optional)
score (optional)
comment (optional)
id (optional)
notes (optional)
subject (optional)
moderator (optional)
type (optional)
via (optional)
locale_id (optional)
user_fields (optional)
details (optional)
id (optional)
raw_subject (optional)
two_factor_auth_enabled (optional)
custom_fields (optional)
allow_channelback (optional)
active (optional)
priority (optional)
suspended (optional)
tags (optional)
brand_id (optional)
phone (optional)
organization_id (optional)
name (optional)
has_incidents (optional)
fields (optional)
ticket_restriction (optional)
chat_only (optional)
status (optional)
requester_id (optional)
shared (optional)
role (optional)
shared_agent (optional)
created_at (optional)
description (optional)
external_id (optional)
locale (optional)
organization_fields (optional)
updated_at (optional)
alias (optional)
shared_comments (optional)
email (optional)
assignee_id (optional)
restricted_agent (optional)
shared_tickets (optional)
result_type (optional)
only_private_comments (optional)
verified (optional)
submitter_id (optional)
time_zone (optional)
url (optional)
domain_names (optional)
ticket_form_id (optional)
deleted (optional)
group_id (optional)
is_public (optional)
nextContinuationToken (optional)
data (optional)
returnedCount (optional)
total (optional)
progress (optional)
id (optional)
message (optional)
results (optional)
url (optional)
status (optional)
name (optional)
value (optional)
content_type (optional)
size (optional)
file_name (optional)
content_url (optional)
id (optional)
content_type (optional)
size (optional)
name (optional)
content_url (optional)
id (optional)
subject (optional)
created_at (optional)
description (optional)
external_id (optional)
type (optional)
via (optional)
updated_at (optional)
problem_id (optional)
due_at (optional)
id (optional)
assignee_id (optional)
raw_subject (optional)
forum_topic_id (optional)
custom_fields (optional)
allow_channelback (optional)
satisfaction_rating (optional)
submitter_id (optional)
priority (optional)
collaborator_ids (optional)
url (optional)
tags (optional)
brand_id (optional)
ticket_form_id (optional)
sharing_agreement_ids (optional)
group_id (optional)
organization_id (optional)
recipient (optional)
is_public (optional)
has_incidents (optional)
status (optional)
requester_id (optional)
metadata (optional)
attachments (optional)
public (optional)
created_at (optional)
id (optional)
type (optional)
body (optional)
author_id (optional)
via (optional)
nextContinuationToken (optional)
data (optional)
returnedCount (optional)
raw_title (optional)
collapsed_for_agents (optional)
visible_in_portal (optional)
description (optional)
active (optional)
raw_title_in_portal (optional)
created_at (optional)
type (optional)
title (optional)
raw_description (optional)
url (optional)
required (optional)
editable_in_portal (optional)
required_in_portal (optional)
updated_at (optional)
system_field_options (optional)
removable (optional)
regexp_for_validation (optional)
id (optional)
position (optional)
tag (optional)
title_in_portal (optional)
nextContinuationToken (optional)
data (optional)
returnedCount (optional)
nextContinuationToken (optional)
data (optional)
returnedCount (optional)
shared (optional)
last_login_at (optional)
notes (optional)
role (optional)
signature (optional)
shared_agent (optional)
custom_role_id (optional)
moderator (optional)
created_at (optional)
external_id (optional)
locale (optional)
locale_id (optional)
user_fields (optional)
updated_at (optional)
alias (optional)
details (optional)
id (optional)
email (optional)
restricted_agent (optional)
only_private_comments (optional)
verified (optional)
active (optional)
photo (optional)
time_zone (optional)
url (optional)
suspended (optional)
tags (optional)
phone (optional)
organization_id (optional)
name (optional)
ticket_restriction (optional)
user_decimal (optional)
user_dropdown (optional)
user_date (optional)
nextContinuationToken (optional)
data (optional)
returnedCount (optional)
© 2016, Amazon.com Inc. or Affiliates. This documentation was created using Swagger Editor, located at http://swagger.io/swagger-editor.