Deskpro API
  • activity : Operations about activity

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • post /activity/dismiss

        • Dismiss activities by their IDs

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        dismiss_ids Escalation ID path string|integer[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /activity/{since}

        • Get activity since given time

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        since Since what time path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • agent_groups : Operations about agent groups

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /agent_groups

        • Get agent groups list

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • put /agent_groups

        • Create new agent group

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        group[title] Group title query string
        group[perms] Group permissions query string[]
        group[person_ids] Agents who belongs to this group query integer[]
        dep_perms[tickets] Department tickets belongs to this group query integer[]
        dep_perms[chat] query string[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /agent_groups/{id}

        • Get group by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Group ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /agent_groups/{id}

        • Update existing agent group by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent group ID path integer
        group[title] Group title query string
        group[perms] Group permissions query string[]
        group[person_ids] Agents who belongs to this group query integer[]
        dep_perms[tickets] Department tickets belongs to this group query integer[]
        dep_perms[chat] query string[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /agent_groups/{id}

        • Delete agent group by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent group ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • agents : Operations about agents

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /agents

        • Get agents list

        Implementation Notes

        You can use full or basic query param for display settings. Default is 'normal'

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        full Display full agents information right in list query boolean
        basic Display full agents information right in list query boolean
        with_perms Display agent permissions query boolean
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • put /agents

        • Create new agent

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        skip_email Do not send email to new user query boolean
        quick_add Add 'all perms' group query boolean
        perm_overrides Save permission overrides query boolean
        dep_perm_overrides Save department permission overrides query boolean
        agent[emails] Agent data - emails query string
        agent[primary_phone_number_text] Agent data - phone number query string
        agent[email] Agent data - email query string
        profile[signature_html] Agent signature query string
        profile[timezone] Agent timezone query string
        profile[unset_picture] Delete agent picture query boolean
        profile[set_picture_blob] Picture blob query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /agents/deleted

        • Get deleted agents list

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /agents/deleted/{id}

        • Get deleted agent by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /agents/deleted/{id}/undelete

        • Undelete existing agent by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /agents/{id}

        • Get agent by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /agents/{id}

        • Update existing agent by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        quick_add Add 'all perms' group query boolean
        perm_overrides Save permission overrides query boolean
        dep_perm_overrides Save department permission overrides query boolean
        agent[emails] Agent data - emails query string
        agent[primary_phone_number_text] Agent data - phone number query string
        agent[email] Agent data - email query string
        profile[signature_html] Agent signature query string
        profile[timezone] Agent timezone query string
        profile[unset_picture] Delete agent picture query boolean
        profile[set_picture_blob] Picture blob query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /agents/{id}/delete

        • Delete agent and move it to deleted list

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /agents/{id}/delete/to-user

        • Delete agent and move it to users list

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /agents/{id}/login-token

        • Generate login token to agent with ID = id

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /agents/{id}/notify-prefs/get-tables

        • Get agent notification preferences

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /agents/{id}/profile

        • Update existing agent profile by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        profile[signature_html] Agent signature query string
        profile[timezone] Agent timezone query string
        profile[unset_picture] Delete agent picture query boolean
        profile[set_picture_blob] Picture blob query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /agents/{id}/reset-password

        • Reset agent profile by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Agent ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • api_keys : Operations about API Keys

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /api_keys

        • Get list of all existing API Keys

        Implementation Notes

        Returns array of all existing API Keys

        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /api_keys/{id}

        • Find API Key By ID

        Implementation Notes

        Returns API Key based on ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        id ID of API Key that needs to be fetched path integer

        Error Status Codes

        HTTP Status Code Reason
        404 API Key not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • chats : Operations about Chats

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /chats

        • Search for chats matching criteria

        Implementation Notes

        Returns list of chats that matched.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        agent_id[] Requires chat to be assigned to the specified agent ID. query string
        department_id[] Requires chat to be in the specified department ID. query string
        label[] Requires chat to be have the specified label. query string
        person_id[] Requires chat to be created by the specified person ID. query string
        status[] Requires chat to be in the specified status. Possible values are ended and open. query string
        order Order of the results. Defaults to newest chats. This parameter is not used used yet. query string
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query string
        page The page number of the results to fetch. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /chats/{chat_id}

        • Gets a chat by chat ID.

        Implementation Notes

        Information about the chat by chat ID.

        Response Class

        • Model
        • Model Schema
        Chat


        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /chats/{chat_id}

        • Updates a chat by chat ID.

        Response Class

        • Model
        • Model Schema
        Chat


        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be searched. path integer
        department_id Department the chat is in. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /chats/{chat_id}/end

        • Ends a chat by chat ID.

        Response Class

        • Model
        • Model Schema
        Chat


        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be ended. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /chats/{chat_id}/labels

        • Gets the labels for a chat

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /chats/{chat_id}/labels

        • Adds a label to a chat.

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be checked. path integer
        label Label to add. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /chats/{chat_id}/labels/{label}

        • Determines if the chat has the label.

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be checked. path integer
        label Label to check. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /chats/{chat_id}/labels/{label}

        • Removes a label from a chat.

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be checked. path integer
        label Label that needs to be removed. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /chats/{chat_id}/leave

        • Leaves a chat by chat ID.

        Response Class

        • Model
        • Model Schema
        Chat


        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be left. path integer
        action If the chat is open, an additional action to take. Options are unassign or end. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /chats/{chat_id}/messages

        • Gets all messages in a chat by chat ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be ended. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /chats/{chat_id}/messages

        • Replies to a chat as the API user

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be ended. path integer
        message Message reply text. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /chats/{chat_id}/participants

        • Gets all participants in a chat by chat ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be ended. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /chats/{chat_id}/participants

        • Adds a participants in a chat by chat ID and person ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat. path integer
        person_id ID of the person that needs to be added to the Chat. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /chats/{chat_id}/participants/{person_id}

        • Determines if a person is participating in a chat.

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be checked. path integer
        person_id ID of the person that needs to be added to be checked. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /chats/{chat_id}/participants/{person_id}

        • Removes a participant from a chat

        Parameters

        Parameter Value Description Parameter Type Data Type
        chat_id ID of the chat that needs to be checked. path integer
        person_id ID of the person that needs to be added to be removed. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Chat not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • downloads : Operations about Downloads

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /download/categories

        • Gets available download categories.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /download/categories

        • Creates a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        title Title of the category that needs to be created. path integer
        parent_id ID of the category's parent. Use 0 for no parent. query integer
        display_order Order of display of categories. Lower numbers will be displayed first. query integer
        usergroup_id[] comma separated IDs of usergroup that has access. If not provided, defaults to all users. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/categories/{category_id}

        • Gets a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /download/categories/{category_id}

        • Updates a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer
        title New Title of the category. path integer
        parent_id New ID of the category's parent. Use 0 for no parent. query integer
        display_order New Order of display of categories. Lower numbers will be displayed first. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /download/categories/{category_id}

        • DELETES a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/categories/{category_id}/downloads

        • Gets downloads within a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer
        order Order of the results. Defaults to the publishing date. query integer
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query integer
        page The page number of the results to fetch. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/categories/{category_id}/groups

        • Gets groups with access to a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /download/categories/{category_id}/groups

        • Adds a group to a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer
        id ID of the group to add access for. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/categories/{category_id}/groups/{group_id}

        • Determines if a group has access to a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer
        group_id ID of the group to look for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /download/categories/{category_id}/groups/{group_id}

        • Removes a group's access to a download category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer
        group_id ID of the group to look for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/validating-comments

        • Gets download comments that are awaiting validation.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /download/{download_id}

        • Deletes a Download by ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the Download that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/{download_id}/comments

        • Gets the comments for download

        Implementation Notes

        Information about the comments by Download ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the Download that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /download/{download_id}/comments

        • Add a comment for a download entry.

        Implementation Notes

        Creates a download comment by download ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the download that needs to be searched. path integer
        content Text of the comment. query integer
        person_id ID of the person that owns the comment. If not provided, defaults to the agent making the request. query integer
        status Status of the comment. Defaults to visible. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/{download_id}/comments/{comment_id}

        • Gets info about a specific download comment

        Implementation Notes

        Information about a specific download comment by Download ID and Comment ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the Download that needs to be searched. path integer
        comment_id ID of the Download Comment that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /download/{download_id}/comments/{comment_id}

        • Updates a comment for a download entry.

        Implementation Notes

        Updates a download comment by download ID and comment ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the download that needs to be searched. path integer
        comment_id ID of the download comment that needs to be updated. path integer
        content Text of the comment. query integer
        person_id ID of the person that owns the comment. If not provided, defaults to the agent making the request. query integer
        status Status of the comment. Defaults to visible. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /download/{download_id}/comments/{comment_id}

        • Deletes a comment for a download entry.

        Implementation Notes

        Deletes a download comment by download ID and comment ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the download that needs to be searched. path integer
        comment_id ID of the download comment that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/{download_id}/labels

        • Gets the labels for download

        Implementation Notes

        Information about a download record's labels by Download ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the Download that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /download/{download_id}/labels

        • Add a label for a download entry.

        Implementation Notes

        Creates a download label by download ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the download that needs to be searched. path integer
        label Label to add. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /download/{download_id}/labels/{label}

        • Determines if download has a label.

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the download that needs to be searched. path integer
        label Label to search for path string

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /download/{download_id}/labels/{label}

        • Removes a label from download

        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the download that needs to be searched. path integer
        label Label that needs to be deleted path string

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /downloads

        • Search for downloads matching criteria

        Implementation Notes

        Returns list of downloads that matched.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id[] Comma seperated IDs of categories to search in query string
        category_id_specific[] Comma seperated IDs of categories to search in query string
        date_created_end Requires the download to have been created before this date. Must be specified as a Unix timestamp. query integer
        date_created_start Requires the download to have been created after this date. Must be specified as a Unix timestamp. query integer
        label[] Requires the download to have this label. query string
        status[] Requires the download to be in this status. Possible values: new, active, closed, hidden. query string
        new If non-0, requires the download to be considered new (created within the last month). If 0, this does nothing. query boolean
        popular If non-0, requires the download to be considered popular (50 or more downloads). If 0, this does nothing. query boolean
        order Order of the results. Defaults to the publishing date. query string
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query integer
        page The page number of the results to fetch. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /downloads

        • Creates a new download.

        Parameters

        Parameter Value Description Parameter Type Data Type
        title Title of the download. query string
        content Content of the download. Marked up using HTML. query string
        category_id Category of the download. query integer
        label[] Comma seperated list of Labels to apply to the download. query string
        status Status of the download. Defaults to new if not overridden by this or status_category_id. query integer
        attach
        Attached file that represents the download. See the API Basics for more information on sending files to the API. Required if no attach_id is provided. body string
        attach_id The ID of an already uploaded file to include with the download. Required if no attach value is provided. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /downloads/{download_id}

        • Gets a download by download ID.

        Implementation Notes

        Information about the download by download ID.

        Response Class

        • Model
        • Model Schema
        Download


        Parameters

        Parameter Value Description Parameter Type Data Type
        download_id ID of the download that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Download not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /downloads/{download_id}

        • Updates a Download by download ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        title Title of the download. query string
        content Content of the download. Marked up using HTML. query string
        category_id Category of the download. query integer
        label[] Comma seperated list of Labels to apply to the download. query string
        status Status of the download. Defaults to new if not overridden by this or status_category_id. query integer
        attach
        Attached file that represents the download. See the API Basics for more information on sending files to the API. Required if no attach_id is provided. body string
        attach_id The ID of an already uploaded file to include with the download. Required if no attach value is provided. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • community : Operations about Feedbacks

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /community

        • Search for feedbacks matching criteria

        Implementation Notes

        Returns list of feedbacks that matched.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id[] Comma seperated IDs of categories to search in query string
        category_id_specific[] Comma seperated IDs of categories to search in query string
        date_created_end Requires the feedback to have been created before this date. Must be specified as a Unix timestamp. query integer
        date_created_start Requires the feedback to have been created after this date. Must be specified as a Unix timestamp. query integer
        label[] Requires the feedback to have this label. query string
        status[] Requires the feedback to be in this status. Possible values: new, active, closed, hidden. query string
        status_category_id[] Requires the feedback to be in this status category. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/categories

        • Gets available feedback categories.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/status-categories

        • Gets available feedback status categories.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/user-categories

        • Gets available feedback user categories.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/validating-comments

        • Gets feedback comments that are awaiting validation.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/{feedback_id}

        • Gets a feedback by feedback ID.

        Implementation Notes

        Information about the feedback by feedback ID.

        Response Class

        • Model
        • Model Schema
        Feedback


        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the feedback that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /community/{feedback_id}

        • Deletes a Feedback by ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/{feedback_id}/attachments

        • Gets information about a feedback record's attachments

        Implementation Notes

        Information about a feedback record's attachments by Feedback ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /community/{feedback_id}/attachments

        • Adds an attachment to a feedback record.

        Implementation Notes

        Adds an attachment to a feedback record by feedback ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the feedback that needs to be searched. path integer
        file
        Attached file to include with the feedback. See the API Basics for more information on sending files to the API. Required if no attach_id is provided. body string
        attach_id The ID of an already uploaded file to include with the feedback. Required if no attach value is provided. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/{feedback_id}/attachments/{attachment_id}

        • Determines if a feedback record has an attachment

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer
        attachment_id ID of the Feedback Comment that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /community/{feedback_id}/attachments/{attachment_id}

        • Removes a feedback attachment

        Implementation Notes

        Removes a feedback attachment by Feedback ID and Attachment ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer
        attachment_id ID of the Feedback Comment that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/{feedback_id}/comments

        • Gets the comments for feedback

        Implementation Notes

        Information about the comments by Feedback ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /community/{feedback_id}/comments

        • Add a comment for a feedback entry.

        Implementation Notes

        Creates a feedback comment by feedback ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the feedback that needs to be searched. path integer
        content Text of the comment. query integer
        person_id ID of the person that owns the comment. If not provided, defaults to the agent making the request. query integer
        status Status of the comment. Defaults to visible. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/{feedback_id}/comments/{comment_id}

        • Gets info about a specific feedback comment

        Implementation Notes

        Information about a specific feedback comment by Feedback ID and Comment ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer
        comment_id ID of the Feedback Comment that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /community/{feedback_id}/comments/{comment_id}

        • Updates a feedback comment

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer
        comment_id ID of the Feedback Comment that needs to be updated. path integer
        content New Text of the Comment. query integer
        status Status of the comment. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /community/{feedback_id}/comments/{comment_id}

        • DELETE a specific feedback comment

        Implementation Notes

        DELETE a specific feedback comment by Feedback ID and Comment ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer
        comment_id ID of the Feedback Comment that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/{feedback_id}/labels

        • Gets the labels for feedback

        Implementation Notes

        Information about a feedback record's labels by Feedback ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /community/{feedback_id}/labels

        • Add a label for a feedback entry.

        Implementation Notes

        Creates a feedback label by feedback ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the feedback that needs to be searched. path integer
        label Label to add. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/{feedback_id}/labels/{label}

        • Determines if feedback has a label.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the feedback that needs to be searched. path integer
        label Label to search for path string

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /community/{feedback_id}/labels/{label}

        • Removes a label from feedback

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the feedback that needs to be searched. path integer
        label Label that needs to be deleted path string

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /community/{feedback_id}/merge/{other_feedback_id}

        • Merges the two feedback records

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the first Feedback path integer
        other_feedback_id ID of the second Feedback path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /community/{feedback_id}/votes

        • Gets the votes for feedback

        Implementation Notes

        Information about the votes by Feedback ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the Feedback that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Feedback not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /communitys

        • Creates a new feedback.

        Parameters

        Parameter Value Description Parameter Type Data Type
        title Title of the feedback. query string
        content Content of the feedback. Marked up using HTML. query string
        category_id Category of the feedback. query integer
        label[] Comma seperated list of Labels to apply to the feedback. query string
        status Status of the feedback. Defaults to new if not overridden by this or status_category_id. query integer
        status_category_id Status category of the feedback. query string
        user_category_id User category of the feedback. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /communitys/{feedback_id}

        • Updates a Feedback by feedback ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        feedback_id ID of the feedback the needs to be updated. query string
        title Title of the feedback. query string
        content Content of the feedback. Marked up using HTML. query string
        category_id Category of the feedback. query integer
        label[] Comma seperated list of Labels to apply to the feedback. query string
        status Status of the feedback. Defaults to new if not overridden by this or status_category_id. query integer
        status_category_id Status category of the feedback. query string
        user_category_id User category of the feedback. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • glossary : Operations about Glossary Words

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /glossary

        • List glossary words.

        Implementation Notes

        Returns list of words that matched.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        word If specified, gets words containing this string. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /glossary

        • Add a glossary word.

        Parameters

        Parameter Value Description Parameter Type Data Type
        definition Definition of given words. query string
        word[] Comma seperated list of words to associate with this definition. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /glossary/definitions/{definition_id}

        • Gets a glossary word definition.

        Implementation Notes

        Information about the Glossary Word definition by definition ID, if in the glossary.

        Response Class

        • Model
        • Model Schema
        GlossaryWordDefinition


        Parameters

        Parameter Value Description Parameter Type Data Type
        definition_id ID of the word defination that needs to be searched. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Glossary definition not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /glossary/definitions/{definition_id}

        • Updates a glossary word definition.

        Parameters

        Parameter Value Description Parameter Type Data Type
        definition_id ID of the word defination that needs to be updated. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Glossary definition not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /glossary/definitions/{definition_id}

        • Deletes a glossary word definition.

        Parameters

        Parameter Value Description Parameter Type Data Type
        definition_id ID of the word defination that needs to be deleted. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Glossary definition not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /glossary/lookup

        • Looks up a specific glossary word.

        Implementation Notes

        Information about the word, if in the glossary.

        Response Class

        • Model
        • Model Schema
        GlossaryWord


        Parameters

        Parameter Value Description Parameter Type Data Type
        word If specified, gets this word. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /glossary/{word_id}

        • Gets a glossary word by word ID.

        Implementation Notes

        Information about the word by word ID, if in the glossary.

        Response Class

        • Model
        • Model Schema
        GlossaryWord


        Parameters

        Parameter Value Description Parameter Type Data Type
        word_id ID of the word that needs to be searched. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Glossary word not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /glossary/{word_id}

        • Deletes a glossary word by ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        word_id ID of the word that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Glossary word not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • kb : Operations about Knowledgebase

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /kb

        • Search for articles matching criteria

        Implementation Notes

        Returns list of articles that matched.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id[] Comma seperated IDs of categories to search in query string
        category_id_specific[] Comma seperated IDs of categories to search in query string
        date_created_end Requires the article to have been created before this date. Must be specified as a Unix timestamp. query integer
        date_created_start Requires the article to have been created after this date. Must be specified as a Unix timestamp. query integer
        label[] Requires the article to have this label. query string
        status[] Requires the article to be in this status. Possible values include: published, archived, hidden. query string
        new If non-0, requires the article to be considered new (created within the last month). If 0, this does nothing. query boolean
        popular If non-0, requires the article to be considered popular (50 or more articles). If 0, this does nothing. query boolean
        order Order of the results. Defaults to the publishing date. query string
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query integer
        page The page number of the results to fetch. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb

        • Creates a new article.

        Parameters

        Parameter Value Description Parameter Type Data Type
        title Title of the article. query string
        content Content of the article. Marked up using HTML. query string
        category_id[] ID of the category the article is in. At least one is required. query integer
        label[] Comma seperated list of Labels to apply to the article. query string
        status Status of the article. Defaults to new if not overridden by this or status_category_id. query integer
        attach[]
        Attached file that represents the article. See the API Basics for more information on sending files to the API. Required if no attach_id is provided. body string
        attach_id[] The ID of an already uploaded file to include with the article. Required if no attach value is provided. query integer
        date If provided, changes the creation/publishing date of the article to the given Unix timestamp. If not provided, defaults to the current time. query integer
        date_end If provided, sets the Unix timestamp when an action should be taken. query integer
        date_published If provided and the article is not published, sets the Unix timestamp when an article should be published. query integer
        end_action If provided with a date_end, the action that should be taken when date_end is reached. Possible values are delete or archive. query integer
        field[] Value for the specified custom field. query integer
        product_id[] ID of product this article is associated with. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/categories

        • Gets available article categories.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb/categories

        • Creates an article category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        title Title of the category. query string
        parent_id ID of the category's parent. Use 0 for no parent. query integer
        display_order Order of display of categories. Lower numbers will be displayed first. query integer
        usergroup_id[] ID of usergroup that has access. If not provided, defaults to all users. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/categories/{category_id}

        • Gets an article category

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb/categories/{category_id}

        • Updates an article category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category that needs to be updated. path integer
        title Title of the category. query string
        parent_id ID of the category's parent. Use 0 for no parent. query integer
        display_order Order of display of categories. Lower numbers will be displayed first. query integer
        usergroup_id[] ID of usergroup that has access. If not provided, defaults to all users. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /kb/categories/{category_id}

        • DELETEs an article category

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/categories/{category_id}/articles

        • Gets articles within an article category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category that needs to be searched. path integer
        order Order of the results. Defaults to the publishing date. query integer
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query integer
        page The page number of the results to fetch. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/categories/{category_id}/groups

        • Gets groups with access to a article category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb/categories/{category_id}/groups

        • Adds a group to a article category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer
        id ID of the group to add access for. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/categories/{category_id}/groups/{group_id}

        • Determines if a group has access to a article category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer
        group_id ID of the group to look for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /kb/categories/{category_id}/groups/{group_id}

        • Removes a group's access to a article category.

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the category to look for. path integer
        group_id ID of the group to look for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/fields

        • Gets available article fields.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/products

        • Gets available article products.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/validating-comments

        • Gets article comments that are awaiting validation.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/{article_id}

        • Gets a article by article ID.

        Implementation Notes

        Information about the article by article ID.

        Response Class

        • Model
        • Model Schema
        Article


        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb/{article_id}

        • Updates an article.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be upated path string
        title Title of the article. query string
        content Content of the article. Marked up using HTML. query string
        category_id[] ID of the category the article is in. At least one is required. query integer
        status Status of the article. Defaults to new if not overridden by this or status_category_id. query integer
        attach[]
        Attached file that represents the article. See the API Basics for more information on sending files to the API. Required if no attach_id is provided. body string
        attach_id[] The ID of an already uploaded file to include with the article. Required if no attach value is provided. query integer
        date If provided, changes the creation/publishing date of the article to the given Unix timestamp. If not provided, defaults to the current time. query integer
        date_end If provided, sets the Unix timestamp when an action should be taken. query integer
        date_published If provided and the article is not published, sets the Unix timestamp when an article should be published. query integer
        end_action If provided with a date_end, the action that should be taken when date_end is reached. Possible values are delete or archive. query integer
        field[] Value for the specified custom field. query integer
        product_id[] ID of product this article is associated with. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /kb/{article_id}

        • DELETES a article by article ID.

        Implementation Notes

        DELETES the article by article ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/{article_id}/attachments

        • Gets the attachments for an article.

        Implementation Notes

        Information about the attachments on an article by article ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb/{article_id}/attachments

        • Add an attachment for an article.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        attach
        Attached file that represents the article. See the API Basics for more information on sending files to the API. Required if no attach_id is provided. body string
        attach_id The ID of an already uploaded file to include with the article. Required if no attach value is provided. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/{article_id}/comments

        • Gets the comments for an article.

        Implementation Notes

        Information about the comments on an article by article ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb/{article_id}/comments

        • Add a comment for an article.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        content Text of the comment. path string
        person_id ID of the person that owns the comment. If not provided, defaults to the agent making the request. path integer
        status Status of the comment. Defaults to visible. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/{article_id}/comments/{attachment_id}

        • Gets info about a specific article attachment.

        Implementation Notes

        Information about a specific attachment on an article by attachment ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        attachment_id ID of the article attachment that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /kb/{article_id}/comments/{attachment_id}

        • DELETEs info about a specific article attachment.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        attachment_id ID of the article attachment that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/{article_id}/comments/{comment_id}

        • Gets info about a specific article comment.

        Implementation Notes

        Information about a specific comments on an article by comment ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        comment_id ID of the article comment that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb/{article_id}/comments/{comment_id}

        • Updates an article comment.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        comment_id ID of the article comment that needs to be updated. path integer
        content Text of the comment. path string
        status Status of the comment. Defaults to visible. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /kb/{article_id}/comments/{comment_id}

        • DELETEs an article comment.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        comment_id ID of the article comment that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/{article_id}/labels

        • Gets the labels for an article.

        Implementation Notes

        Information about the labels on an article by article ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /kb/{article_id}/labels

        • Add a label for an article.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        label Label to add. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/{article_id}/labels/{label}

        • Determines if an article has a label.

        Implementation Notes

        Information about a specific label on an article by attachment ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        label label that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /kb/{article_id}/labels/{label}

        • Removes a label from an article.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer
        label label that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /kb/{article_id}/votes

        • Gets the votes for an article.

        Implementation Notes

        Information about the votes on an article by article ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        article_id ID of the article that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Article not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • news : Operations about News Items

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /news

        • Get list of all News Items

        Implementation Notes

        Returns array of all existing News Items

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id Category ID that needs to be searched query integer
        category_id_specific Specific Category ID that needs to be searched query integer
        label News label that needs to be searched query string
        status News status that needs to be searched query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /news

        • Add a new News Item

        Implementation Notes

        Creates a new News Item and returns the ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        body
        News Object to Add body News
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/categories

        • Gets available news categories

        Implementation Notes

        Retrieves all available news categories

        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /news/categories

        • Creates a new News category
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /news/categories/{category_id}

        • Delete News Category by ID

        Implementation Notes

        Deletes a News Category based on ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the news category that needs to be deleted path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/categories/{category_id}/groups

        • Gets groups with access to a news category

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the news category that needs to be searched path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /news/categories/{category_id}/groups

        • Adds a group to a news category

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the news category where the new group needs to be added path integer
        id ID of the group to add access for. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/categories/{category_id}/groups/{group_id}

        • Determines if a group has access to a news category

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the news category that needs to be checked path integer
        group_id ID of the group that needs to be checked path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /news/categories/{category_id}/groups/{group_id}

        • Removes a group's access to a news category

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the news category that needs to be checked path integer
        group_id ID of the group that needs to be checked path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/categories/{catgory_id}

        • Find News Category by ID

        Implementation Notes

        Returns a News Category based on ID

        Response Class

        • Model
        • Model Schema
        NewsCategory


        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the news category that needs to be fetched path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /news/categories/{catgory_id}

        • Update News Category by ID

        Implementation Notes

        Updates a News Category based on ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the news category that needs to be updated path integer
        title Updated category title path string
        parent_id Updated parent ID path integer
        display_order Updated display order path string

        Error Status Codes

        HTTP Status Code Reason
        404 News Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/categories/{catgory_id}

        • Gets news within a news category

        Parameters

        Parameter Value Description Parameter Type Data Type
        category_id ID of the news category that needs to be searched path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Category not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/validating-comments

        • Gets news comments that are awaiting validation
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/{news_id}

        • Find News by ID

        Implementation Notes

        Returns a News Item based on ID

        Response Class

        • Model
        • Model Schema
        News


        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be fetched path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /news/{news_id}

        • Updates News Item by ID

        Implementation Notes

        Updated a News Item with form data

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be updated path integer
        title Updated title of the News Item form string
        status Updated status of the News Item form string
        date_published Updated published date of the News Item form string
        content Updated content of the News Item form string
        category_id Updated category_id of the News Item form integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /news/{news_id}

        • Delete News by ID

        Implementation Notes

        Deletes a News Item based on ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be deleted path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/{news_id}/comments

        • Find all the comments by News ID

        Implementation Notes

        Retrieves all news comments based on News ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for comments path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /news/{news_id}/comments

        • Adds a new Comment by News ID

        Implementation Notes

        Creates a news comments based on News ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for comments path integer
        content Comment content query string
        person_id ID of the person making the comment query integer
        status status of the comment query integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/{news_id}/comments/{comment_id}

        • Find one News comment by News ID and Comment ID

        Implementation Notes

        Retrieves a news comments based on News ID and Comment ID

        Response Class

        • Model
        • Model Schema
        NewsComment


        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for comments path integer
        comment_id ID of the comment that needs to be searched for comments path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /news/{news_id}/comments/{comment_id}

        • Updates one News comment by News ID and Comment ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for comments path integer
        comment_id ID of the comment that needs to be searched for comments path integer
        status status of the comment query integer
        content Comment content query integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /news/{news_id}/comments/{comment_id}

        • Delete one News comment by News ID and Comment ID

        Implementation Notes

        Deletes a news comments based on News ID and Comment ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for comments path integer
        comment_id ID of the comment that needs to be searched for comments path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /news/{news_id}/comments/{label}

        • Delete one label by News ID and label

        Implementation Notes

        Deletes a news comments based on News ID and Comment ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for comments path integer
        comment_id ID of the comment that needs to be searched for comments path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/{news_id}/labels

        • Find all the labels by News ID

        Implementation Notes

        Retrieves all labels based on News ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for labels path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /news/{news_id}/labels

        • Adds a new Label by News ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for comments path integer
        label Label query string

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /news/{news_id}/labels/{label}

        • Find one Label by News ID and Label

        Implementation Notes

        Retrieves a label based on News ID and Label

        Response Class

        • Model
        • Model Schema
        NewsComment


        Parameters

        Parameter Value Description Parameter Type Data Type
        news_id ID of the news item that needs to be searched for comments path integer
        label label that needs to be searched path integer

        Error Status Codes

        HTTP Status Code Reason
        404 News Item not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • organizations : Operations about Organization

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /organizations

        • Search for organizations matching criteria

        Implementation Notes

        Returns list of organizations that matched.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        address[] Requires an organization's address to contain this value. query string
        field[#][] Requires organization custom field to have the specified value in the listed field. query string
        im[] Requires an organization to have an instant messenger contact that contains this value. query string
        label[] Requires organization to be have the specified label. query string
        name[] Requires an organization to have a name that contains this value. query string
        phone[] Requires organization to have a phone number that contains this value. query string
        order Order of the results. Defaults to accessing organization's preference or organizations.id:asc. query string
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query string
        page The page number of the results to fetch. query string
        parent_id The id of the parent org. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations

        • Creates a new organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        name Name of the organization. query string
        contact_data[#] Components of a contact detail to add. See the Setting Contact Data organization for more information. query string
        field[#] Value for the specified custom organization field. query string
        group_id[] ID of a usergroup to add this organization to. query string
        label[] Label to apply to the ticket. query string
        summary Summary of the organization's details. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/fields

        • Gets available custom organization fields.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/fields

        • Gets available usergroups.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}

        • Gets a organization by organization ID.

        Implementation Notes

        Information about the organization by organization ID.

        Response Class

        • Model
        • Model Schema
        Organization


        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}

        • Updates a organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be updated. path integer
        name Name of the organization. query string
        field[#] Value for the specified custom organization field. query string
        summary Summary of the organization's details. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /organizations/{organization_id}

        • DELETEs a organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/activity-stream

        • Gets activity stream for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be checked. path integer
        page The page number of the results to fetch. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/billing-charges

        • Gets billing charges for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        page Page number to retrieve. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/chats

        • Gets chats by a organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        page The page number of the results to fetch. query integer
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/contact-details

        • Gets contact details for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}/contact-details

        • Creates a contact detail for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        type Type of contact detail to add. query string
        data Contact detail-specific data. query string
        comment Comment or label for the contact detail. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/contact-details/{contact_id}

        • Determines if contact ID exists for organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        contact_id ID of the contact that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /organizations/{organization_id}/contact-details/{contact_id}

        • Deletes a contact for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        contact_id ID of the contact that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/email-domains

        • Gets associated email domains for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}/email-domains

        • Adds an email domain for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        domain Domain name to associate. May not already be in use. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/email-domains/{domain}

        • Determines if a domain is associated with an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        domain Domain that needs to be searched. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /organizations/{organization_id}/email-domains/{domain}

        • Deletes a domain association for an organization

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        domain Domain that needs to be deleted. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}/email-domains/{domain}/move-taken-users

        • Moves users to an organization (if they have another organization).

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        domain Domain where the users need to be moved path string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}/email-domains/{domain}/move-users

        • Moves users to an organization (if they have no organization).

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        domain Domain where the users need to be moved path string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/groups

        • Gets the groups for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}/groups

        • Adds an organization to a group.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        id ID of the group to add this organization to. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/groups/{usergroup_id}

        • Determines if an organization is a member of a group.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        usergroup_id ID of the usergroup that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /organizations/{organization_id}/groups/{usergroup_id}

        • Removes an organization from a group.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        usergroup_id ID of the usergroup that needs to be removed. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/labels

        • Gets the labels for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}/labels

        • Add a label for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        label Label to add query string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/labels/{label}

        • Determines if an organization has a label.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        label label that needs to be searched. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /organizations/{organization_id}/labels/{label}

        • Determines if an organization has a label.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        label label that needs to be deleted. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/members

        • Gets members of an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        page The page number of the results to fetch. query integer
        order Order of the results. Defaults to person.name:asc. query integer
        cache The number of seconds to cache the result for. Defaults to 3600. Use 0 to disable the cache query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/notes

        • Gets a list of Organization Notes for an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}/notes

        • Adds a new Organization Notes to an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        note The Note content query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/notes/{note_id}

        • Gets an Organization Note for an organization by Organization ID and Note ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        note_id ID of the organization note that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/picture

        • Gets a link to an organization's picture.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be checked. path integer
        size The maximum size (in pixels) that the picture should be. Defaults to 80 query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /organizations/{organization_id}/picture

        • Updates an organization's picture.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be checked. path integer
        file An uploaded image. Required if no blob_id is provided. query integer
        blob_id ID of a blob record that holds the picture already. Required if no file is provided. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /organizations/{organization_id}/picture

        • DELETEs an organization's picture.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /organizations/{organization_id}/tickets

        • Gets tickets by an organization.

        Parameters

        Parameter Value Description Parameter Type Data Type
        organization_id ID of the organization that needs to be searched. path integer
        page The page number of the results to fetch. query integer
        order Order of the results. Defaults to person.name:asc. query integer
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Organization not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • people : Operations about People/Persons

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /people

        • Search for people matching criteria

        Implementation Notes

        Returns list of people that matched.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        address[] Requires an person's address to contain this value. query string
        agent_team_id[] Requires a person to be a member of this agent team. query string
        alpha[] Requires a person's last name to start with this letter. query string
        date_created_end Requires a person's account to have been created before this date. Must be specified as a Unix timestamp. query integer
        date_created_start Requires a person's account to have been created after this date. Must be specified as a Unix timestamp. query integer
        email[] Requires a person to have an email that contains this value. query integer
        email_domain[] Requires a person to have an email with a domain that contains this value. query integer
        field[#][] Requires person custom field to have the specified value in the listed field. query string
        im[] Requires an person to have an instant messenger contact that contains this value. query string
        is_agent True to search on agents instead of users. query boolean
        is_agent_confirmed Requires the person to be confirmed by an agent or not. query boolean
        label[] Requires person to be have the specified label. query string
        name[] Requires an person to have a name that contains this value. query string
        language_id[] Requires person to have chosen this language. query string
        organization_id[] Requires person to be a member of this organization. query string
        phone[] Requires person to have a phone number that contains this value. query string
        usergroup_id[] Requires person to be a member of this usergroup. query string
        order Order of the results. Defaults to accessing person's preference or people.id:asc. query string
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query string
        page The page number of the results to fetch. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people

        • Creates a new Person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        name Full name of the Person. query string
        first_name First name of the Person. query string
        last_name Last name of the Person. query string
        password Set the password for the person so they can log in. query string
        email Primary email of the person. This cannot already exist. query string
        contact_data[#] Components of a contact detail to add. See the Setting Contact Data article for more information. query string
        disable_autoresponses If true, disables sending this person automatic notifications when actions are applied to their tickets. query boolean
        field[#] Value for the specified custom person field. query string
        group_id[] ID of a usergroup to add this person to. query string
        label[] Label to apply to the person. query string
        is_disabled If true, sets this person to be disabled (can't login or interact with tickets/chat). query boolean
        organization Name of the organization this person should belong to. If this does not exist, one will be created. query string
        organization_id ID of the organization this person should belong to. query integer
        organization_position If the person belongs to an organization, their position within it. query string
        summary Summary of the person's details. query string
        timezone Olson time zone string identifier. query string
        send_email Send the user a welcome email (false by default). query boolean
        via_agent Use this to signify you are creating the account on behalf of a user, which would result in the agent variant of the welcome email when send_email is enabled. query boolean
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/auth-login

        • Given some user credentials, test to see if they are correct and return the person record if so.

        Parameters

        Parameter Value Description Parameter Type Data Type
        email The email address of the user to authenticate. Alternatively, specify the username instead. query string
        username The username of the user to authenticate. Alternatively, specify the email instead. query string
        password The user password query string

        Error Status Codes

        HTTP Status Code Reason
        401 The credentials are invalid
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/fields

        • Gets available custom person fields
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/groups

        • Gets available usergroups
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}

        • Gets a Person by Person ID.

        Implementation Notes

        Information about the person by person ID.

        Response Class

        • Model
        • Model Schema
        Person


        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}

        • Updates a Person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the Person. path string
        name Name of the Person. query string
        disable_autoresponses If true, disables sending this person automatic notifications when actions are applied to their tickets. query boolean
        field[#] Value for the specified custom person field. query string
        is_disabled If true, sets this person to be disabled (can't login or interact with tickets/chat). query boolean
        organization Name of the organization this person should belong to. If this does not exist, one will be created. query string
        organization_id ID of the organization this person should belong to. query integer
        organization_position If the person belongs to an organization, their position within it. query string
        summary Summary of the person's details. query string
        timezone Olson time zone string identifier. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /people/{person_id}

        • Deletes a Person by Person ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/activity-stream

        • Gets activity stream for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        page The page number of the results to fetch. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/billing-charges

        • Gets billing charges for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/chats

        • Gets chats by a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. path integer
        page The page number of the results to fetch. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/clear-session

        • Clears a person's session.

        Implementation Notes

        Clears all sessions for the person, forcing them to log in again. (Only available in DeskPRO #293 and later.)

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/contact-details

        • Gets contact details for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/contact-details

        • Creates a contact detail for a person

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        type Type of contact detail to add. query string
        data Contact detail-specific data. query string
        comment Comment or label for the contact detail. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/contact-details/{contact_id}

        • Determines if contact ID exists for person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        contact_id Contact ID that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /people/{person_id}/contact-details/{contact_id}

        • Deletes a contact for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        contact_id Contact ID that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/emails

        • Gets email records for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/emails

        • Adds an email for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        email Email address to add to this person. May not be associated with another person. query string
        comment A comment or label for the email. query string
        set_primary If non-0, this email is set as the person's primary email address. query boolean

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/emails/{email_id}

        • Gets information about an email ID for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        email_id Email ID that needs to be searched. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/emails/{email_id}

        • Updates an email record for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        email_id Email ID that needs to be updated. path string
        comment A comment or label for the email. query string
        set_primary If non-0, this email is set as the person's primary email address. query boolean

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /people/{person_id}/emails/{email_id}

        • Deletes an email record for a person

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        email_id Email ID that needs to be deleted. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/groups

        • Gets the groups for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/groups

        • Adds a person to a group.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be added. path integer
        id ID of the group to add this person to. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/groups/{group_id}

        • Determines if a person is a member of a group.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        group_id ID of the group that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /people/{person_id}/groups/{group_id}

        • Removes a person from a group.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        group_id ID of the group that needs to be removed. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/labels

        • Gets the labels for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/labels

        • Adds a label for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        label Label to add query string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/labels/{label}

        • Determines if a person has a label.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        label Label to check path stirng

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /people/{person_id}/labels/{label}

        • Removes a label from a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        label Label that needs to be removed. path stirng

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/login-token

        • Gets a login token that can be used in a web request to log a user in. Note that the login token is only valid for 5 minutes.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person to get a login token for path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/notes

        • Gets notes for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/notes

        • Creates a note for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        note Text of the note to create. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/phone_numbers

        • Gets phone numbers for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/phone_numbers

        • Adds a phone number for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        phone_number Phone number to add to this person. In E.164 string format, ie. +19021111111 query string
        label A label for the phone number. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/phone_numbers/{number_id}

        • Gets information about an email ID for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        number_id Phone number ID that needs to be searched. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/phone_numbers/{number_id}

        • Updates a phone number for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        number_id Phone number ID that needs to be updated. path string
        label A label for the phone number. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /people/{person_id}/phone_numbers/{number_id}

        • Deletes a phone number record for a person

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        number_id Phone number ID that needs to be deleted. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/picture

        • Gets a link to a person's picture.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        size The maximum size (in pixels) that the picture should be. Defaults to 80. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/picture

        • Updates a person's picture.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        file An uploaded image. Required if no blob_id is provided. form integer
        blob_id ID of a blob record that holds the picture already. Required if no file is provided. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /people/{person_id}/picture

        • Deletes a person's picture.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person whose picture needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /people/{person_id}/reset-password

        • Resets a person's password.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        password New password to set for this person. path string
        send_email If specified, controls whether the person will be emailed. Defaults to true. path boolean

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/tickets

        • Gets tickets by a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer
        order Order of the results. Defaults to accessing person's preference or people.id:asc. path integer
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. path integer
        page The page number of the results to fetch. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /people/{person_id}/vcard

        • Gets the vCard for a person.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of the person that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • tasks : Operations about Tasks

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /tasks

        • Search for tasks matching criteria

        Implementation Notes

        Returns list of tasks that matched.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        assigned_agent_id[] Comma seperated IDs of the agent assigned to the task. query string
        assigned_agent_team_id[] Comma seperated IDs of the agent assigned to the task. query string
        date_completed_end Maximum Unix timestamp for when the task was completed. query integer
        date_completed_start Minimum Unix timestamp for when the task was completed. query integer
        date_created_end Maximum Unix timestamp for when the task was created. query integer
        date_created_start Minimum Unix timestamp for when the task was created. query integer
        date_due_end Maximum Unix timestamp for when the task is due. query integer
        date_due_start Minimum Unix timestamp for when the task is due. query integer
        is_completed 1 to get completed tasks only, 0 to get incomplete tasks only. query boolean
        person_id[] Comma seperated IDs of the person that created the task. query string
        title[] Text that must be contained in the task title. query string
        visibility 1 to get public tasks only, 0 to get private tasks only. query boolean
        order Order of the results. Defaults to task.name:asc query string
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query integer
        page The page number of the results to fetch. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tasks

        • Creates a new task.

        Parameters

        Parameter Value Description Parameter Type Data Type
        assigned_agent_id ID of agent assigned to the task. query integer
        assigned_agent_team_id ID of agent team assigned to the task. query integer
        date_due Unix timestamp of when the task is due. query integer
        label[] Comma seperated list of Labels to apply to the task. query string
        ticket_id If specified, the ID of the ticket this task should be associated with. query integer
        title Title of the task. query string
        visibility 0 for private, 1 for public. query boolean
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tasks/{task_id}

        • Gets a task by task ID.

        Implementation Notes

        Information about the task by task ID.

        Response Class

        • Model
        • Model Schema
        Task


        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tasks/{task_id}

        • Updates a Task.

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be updated path integer
        assigned_agent_id Updated ID of agent assigned to the task. query integer
        assigned_agent_team_id Updated ID of agent team assigned to the task. query integer
        completed Sets the completed state for the task. query boolean

        Error Status Codes

        HTTP Status Code Reason
        404 Task definition not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /tasks/{task_id}

        • Deletes a task by ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tasks/{task_id}/associations

        • Gets Task associations.

        Implementation Notes

        Information about the task associations by task ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tasks/{task_id}/associations

        • Creates a task association.

        Implementation Notes

        Creates a task association by task ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be searched. path integer
        ticket_id ID of ticket to create association with. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        500 ticket_id is not valid
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tasks/{task_id}/associations/{association_id}

        • Determines if a task association exists.

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer
        association_id ID of the association that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /tasks/{task_id}/associations/{association_id}

        • Deletes a task association.

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer
        association_id ID of the association that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tasks/{task_id}/comments

        • Gets task comments by task ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tasks/{task_id}/comments

        • Creates a task comment by task ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer
        comment Text of the comment. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tasks/{task_id}/comments/{comment_id}

        • Determines if a task comment exists

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer
        comment_id ID of the task comment that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /tasks/{task_id}/comments/{comment_id}

        • Deletes a task comment by Task and Comment IDs

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer
        comment_id ID of the task comment that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tasks/{task_id}/labels

        • Gets task labels by task ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tasks/{task_id}/labels

        • Creates a task label by task ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer
        label Text of the label. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tasks/{task_id}/labels/{label}

        • Determines if a task label exists by task ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer
        label Text of the label. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /tasks/{task_id}/labels/{label}

        • Deletes a task label by task ID

        Parameters

        Parameter Value Description Parameter Type Data Type
        task_id ID of the task that needs to be checked. path integer
        label Text of the label that needs to be deleted. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Task not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • ticket_escalations : Operations about Ticket escalations

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /ticket_escalations

        • Get list of ticket escalations

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • put /ticket_escalations

        • Create new escalation

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        title Escalation name query string
        event_trigger Event trigger name query string
        event_trigger_time When to run event_trigger query integer
        terms Criteria for trigger run query string
        terms_any Filter query string
        actions Array of actions to perform query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_escalations/run_order

        • Update escalation run order

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        run_order Escalation ID query integer[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_escalations/{id}

        • Get escalation by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Escalation ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_escalations/{id}

        • Update existing escalation by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Escalation ID path integer
        title Escalation name query string
        event_trigger Event trigger name query string
        event_trigger_time When to run event_trigger query integer
        terms Criteria for trigger run query string
        terms_any Filter query string
        actions Array of actions to perform query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket_escalations/{id}

        • Delete escalation by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Escalation ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_escalations/{id}/disable

        • Disable escalation by id

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Escalation ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_escalations/{id}/enable

        • Enable escalation by id

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Escalation ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • ticket_fields : Operations about Ticket fields

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /ticket_fields

        • Get list of ticket fields, including custom fields

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • put /ticket_fields

        • Create custom ticket field

        Implementation Notes

        All you will pass in this query will be saved

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_fields/set-enabled/{field_id}/{is_enabled}

        • Set custom field enabled/disabled

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Custom field ID path integer
        is_enabled Enabled marker path boolean
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_fields/{id}

        • Get custom ticket field by Id

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Custom field id path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_fields/{id}

        • Save custom ticket field by ID

        Implementation Notes

        All you will pass in this query will be saved

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Custom field id path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket_fields/{id}

        • Delete custom field by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Custom field ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • ticket_filters : Operations about Ticket urgencies

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /ticket_filters

        • Get all defined filters

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_filters/display_order

        • Rearrange order in which filters are following

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        display_order path int[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_filters/{id}

        • Get ticket filter by Id

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id ID of given filter path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_filters/{id}

        • Save ticket filter details

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id ticket id path integer
        filter.title Title for this filter query string
        filter.is_global ticket global flag query boolean
        filter.person_id Added person identificator query integer
        filter.agent_team_id Agent team identificator query integer
        filter.terms query integer[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket_filters/{id}

        • Delete ticket filter by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id ticket filter id path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • ticket_layout : Operations about Ticket layouts

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /ticket_layouts/default

        • Get default ticket layout

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_layouts/default

        • Update default ticket layout

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        dep_id Department ID path integer
        layout[user] Layout user query string
        layout[agent] Layout agent query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_layouts/fields/{field_id}

        • Get field use statistic

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        field_id Field ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_layouts/fields/{field_id}

        • Save field status

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        field_id Field ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_layouts/stats

        • Show layout statistic by departments

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_layouts/{dep_id}

        • Get ticket layout for given department

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        dep_id Ticket department ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_layouts/{dep_id}

        • Update existing department layout by department ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        dep_id Department ID path integer
        layout[user] Layout user query string
        layout[agent] Layout agent query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket_layouts/{dep_id}

        • Delete department ticket layout by department ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        dep_id department ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • ticket_macros : Operations about Ticket macros

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /ticket_layouts/{dep_id}

        • Get macros by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Layout ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • put /ticket_macros

        • Create new macros

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        title Macros name query string
        is_global Mark/unmark macros as global query boolean
        person_id Set macros owner query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket_macros/{id}

        • Delete macros by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Macros ID path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_triggers

        • Get list of ticket macroses

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • ticket_statuses : Operations about Ticket status

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /ticket_statuses/archived

        • Return archivation settings
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_statuses/archived/reset-search-tables

        • Clean search status
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_statuses/archived/settings

        • Save archivator settings

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        enabled Should be tickets be archived? query boolean
        auto_archive_time When tickets have to be archived? query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_statuses/deleted

        • Return deleted tickets autopurge settings
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket_statuses/deleted/purge

        • Purge deleted tickets manually

        Implementation Notes

        Will return count for purged tickets

        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_statuses/deleted/settings

        • Save deleted tickets autopurge settings

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        auto_archive_time When tickets have to be pruged automatically? query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_statuses/spam

        • Return spam autodelete settings
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket_statuses/spam/purge

        • Purge spam tickets manually

        Implementation Notes

        Will return count for purged tickets

        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_statuses/spam/settings

        • Save spam autopurge settings

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        auto_archive_time When spam tickets have to be pruged automatically? query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_statuses/stats

        • Overall ticket statistic

        Implementation Notes

        Tickets grouped by their status and counted

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • ticket_triggers : Operations about Ticket triggers

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • put /ticket_triggers

        • Create trigger

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Trigger id path integer
        title Trigger name query string
        event_trigger Event type query string
        by_agent_mode query string[]
        by_user_mode query string[]
        criteria_sets Wenter criteria for this trigger query string[]
        actions Which actions this trigger should perform query string[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_triggers/get-custom-actions

        • Get all user defined actions for triggers

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_triggers/run_order

        • Rearrange trigger run order and save it

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        run_orders path string[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket_triggers/{id}

        • Delete trigger by ID

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Trigger id path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_triggers/{id}/disable

        • Disable trigger by id

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Trigger id path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_triggers/{id}/enable

        • Enable trigger by id

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Trigger id path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_triggers/{special_type}/disable

        • Disable trigger group by its name

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        special_type Group name path string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_triggers/{special_type}/enable

        • Enable trigger group by its name

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        special_type Group name path string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_triggers/{special_type}/{id}

        • Get trigger for given special type or just trigger by ID

        Implementation Notes

        For entity with no trigger it will be created

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        special_type Filter by type path string
        id ID of given special_type path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket_triggers/{special_type}/{id}

        • Save trigger for given special type

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        id Trigger id path integer
        special_type You can specify group for trigger path string
        title Trigger name query string
        event_trigger Event type query string
        by_agent_mode query string[]
        by_user_mode query string[]
        criteria_sets Wenter criteria for this trigger query string[]
        actions Which actions this trigger should perform query string[]
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket_triggers/{type}

        • Get triggers list grouped by their enable status

        Implementation Notes

        This is triggers provided by default system

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        type Event type path string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • ticket_urgencies : Operations about Ticket urgencies

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /ticket_urgencies

        • Get list of ticket counted urgency

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

  • tickets : Operations about Tickets

    • Show/Hide
    • List Operations
    • Expand Operations
    • Raw
      • get /ticket/{ticket_id}/billing-charges

        • Gets billing charges for a Ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /ticket/{ticket_id}/billing-charges

        • Gets billing charges for a Ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer
        time Time in seconds to bill. Required if there is no amount. query integer
        amount Amount (in admin-specified currency) to bill. Required if there is no time. query integer
        comment Comment or reason for the charge. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /ticket/{ticket_id}/billing-charges/{charge_id}

        • Determines if a charge exists for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer
        charge_id ID of the Charge that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /ticket/{ticket_id}/billing-charges/{charge_id}

        • Deletes a charge for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer
        charge_id ID of the Charge that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets

        • Creates a new Ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of person to create ticket for. query integer
        person_email If no person_id is given, the ticket is created for a person with this email. If no person is found with this email, one is created. query string
        person_name If a person is being created, use this as their name. query string
        overwrite_person_name Set person_name even if the person already exists. This will overwrite a persons name with the one provided in person_name. query boolean
        person_organization If a person is being created, user this as their organization. If no organization is found with this name, one is created. query string
        person_organization_position If a person is being created and they belong to an organization, select this as their position. query string
        subject Subject of the ticket. query string
        message First message of the ticket. query string
        message_as_agent If true, the message is considered to be written by the API agent rather than the ticket owner. Defaults to false. query boolean
        message_is_html If true, the message parameter is treated as HTML. query boolean
        agent_id Agent assigned to the ticket. Defaults to unassigned. query integer
        agent_team_id Agent team the ticket belongs to. query integer
        attach[] If you wish to upload a file with the ticket, you may send the request as multipart/form-data with the file data going to this parameter. form string
        attach_id[] The ID of an already uploaded file to include with the ticket. query string
        category_id Category the ticket is in. query string
        department_id Department the ticket is in. If not specified, uses the default ticket department. query string
        field[] Value for the specified field. query string
        label[] Label to apply to the ticket. query string
        language_id Language the ticket is in. query string
        priority_id Priority of the ticket. query string
        product_id Product the ticket relates to. query string
        status Status the ticket is in. Possible values are awaiting_user, awaiting_agent, archived, hidden, resolved. Defaults to awaiting_agent. query string
        sla_id[] Adds the SLA to the ticket. Can only add SLAs that agents may manually add. query string
        urgency Urgency of the ticket (1-10). query integer
        workflow_id Workflow for the ticket. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets

        • Search for Tickets matching criteria

        Implementation Notes

        All constraints are optional. Multiple constraints are AND'd together; multiple values for a single constraint are OR'd.

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        agent_id[] Requires ticket to be assigned to the specified agent ID. query string
        agent_team_id[] Requires ticket to be assigned to an agent in the specific agent team ID. query string
        category_id[] Requires ticket to be in the specified category ID. query string
        department_id[] Requires ticket to be in the specified department ID. query string
        field[#][] Requires ticket custom field to have the specified value in the listed field. query string
        label[] Requires ticket to be have the specified label. query string
        language_id[] Requires ticket to be in the specified language ID. query string
        organization_id[] Requires ticket to be for the specified organization ID. query string
        participant[] Requires ticket to be followed by or copied to the specified person ID. query string
        person_id[] Requires ticket to be created by the specified person ID. query string
        priority_id[] Requires ticket to be have the specified priority ID. query string
        product_id[] Requires ticket to be for the specified product ID. query string
        query Requires ticket to contain the specified text within it. query string
        status[] Requires ticket to be in the specified status. Possible values are awaiting_user, awaiting_agent, archived, hidden, resolved. query string
        is_hold If specified, requires the ticke to be on hold (1) or not on hold (0) query boolean
        sla_completed If specified, requires the ticket to have the SLA requirement completed (1) or incomplete (0). query boolean
        sla_id[] Requires ticket to be have the specified SLA. query string
        sla_status[] Requires ticket to be have the specified SLA status. Possible values: ok, warning, fail. query string
        subject[] Requires ticket subject to match the string provided. query string
        urgency[] Requires ticket to be have the specified urgency (1-10). query string
        workflow_id[] Requires ticket to be have the specified workflow ID. query string
        id_min Specify min ticket ID (since build 315) query integer
        id_max Specify max ticket ID (since build 315) query integer
        ref Specify a ref or the beginning characters of a ref (since build 315) query string
        date_created Constrains results based on the date the ticket was created. query string
        date_resolved Constrains results based on the date the ticket was first resolved. Unresolved tickets are not included. query string
        date_archived Constrains results based on the date the ticket was first archived. Unarchived tickets are not included. query string
        date_status Constrains results based on the date of the last status change. query string
        date_last_agent_reply Constrains results based on the date of the last agent reply. Tickets without an agent reply are not included. query string
        date_last_user_reply Constrains results based on the date of the last user reply. query string
        date_last_reply Constrains results based on the date of the last reply (either a user or agent reply, whichever was latest). query string
        order Order of the results. Defaults to accessing person's preference or ticket.date_created:desc. query string
        cache_id If provided, cached results from this result set are used. If it cannot be found or used, the other constraints provided will be used to create a new result set. query integer
        page The page number of the results to fetch. query integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/categories

        • Gets available ticket categories.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/departments

        • Gets available ticket departments.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/fields

        • Gets available custom ticket fields.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/filters

        • Get a map of filters

        Implementation Notes

        Find all ticket filters (system and custom)

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/filters/counts

        • Get array of filters and counts

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/filters/{filter_id}

        • Execute a filter and return results

        Response Class

        • Model
        • Model Schema
        array[null]


        Parameters

        Parameter Value Description Parameter Type Data Type
        filter_id Filter ID should be executed path integer
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/priorities

        • Gets available ticket priorities.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/products

        • Gets available ticket products.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/quick-stats

        • Returns all today created or resolved tickets and tickets awaiting their agent

        Response Class

        • Model
        • Model Schema
        array[null]


        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/slas

        • Gets available ticket SLAs.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/slas/{sla_id}

        • Gets an SLA.

        Parameters

        Parameter Value Description Parameter Type Data Type
        sla_id ID of the SLA that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 There is no SLA with ID
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/workflows

        • Gets available ticket workflows.
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}

        • Gets a Ticket by Ticket ID.

        Implementation Notes

        Information about the ticket by Ticket ID.

        Response Class

        • Model
        • Model Schema
        Ticket


        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer
        with_messages True to fetch message data with the ticket query boolean
        with_loaded_linked_tickets True to load linked ticket data (otherwise, just the IDs are returned) query boolean

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}

        • Updates a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        person_id ID of person to create ticket for. query integer
        subject A new subject for the ticket. query string
        agent_id Agent assigned to the ticket. Defaults to unassigned. query integer
        agent_team_id Agent team the ticket belongs to. query integer
        attach[] If you wish to upload a file with the ticket, you may send the request as multipart/form-data with the file data going to this parameter. form string
        category_id Category the ticket is in. query string
        department_id Department the ticket is in. If not specified, uses the default ticket department. query string
        field[] Value for the specified field. query string
        language_id Language the ticket is in. query string
        priority_id Priority of the ticket. query string
        product_id Product the ticket relates to. query string
        status Status the ticket is in. Possible values are awaiting_user, awaiting_agent, closed, hidden, resolved. Defaults to awaiting_agent. query string
        urgency Urgency of the ticket (1-10). query integer
        workflow_id Workflow for the ticket. query integer
        flag Sets the color of the flag for the this ticket for the API user. Use none to remove the flag. query string
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /tickets/{ticket_id}

        • DELETEs a Ticket by Ticket ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Person not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/claim

        • Assigns a ticket to the API user

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/labels

        • Gets the labels for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/labels

        • Adds a label to a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        label Label to add. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/labels/{label}

        • Determines if the ticket has the label.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        label label to check path string

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /tickets/{ticket_id}/labels/{label}

        • Removes a label from a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        label label that needs to deleted. path string

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/link/{link_ticket_id}

        • Links two tickets

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be linked with. path integer
        link_ticket_id ID of the Ticket that needs to be linked. path integer
        is_parent Make the second the parent ticket path boolean

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/lock

        • Locks a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be locked path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/logs

        • Gets all logs in a Ticket by Ticket ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/merge/{merge_ticket_id}

        • Merges the two tickets

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be merged with. path integer
        merge_ticket_id ID of the Ticket that needs to be merged. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/messages

        • Gets all messages in a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/messages

        • Replies to a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer
        message Message reply text. query string
        attach[] If you wish to upload a file with the ticket, you may send the request as multipart/form-data with the file data going to this parameter. query string
        attach_id[] The ID of an already uploaded file to include with the ticket. query string
        is_note If true, sets the reply as a note, rather than a public reply. Defaults to false. query boolean
        message_as_agent If true, the message is considered to be written by the API agent rather than the ticket owner. Defaults to false. query boolean
        message_is_html If true, the message parameter is treated as HTML. query boolean
        suppress_user_notify If true, suppresses user notification of the reply. Defaults to false. query boolean
        person_id Message author query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/messages/{message_id}

        • Gets the specific message

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/messages/{message_id}/details

        • Gets a specific message's details

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/participants

        • Gets the participants in a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/participants

        • Adds a participant to a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        person_id ID of the person to add to the ticket. query integer
        email Email address of the person to add to the ticket. If no person can be found with this email, one will be created. query string

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/participants/{participant_id}

        • Determines if a person is participating in a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        participant_id ID of the Person that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /tickets/{ticket_id}/participants/{participant_id}

        • Removes a participant from a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        participant_id ID of the Person that needs to be removed. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/slas

        • Gets a list of automatically applied SLAs for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/slas

        • Adds an SLA to the automatically applied SLAs for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        sla_id ID of SLA to add. query integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/slas/{sla_id}

        • Determines if a ticket SLA exists for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        sla_id ID of the SLA that needs to be checked. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • delete /tickets/{ticket_id}/slas/{sla_id}

        • Deletes a ticket SLA for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the ticket that needs to be searched. path integer
        sla_id ID of the SLA that needs to be deleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/spam

        • Marks a ticket as spam.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be marked spam. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/split

        • Splits messages from a ticket into a new one.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched. path integer
        message_ids[] ID of a message to split. Specify this parameter multiple times to split multiple messages. query string
        subject subject of the new ticket query string

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • get /tickets/{ticket_id}/tasks

        • Gets the tasks for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be searched for Tasks path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/tasks

        • Create a task for a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket where the task needs to be created. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/undelete

        • Undeletes a Ticket by Ticket ID.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be undeleted. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/unlock

        • unLocks a ticket.

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be unlocked path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers

      • post /tickets/{ticket_id}/unspam

        • Removes spam indicator from a ticket

        Parameters

        Parameter Value Description Parameter Type Data Type
        ticket_id ID of the Ticket that needs to be unspamed. path integer

        Error Status Codes

        HTTP Status Code Reason
        404 Ticket not found
        Hide Response Throbber

        Request URL

        Response Body

        Response Code

        Response Headers



[ base url: https://deskprodemo.deskpro.com/api/docs ]