Issues
Get a list of issues
Authorization: Bearer
The start time (RFC3339) of the time range to get issues for. The duration between start_time and end_time must be less than or equal to 30 days.
The end time (RFC3339) of the time range to get issues for. The duration between start_time and end_time must be less than or equal to 30 days.
Create a new issue
Authorization: Bearer
The account that this issue belongs to.
The user the issue should be assigned to.
An array of attachment URLs to attach to this issue.
The HTML content of the body of the issue.
Optional contact ID to post the message as. Only one of user_id or contact_id can be provided.
Timestamp of when the issue was created. If not specified, the current time will be used. (RFC3339)
The priority of the issue. Can be one of: urgent, high, medium, or low.
The URL of an avatar of the requester.
The email of the user that this issue is on behalf of. Include one of requester_id or requester_email to create an issue with a requester.
The requester that this issue is on behalf of. Include one of requester_id or requester_email to create an issue with a requester.
The full name of the user that this issue is on behalf of.
An array of strings to use as tags on this issue. If provided, the issue tags will be updated to the given tags.
The ID of the team this issue should be assigned to.
The title of the issue.
Optional user ID to post the message as. Only one of user_id or contact_id can be provided.
Get an issue by its ID/number
Authorization: Bearer
The ID or number of the issue to fetch.
Update an existing issue
Authorization: Bearer
The ID of the issue to update.
The ID of the account that this issue belongs to. Only supported on issues with source: ["manual", "form", "email"].
The ID of the user who should be assigned to this issue. If empty string is passed in, the issue assignee will be removed.
Whether the issue should be visible in the customer portal.
The ID of the requester that this issue is on behalf of.
Deprecated: Use requester_id instead.
The state this issue should be moved to. Can be one of new, waiting_on_you, waiting_on_customer, on_hold, closed, or a custom status.
An array of strings to use as tags on this issue. If provided, the issue tags will be updated to be exactly the given tags.
The ID of the team this issue should be assigned to. If empty string is passed in, any assigned team will be removed.
Delete an existing issue
Authorization: Bearer
The ID of the issue to delete.
Currently, the following fields are filterable for issues:
-
created_at (in RFC3339 format). Allowed operators:
time_is_after,time_is_before,time_range -
account_id. Allowed operators:
equals,in,not_in,is_set,is_unset -
ticket_form_id. Allowed operators:
equals,in,not_in,is_set,is_unset -
requester_id. Allowed operators:
equals,in,not_in,is_set,is_unset -
follower_user_id. Allowed operators:
equals,in,not_in -
follower_contact_id. Allowed operators:
equals,in,not_in -
state. Valid values are
["new", "waiting_on_you", "waiting_on_customer", "on_hold", "closed"]or a custom status slug. Allowed operators:equals,in,not_in -
custom fields (pass in the slug of the custom field)
-
tags (pass in the tag name). Allowed operators:
contains,does_not_contain,in,not_in -
title. Allowed operators:
string_contains,string_does_not_contain -
body_html. Allowed operators:
string_contains,string_does_not_contain -
assignee_id. Allowed operators:
equals,in,not_in,is_set,is_unset -
team_id. Allowed operators:
equals,in,not_in -
issue_type. Valid values are
["Conversation", "Ticket"]. Allowed operators:equals,in,not_in,is_set,is_unset -
resolved_at. Allowed operators:
time_is_after,time_is_before,time_range -
latest_message_activity_at. Allowed operators:
time_is_after,time_is_before,time_range
Authorization: Bearer
The cursor to use for pagination.
The number of issues to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Snooze an issue
Authorization: Bearer
The ID or number of the issue to snooze.
The date and time to snooze the issue until. (RFC3339)
Get followers of an issue
Authorization: Bearer
The ID or number of the issue to get followers for.
By default, adds followers. To remove followers, set the operation field to "remove".
Authorization: Bearer
The ID or number of the issue to add followers to.
The IDs of contacts to add as followers.
Operation to perform. Use "add" to add followers (default) or "remove" to remove followers.
The IDs of users to add as followers.
By default, links external issues. To unlink issues, set the operation field to "unlink".
Authorization: Bearer
The ID or number of the issue to link external issues to.
The ID of the external issue in the source system.
Operation to perform. Use "link" to link issues (default) or "unlink" to unlink issues.
The source system of the external issue (e.g., "linear", "asana", "jira", "github").


Last updated
Was this helpful?

