Zendesk Channel Framework API

The Channel Framework API from Zendesk — 3 operation(s) for channel framework.

Documentation

📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/introduction/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/targets/targets/
📖
Documentation
https://developer.zendesk.com/api-reference/sales-crm/resources/account/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/activity_stream/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/channel_framework/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket-attachments/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/audit_logs/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/organizations/organizations/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/business-rules/automations/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/bookmarks/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/brand_agents/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/brands/
📖
Documentation
https://developer.zendesk.com/api-reference/live-chat/chat-api/chats/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_comments/
📖
Documentation
https://developer.zendesk.com/api-reference/custom-data/introduction/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/custom_roles/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/custom_ticket_statuses/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/users/users/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/business-rules/deletion_schedules/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/dynamic_content/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/email_notifications/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/groups/group_memberships/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/business-rules/group_sla_policies/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/groups/groups/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_import/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/incremental_exports/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/job_statuses/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/locales/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/business-rules/macros/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/oauth/oauth_tokens/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/organizations/organization_fields/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/organizations/organization_memberships/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/organizations/organization_subscriptions/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/push_notification_devices/
📖
Documentation
https://developer.zendesk.com/api-reference/agent-availability/omnichannel_routing_queues/omnichannel_routing_queues/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/support_addresses/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/lookup_relationships/lookup_relationships/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket-requests/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/resource_collections/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/skill_based_routing/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/satisfaction_ratings/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/satisfaction_reasons/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/search/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/account-configuration/sessions/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/sharing_agreements/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_skips/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/business-rules/sla_policies/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/suspended_tickets/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/tags/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_audits/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_fields/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_form_statuses/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_forms/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/tickets/ticket_metrics/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/business-rules/triggers/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/business-rules/views/
📖
Documentation
https://developer.zendesk.com/api-reference/ticketing/ticket-management/workspaces/

Specifications

Schemas & Data

Other Resources

OpenAPI Specification

zendesk-channel-framework-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  version: '1.0'
  title: Zendesk Account Account Settings Channel Framework API
  description: Needs a description.
tags:
- name: Channel Framework
paths:
  /api/v2/any_channel/channelback/report_error:
    post:
      operationId: ReportChannelbackError
      tags:
      - Channel Framework
      summary: Zendesk Post  Api V2 Any_channel Channelback Report_error
      description: '#### Allowed For


        * Admins


        #### Request parameters


        The POST request takes a JSON object parameter which contains information about the

        problematic [channelback](/documentation/channel_framework/understanding-the-channel-framework/channelback/).


        | Name               | Type      | Required  | Comments

        | ------------------ | ----------| --------- | -------------------

        | instance_push_id   | string    | yes       | The ID of the account to which data will be pushed.  This was passed to the integration service when the administrator set up the account

        | external_id        | string    | yes       | Unique identifier of the external resource from the original channelback (string)

        | description        | string    | no        | A human readable description of the error

        | request_id         | string    | no        | A unique identifier for the request



        #### Response format


        The response does not include a response body

        '
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                type: string
                description: Empty response
                example: ''
              example: ''
  /api/v2/any_channel/push:
    post:
      operationId: PushContentToSupport
      tags:
      - Channel Framework
      summary: Zendesk Post  Api V2 Any_channel Push
      description: 'Pushes Channel framework content to Zendesk.


        #### Allowed For


        * Admins


        #### Request parameters


        The POST request takes a JSON object parameter which contains data about all

        the resources that the client is pushing.


        | Name               | Type      | Required  | Comments

        | ------------------ | ----------| --------- | -------------------

        | instance_push_id   | string    | yes       | The account ID where data will be pushed. This was passed to the integration service when the administrator set up the account

        | request_id         | string    | no        | A unique identifier for the push request

        | external_resources | array     | yes       | The [resources](#external_resource-object) to push


        #### external_resource object


        | Name               | Type                               | Max length | Mandatory | Comments

        |------------------- | ---------------------------------- |------------| --------- | ----------

        | external_id        | string                             | 255        | yes       | Unique identifier of the external resource. Must be ASCII characters

        | internal_note      | boolean                            |            | no        | If true creates a new internal note comment

        | message            | string                             | 65535      | yes       | Text to be converted to a ticket or comment

        | html_message       | string                             | 65535      | no        | HTML version of message

        | parent_id          | string                             | 511        | no        | Unique identifier of the external resource for which this is a response. Used to choose the correct thread. Responses may include `parent_id` or `thread_id`, but not both. See [Conversation threads](/documentation/channel_framework/understanding-the-channel-framework/pull_endpoint/#conversation-threads)

        | thread_id          | string                             | 255        | no        | Arbitrary identifier of the thread to which this item should belong. Responses may include `parent_id` or `thread_id`, but not both. See [Conversation threads](/documentation/channel_framework/understanding-the-channel-framework/pull_endpoint/#conversation-threads)

        | created_at         | string                             |            | yes       | When the resource was created in the origin system, as an ISO 8601 extended format date-time. Example: ''2015-09-08T22:48:09Z''

        | author             | object                             |            | yes       | See [author object](#author-object) below

        | display_info       | array                              |            | no        | Array of integration-specific data used by apps to modify the agent UI. See [display_info object](#display_info-object) below

        | allow_channelback  | boolean                            |            | no        | If false, prevents the agent from making additional comments on the message in the Zendesk interface

        | fields             | array                              |            | no        | Array of ticket fields to set in Zendesk and their values. See [fields array](#fields-array)

        | file_urls          | array                              | 10         | no        | Array of files to be imported into Zendesk. See [file urls](/documentation/channel_framework/understanding-the-channel-framework/pull_endpoint/#file-urls) in the Channel framework docs


        #### author object


        | Name        | Type   | Max chars | Mandatory | Comments

        |------------ | ------ |---------- |---------- |-----------

        | external_id | string | 255       | yes       | Unique identifier of the user in the origin service

        | name        | string | 255       | no        | If not supplied, defaults to external id

        | image_url   | string | 255       | no        | URL to an image for the user

        | locale      | String | 255       | no        | The user''s locale. Must be one of the supported [locales](/api-reference/ticketing/account-configuration/locales/#list-available-public-locales) in Zendesk

        | fields      | array  |           | no        | Array of items containing user field identifier (''id'') and value of field (''value''.)  For system fields (''notes'' or ''details''), the identifier is the English name. For custom fields, the identifier may be the ID or the name


        #### display_info object


        | Name | Type   | Max chars | Mandatory | Comments

        |----- | ------ |---------- |---------- |-----------

        | type | string | 255       | yes       | Globally unique type identifier defined by the integration origin service. Examples: a GUID or URI

        | data | string | 65535     | yes       | JSON data containing display hints


        #### fields array


        The `fields` array lists ticket fields to set in Zendesk and their values. Each item consists of a field identifier (`id`) and a value (`value`) for the field. For Zendesk system fields such as `subject`, the identifier is the English name. For custom fields, the identifier may be a field ID or a name. See [Ticket Fields](/api-reference/ticketing/tickets/ticket_fields/).


        The `fields` array can only set ticket values on ticket creation, not on ticket updates.


        #### Response format


        The response is a JSON object containing a single key:


        | Name      | Type     | Comments

        | --------- | -------- | -------------------

        | results   | array    | An array of [result objects](#result-object)


        The `results` array contains an entry for each item in the incoming `external_resources` array, in the

        same order.  For example, if you call `push` with 3 external resources, a successful response will include

        `results` with three entries, corresponding to your 3 resources.


        #### result object


        | Name                 | Type                           | Comments

        | -------------------- | ------------------------------ | -------------------

        | external_resource_id | string                         | The external ID of the resource, as passed in

        | status               | object                         | The status of the import for the indicated resource. See [status object](#status-object)


        #### status object


        | Name        | Type   | Comments

        | ----------- | ------ | -------------------

        | code        | string | A code indicating the status of the import of the resource, as described in [status codes](#status-codes)

        | description | string | In the case of an exception, a description of the exception. Otherwise, not present.


        #### status codes


        | Key                                       | Description

        | ----------------------------------------- | ----------------

        | success                                   | The external resource was successfully converted to a ticket or comment

        | already_imported                          | Reimport of the external resource was skipped due to a pre-existing ticket or comment for the resource

        | could_not_locate_parent_external_resource | The parent resource, as identified by parent_id in the [request](#request-parameters), could not be found. The unrecognized parent ID is returned in the description of the [status](#status-object)

        | processing_error                          | An internal exception occurred while processing the resource. See `description` in the [status object](#status-object)

        | halted                                    | This resource was not processed because processing of previous resources failed

        '
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChannelFrameworkPushResultsResponse'
              examples:
                default:
                  $ref: '#/components/examples/ChannelFrameworkPushResultsResponseExample'
  /api/v2/any_channel/validate_token:
    post:
      operationId: ValidateToken
      tags:
      - Channel Framework
      summary: Zendesk Post  Api V2 Any_channel Validate_token
      description: '#### Allowed For


        * Admins


        #### Request parameters


        The POST request takes a JSON object parameter which contains the token to be validated.


        | Name               | Type      | Required  | Comments

        | ------------------ | ----------| --------- | -------------------

        | instance_push_id   | string    | yes       | The ID of the account to which data will be pushed. This was passed to the integration service when the administrator set up the account

        | request_id         | string    | no        | A unique identifier for the push request


        #### Response format


        The response body is empty.

        '
      responses:
        '200':
          description: Success response
          content:
            application/json:
              schema:
                type: string
                description: Empty response
                example: ''
              example: ''
components:
  schemas:
    ChannelFrameworkPushResultsResponse:
      type: object
      properties:
        results:
          type: array
          description: An array of [result objects](#result-object)
          items:
            $ref: '#/components/schemas/ChannelFrameworkResultObject'