Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Mobile Channel Creation via API

MarcoEidinger edited this page Aug 24, 2021 · 1 revision

In the Community Edition you create a mobile channel via the /channel API.

# create a mobile channel
curl -X POST "<BaseUrl>/connect/v1/channels" \
-H "X-Token: Token <DeveloperToken>" \
-H "Content-Type: application/json" \
-d '{"type":"mobile","slug":"<desiredChannelSlug>","connectionTarget": "SAP_Product","targetSystem": "MobileBot","isActivated":true}'

Staging

For bots created in Staging (https://cai-staging.tools.sap/) please use https://api.staging-sapcai.com as baseUrl

Production

For bots created in Production (https://cai.tools.sap/) please use https://api.cai.tools.sap as baseUrl

Clone this wiki locally