Channel360 V1.1 API

This document contains all supported endpoints.


Notifications

Send a Notification

post

API call to Send a Notification

Path parameters
orgIdstringRequired
Body
destinationstringOptionalExample: +27618982358
Responses
post
/v1.1/org/{orgId}/notification
201

Notification sent

Templates

Request Template

get

API call to get a Template.

Path parameters
orgIdstringRequired

Organization ID

Responses
200

Successfully retrieved Template

application/json
get
/v1.1/org/{orgId}/templates/test_template
200

Successfully retrieved Template

Request Template with image in the header

get

API call to get a Template with image in the header

Path parameters
orgIdstringRequired
templateNamestringRequired
Responses
200

Successfully retrieved Template (with image in the header)

application/json
get
/v1.1/org/{orgId}/templates/{templateName}
200

Successfully retrieved Template (with image in the header)

Request to List Templates

get
/v1.1/org/{orgId}/templates/list

API request to List templates

Path parameters
orgIdstringRequired

Organization ID

Responses
200

Successfully retrieved Template List

application/json
get
/v1.1/org/{orgId}/templates/list
200

Successfully retrieved Template List

Request for a list of enabled & configured templates

get
/v1.1/org/orgId/templates/list

API request to list enabled & configured templates

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
enabledboolean · enumOptional

Filter templates by enabled status

Example: truePossible values:
filterstringOptional

Filter templates by configuration (configured)

Example: configured
Responses
200

Successfully retrieved template enabled and configured list

application/json
get
/v1.1/org/orgId/templates/list
200

Successfully retrieved template enabled and configured list

Request a list of templates by their enabled status

get
/v1.1/org/:orgId/templates/list

API request to list enabled templates

Required scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
enabledboolean · enumOptional

Filter templates by their enabled status

Example: truePossible values:
Responses
200

Successfully retrieved enabled templates

application/json
get
/v1.1/org/:orgId/templates/list
200

Successfully retrieved enabled templates

Create Template (Without Tags)

post

API call to create a new Template (Without Tags)

Path parameters
orgIdstringRequired
Body
namestringOptional

The template name must only contain lower case letters, underscores, and numbers

Example: hello_peter_test
descriptionstringOptionalExample: 1234
namespacestringOptional

Can always be default

Example: default
languagestring · enumOptionalExample: en_USPossible values:
enabledbooleanOptionalExample: true
categorystring · enumOptionalExample: ACCOUNT_UPDATEPossible values:
Responses
200

Successfully Created Template (Without Tags)

application/json
post
/v1.1/org/{orgId}/whatsapp/templates
200

Successfully Created Template (Without Tags)

Create Template (With image and quick reply buttons)

post

API call to create a new Template (With image and quick reply buttons)

Path parameters
orgIdstringRequired
Body
namestringOptionalExample: est_example_with_image_and_buttons
descriptionstringOptionalExample: this is a internal description
namespacestringOptionalExample: channel_test_template
languagestringOptionalExample: en
enabledbooleanOptionalExample: true
categorystring · enumOptionalExample: ALERT_UPDATEPossible values:
Responses
200

Successfully Created Template (With image and quick reply buttons)

application/json
post
/v1.1/org/:{orgId}/whatsapp/templates
200

Successfully Created Template (With image and quick reply buttons)

Create Text Template (with Tags)

post

API call to create a new Text Template (with Tags)

Body
namestringOptionalExample: test_text_with_tags_button_api_2
descriptionstringOptionalExample: Test in API
namespacestringOptionalExample: default
languagestringOptionalExample: en
enabledbooleanOptionalExample: true
categorystring · enumOptionalExample: ALERT_UPDATEPossible values:
Responses
200

Successfully Created Text Template (with Tags)

application/json
post
/v1.1/org/:orgId/whatsapp/templates
200

Successfully Created Text Template (with Tags)

Create Image Template (with Tags)

post

API call to create a new Image Template (with Tags)

Body
namestringOptionalExample: test_image_with_tags_api_2
descriptionstringOptionalExample: Test in API
namespacestringOptionalExample: default
languagestringOptionalExample: en
enabledbooleanOptionalExample: true
categorystring · enumOptionalExample: ALERT_UPDATEPossible values:
Responses
200

Successfully Created Image Template (with Tags)

application/json
post
/v1.1/org/:orgId/whatsapp/templates/
200

Successfully Created Image Template (with Tags)

Create Text Template (With Tags and Quick Reply Buttons)

post

API call to create Text Template (With Tags and Quick Reply Buttons)

Path parameters
orgIdstringRequired
Body
namestringOptionalExample: ci_test_text_tags_qr_buttons
descriptionstringOptionalExample: Automated Test Template
namespacestringOptionalExample: default
languagestringOptionalExample: en
enabledbooleanOptionalExample: true
categorystring · enumOptionalExample: ALERT_UPDATEPossible values:
Responses
200

Successfully Created Text Template (With Tags and Quick Reply Buttons)

application/json
post
/v1.1/org/{orgId}/whatsapp/templates/
200

Successfully Created Text Template (With Tags and Quick Reply Buttons)

Create Image Template (With Tags and Call To Action Buttons)

post

API call to create Image Template (With Tags and Call To Action Buttons)

Body
namestringOptionalExample: ci_test_image_tags_cta_buttons
descriptionstringOptionalExample: Automated Test Template
namespacestringOptionalExample: default
languagestringOptionalExample: en
enabledbooleanOptionalExample: true
categorystring · enumOptionalExample: ALERT_UPDATEPossible values:
Responses
200

Successfully Created Image Template (With Tags and Call To Action Buttons)

application/json
post
/v1.1/org/orgId/whatsapp/templates/
200

Successfully Created Image Template (With Tags and Call To Action Buttons)

Create a Video Template

post
/v1.1/organization/:orgId/whatsapp/templates/

API call to create a Video Template

Body
namestringOptionalExample: example_of_a_video_template
descriptionstringOptionalExample: Channel Mobile video template example
namespacestringOptionalExample: default
languagestringOptionalExample: en_US
enabledbooleanOptionalExample: true
categorystring · enumOptionalExample: MARKETINGPossible values:
Responses
200

Successfully created a Video Template

application/json
post
/v1.1/organization/:orgId/whatsapp/templates/
200

Successfully created a Video Template

Update Template

put

API call to Update Template

Path parameters
templateIdstringRequired
Body
Responses
200

Successfully Updated Template

application/json
put
/v1.1/templates/{templateId}
200

Successfully Updated Template

Update Template (CSV)

put

API call to Update Template (CSV)

Path parameters
templateIdstringRequired
Body
Responses
200

Successfully Updated Template (CSV)

application/json
put
/v1.1/templates/:{templateId}
200

Successfully Updated Template (CSV)

Upload Template

post

API call to Upload a Template

Body
filestringOptionalExample: CompanyLogo.png
Responses
200

Successfully Uploaded Template

application/json
post
/v1.1/templates/upload
200

Successfully Uploaded Template

Upload Image

post

API call to Upload an Image

Body
filestringOptionalExample: Monkey-Selfie.webp
Responses
200

Successfully Uploaded Image

application/json
post
/v1.1/templates/:upload
200

Successfully Uploaded Image

Ingest Template

post

API call to ingest template

Path parameters
orgIdstringRequired
Body
filestringOptionalExample: test_file
Responses
200

Successfully ingested template

application/json
post
/v1.1/org/{orgId}/whatsapp/templates/ingest
200

Successfully ingested template

Delete Template

delete

API call to Delete a Template

Path parameters
messageTemplateIdstringRequired
Responses
200

Successfully Deleted Template

application/json
Responseobject
delete
/v1.1/templates/{messageTemplateId}
200

Successfully Deleted Template

Organisations

Request for an Organization (by ID)

get

API call to get an organization by ID.

Path parameters
orgIdstringRequired

Organization ID

Responses
200

Successfully retrieved organization by ID

application/json
get
/v1.1/org/{orgId}/organization
200

Successfully retrieved organization by ID

Users

Request for Organizations by user

get

API call from user to get organizations.

Path parameters
userIdstringRequired

User ID

Responses
200

Successfully retrieved user's organizations

application/json
get
/v1.1/users{userId}/organization
200

Successfully retrieved user's organizations

Webhooks

Create Webhook

post

API call to Create a Webhook

Path parameters
orgIdstringRequired
Body
targetstringOptionalExample: https://41-216-203-43.ngrok-free.app/webhook
triggersobjectOptionalExample: ["notification:delivery:channel","notification:delivery:user","notification:delivery:failure","conversation:read","message:appMaker","message:appUser"]
Responses
200

Webhook created successfully

application/json
Responseobject
post
/v1.1/org/{orgId}/webhooks
200

Webhook created successfully

Get Webhooks

get

API request for Webhooks

Path parameters
orgIdstringRequired
Responses
200

Successfully retrieved Webhooks

application/json
get
/v1.1/org/{orgId}/:webhooks
200

Successfully retrieved Webhooks

Delete Webhook

delete

API call to Delete a Webhook

Path parameters
orgIdstringRequired
webhook-idstringRequired
Responses
200

Webhook deleted successfully

application/json
Responseobject
delete
/v1.1/org/{orgId}/webhooks/{webhook-id}
200

Webhook deleted successfully

Conversations

Send file request

post

API request to send a file

Path parameters
appUserstringRequired
Body
typestring · enumRequiredExample: filePossible values:
mediaUrlstringRequiredExample: https://www.w3.org/dummy.pdf
altTextstringRequiredExample: Here is a pdf attached
Responses
200

Successfully Replied.

application/json
post
/v1.1/org/orgId/whatsapp/appuser/:{appUser}/reply/
200

Successfully Replied.

Send image request

post

API request to send an image

Path parameters
orgIdstringRequired
appUserstringRequired
Body
typestring · enumRequiredExample: imagePossible values:
mediaUrlstringRequiredExample: https://example.org/test.png
altTextstringRequiredExample: Here is an image attached to the message
Responses
200

Successfully Replied.

application/json
post
/v1.1/org/{orgId}/whatsapp/appuser/{appUser}/reply
200

Successfully Replied.

Send text request

post

API call to send text

Path parameters
orgIdstringRequired
appUserstringRequired
Body
textstringRequiredExample: Hello World
Responses
200

Successfully Replied.

post
/v1.1/org/{orgId}/whatsapp/appuser/:{appUser}/reply
200

Successfully Replied.

No content

Send video request

post

API request to send a video

Path parameters
orgIdstringRequired
appUserstringRequired
Body
typestringRequiredExample: video
mediaUrlstringRequiredExample: https://videoLink.mp4
altTextstringRequiredExample: Here is an video attached to the message
Responses
200

Successfully Replied.

application/json
post
/v1.1/org/{orgId}/whatsapp/appuser/:{appUser}/reply/
200

Successfully Replied.

Last updated

Was this helpful?