Endpoints for user login and token management to securely access the API.
Core APIs
/- List enterprises for a specified CSP (supports pagination).
Create a new enterprise for a given CSP and return details
Read Single Enterprise
Delete an enterprise by ID and return operation result
List enterprises for a sp...
ContextSMS Webex Bot API (1.0.0)
- Enterprise Authentication - Secure Bearer token authentication
- Enterprise Management - Create and manage customer organizations
- Phone Number Mapping - Link phone numbers to Webex identities
- Real-time Webhooks - Instant message event notifications
- Multi-environment - Separate development and production environments
- Authenticate → Get your Bearer token via login
- Create Enterprise → Set up customer organization with CSP ID
- Add Mapping → Link phone number to Webex identity
- Handle Events → Process incoming webhook notifications
Download OpenAPI description
Overview
URL
Sabrhub API Support Team
License
Languages
Servers
Mock server
https://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external
Production Environment (live)
https://context-webex.sabrhub.com/api/v1
Authentication Server (production)
https://usermanagement.sabrhub.com/v1
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external/enterprise/{cspId}
- Production Environment (live)https://context-webex.sabrhub.com/api/v1/enterprise/{cspId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/enterprise/{cspId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external/enterprise/CSP001 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "test enterprise2",
"contact": "Test Contact",
"number": "+12223334444",
"email": "test@email.com",
"defaultMmsSelection": true
}'Response
application/json
{ "enterpriseId": "E0000090", "name": "test enterprise2", "contact": "Test Contact", "number": "+12223334444", "email": "test@email.com", "deleted": false, "createdDate": 1698446777442, "updateDate": 1698446777443, "webexSettings": {}, "numberToMessageAppMaps": [], "defaultMmsSelection": true }
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external/enterprise/getenterprise/{enterpriseId}
- Production Environment (live)https://context-webex.sabrhub.com/api/v1/enterprise/getenterprise/{enterpriseId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/enterprise/getenterprise/{enterpriseId}
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X GET "https://webex-dev-frontend.sabrhub.com/api/v1/enterprise/getenterprise/{enterpriseId}" \
-H "Authorization: Bearer YOUR_TOKEN"Response
application/json
{ "enterpriseId": "E0000090", "name": "test enterprise2", "contact": "Test Contact", "number": "+12223334444", "email": "test@email.com", "deleted": false, "createdDate": 1698446777442, "updateDate": 1698446777443, "webexSettings": {}, "numberToMessageAppMaps": [], "defaultMmsSelection": true }
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external/csp/enterprises/{cspId}
- Production Environment (live)https://context-webex.sabrhub.com/api/v1/csp/enterprises/{cspId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/csp/enterprises/{cspId}
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X GET "https://context-webex.sabrhub.com/api/v1/csp/enterprises/{cspId}" \
-H "Authorization: Bearer YOUR_TOKEN"Response
application/json
[ { "enterpriseId": "E0000090", "name": "test enterprise2", "contact": "Test Contact", "number": "+12223334444", "email": "test@email.com", "deleted": false, "createdDate": 1698446777442, "updateDate": 1698446777443, "webexSettings": {}, "numberToMessageAppMaps": [], "defaultMmsSelection": true } ]
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external/enterprise/deleteenterprise/{enterpriseId}
- Production Environment (live)https://context-webex.sabrhub.com/api/v1/enterprise/deleteenterprise/{enterpriseId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/enterprise/deleteenterprise/{enterpriseId}
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X DELETE "https://webex-dev-frontend.sabrhub.com/api/v1/enterprise/deleteenterprise/{enterpriseId}" \
-H "Authorization: Bearer YOUR_TOKEN"Response
application/json
{ "message": "Enterprise deleted successfully" }