Installation Channels

📘

Supported Regions and Base URLs

👍

Access and Registration

Authentication

Scope

apps:write

Request Body

{
  "type": "messages",
  "resource_type": "number",
  "resource": "string"
}

Body Response - Schema

200 (channel provisioned for the app installation)

ParameterTypeDescription
totalintegern/a
pageintegern/a
per_pageintegern/a
_embeddedobject"_embedded" subdivides into:

1.1 - "users" (array[object]), which subdivides into:
1.1.1 - "type" (string) - the type of channel. Allowed value: "messages".
1.1.2 - "updated_at" (string) - date of the latest change to this channel.
1.1.3 - "_embedded" (object), which subdivides into:
1.1.3.1 - "resource" (array[object]), which subdivides into:
1.1.3.1.1 - "id" (string) - the ID of the target resource.
1.1.3.1.2 - "type" (string) - the target resource type (e.g.: "number").
1.1.4 - "_links" (object), which subdivides into:
1.1.4.1 - "self" (object), which subdivides into:
1.1.4.1.1 - "href" (string) -default: http://api-docs.talkdesk.org/numbers/{number_id}/channels/{type}
_linksobject"_links" subdivides into:

"self" (array[object]), which subdivides into:

"href" (string) -default: https://api-docs.talkdesk.org/apps/{app_id}/installations/{installation_id}/channels

400 (bad request), 401 (unauthorized), 403 (forbidden), 404 (app or installation not found), 409 (resource already in use)

ParameterTypeDescriptionRequired
codestringn/ayes
messagestringn/ayes
descriptionstringn/ano
fieldsarray[object]"fields" subdivides into:

"name" (string)

"description" (string)
yes (name and description)

🚧

Troubleshooting

If you have questions or technical issues, please open a ticket using this form.

Language
Authorization
Header
Click Try It! to start a request and see the response here!