Endpoints for user login and token management to securely access the API.
Core APIs
/- Delete mapping by mappingId and return operation status
Create mapping for enterprise and return created mapping
Retrieve mappings for a specific CSP with optional filters
Retrieve mappings for a specific enterprise with optional filters
Delete mapping by mapping...
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/mapping/add/{enterpriseId}
- Production Environment (live)https://context-webex.sabrhub.com/api/v1/mapping/add/{enterpriseId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/mapping/add/{enterpriseId}
- 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/mapping/add/E0000090 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "test mapping",
"number": "+12223334444",
"type": "sms"
}'Response
application/json
{ "mappingId": "M0000001", "name": "test mapping", "number": "+12223334444", "type": "sms" }
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external/mappings/csp/{cspId}
- Production Environment (live)https://context-webex.sabrhub.com/api/v1/mappings/csp/{cspId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/mappings/csp/{cspId}
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X GET "https://context-webex.sabrhub.com/api/v1/mappings/csp/{cspId}" \
-H "Authorization: Bearer YOUR_TOKEN"Response
application/json
[ { "mappingId": "string", "name": "string", "number": "string", "type": "string" } ]
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external/mappings/enterprise/{enterpriseId}
- Production Environment (live)https://context-webex.sabrhub.com/api/v1/mappings/enterprise/{enterpriseId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/mappings/enterprise/{enterpriseId}
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X GET "https://context-webex.sabrhub.com/api/v1/mappings/enterprise/{enterpriseId}" \
-H "Authorization: Bearer YOUR_TOKEN"Response
application/json
[ { "mappingId": "string", "name": "string", "number": "string", "type": "string" } ]
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-webex.external/mapping/{mappingId}
- Production Environment (live)https://context-webex.sabrhub.com/api/v1/mapping/{mappingId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/mapping/{mappingId}
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X DELETE "https://context-webex.sabrhub.com/api/v1/mapping/{mappingId}" \
-H "Authorization: Bearer YOUR_TOKEN"Response
application/json
{ "message": "Mapping deleted successfully" }