Endpoints related to user authentication and token management
Core APIs
//Create enterprise
ContextSMS Teams Platform API (1.0.0)
- Unified Teams Integration - Connect Teams with external messaging systems
- Multi-tenant Support - Manage multiple customer organizations efficiently
- Advanced Routing - Intelligent message routing and delivery
- Real-time Messaging - Instant message delivery and notifications
Download OpenAPI description
Overview
URL
Sabrhub API Support Team
License
Languages
Servers
Mock server
https://context-docs.sabrhub.com/_mock/specs/contextsms-teams.external
Teams Backend Server (production)
https://teams-backend.sabrhub.com
Authentication Server (production)
https://usermanagement.sabrhub.com/v1
Bodyapplication/jsonrequired
Array of platform-specific enterprise feature configurations
Example: [{"platformType":"Teams","enabled":true,"groupTexting":true,"broadcastTexting":true,"mmsEnabled":false,"teamTexting":true,"scheduleSend":true,"aiSmartReplies":false,"aiChatAssist":false,"cdrAccess":false,"crmIntegration":false,"contactsIntegration":false},{"platformType":"Webex","enabled":true,"groupTexting":true,"broadcastTexting":true,"mmsEnabled":false,"teamTexting":true,"scheduleSend":true,"aiSmartReplies":false,"aiChatAssist":false,"cdrAccess":false,"crmIntegration":false,"contactsIntegration":false}]
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-teams.external/enterprise/{cspId}
- Teams Backend Server (production)https://teams-backend.sabrhub.com/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 -X POST "https://teams-backend.sabrhub.com/enterprise/CSP0000003" \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "test",
"contact": "test",
"number": "+13234222322",
"email": "test@gmail.com",
"defaultMmsSelection": true,
"enterpriseFeatures": [
{
"platformType": "Teams",
"enabled": true,
"groupTexting": true,
"broadcastTexting": true,
"mmsEnabled": false,
"teamTexting": true,
"scheduleSend": true,
"aiSmartReplies": false,
"aiChatAssist": false,
"cdrAccess": false,
"crmIntegration": false,
"contactsIntegration": false
},
{
"platformType": "Webex",
"enabled": true,
"groupTexting": true,
"broadcastTexting": true,
"mmsEnabled": false,
"teamTexting": true,
"scheduleSend": true,
"aiSmartReplies": false,
"aiChatAssist": false,
"cdrAccess": false,
"crmIntegration": false,
"contactsIntegration": false
}
]
}'Response
application/json
{ "enterpriseId": "E0000090", "name": "test enterprise2", "contact": "Test Contact", "number": "+12223334444", "email": "test@email.com", "deleted": false, "createdDate": "2023-10-29T12:06:17.442Z", "updateDate": "2023-10-29T12:06:17.443Z" }
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-teams.external/enterprise/getenterprise/{enterpriseId}
- Teams Backend Server (production)https://teams-backend.sabrhub.com/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://teams-backend.sabrhub.com/enterprise/getenterprise/E0000090" \
-H "Authorization: Bearer <TOKEN>"Response
application/json
{ "enterpriseId": "E0000090", "name": "test enterprise2", "contact": "Test Contact", "number": "+12223334444", "email": "test@example.com", "deleted": false, "createdDate": "2023-10-29T12:06:17.442Z", "updateDate": "2023-10-29T12:06:17.443Z" }
Bodyapplication/jsonrequired
Array of platform-specific enterprise feature configurations with applyToMappings flags
Example: [{"platformType":"Teams","enabled":true,"groupTexting":true,"broadcastTexting":true,"mmsEnabled":false,"teamTexting":true,"scheduleSend":true,"aiSmartReplies":false,"aiChatAssist":false,"cdrAccess":false,"crmIntegration":false,"contactsIntegration":false,"applyToMappings":true,"mmsEnabledApplyToMappings":false,"groupTextingApplyToMappings":false,"broadcastTextingApplyToMappings":false,"teamTextingApplyToMappings":false,"scheduleSendApplyToMappings":false,"aiSmartRepliesApplyToMappings":false,"aiChatAssistApplyToMappings":false,"cdrAccessApplyToMappings":false,"crmIntegrationApplyToMappings":false,"contactsIntegrationApplyToMappings":false}]
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-teams.external/enterprise/{enterpriseId}
- Teams Backend Server (production)https://teams-backend.sabrhub.com/enterprise/{enterpriseId}
- Authentication Server (production)https://usermanagement.sabrhub.com/v1/enterprise/{enterpriseId}
- cURL
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -X PUT "https://teams-backend.sabrhub.com/enterprise/E0000090" \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Updated Enterprise Name",
"contact": "Updated Contact",
"number": "+12223334444",
"email": "updated@email.com",
"defaultMmsSelection": true,
"enterpriseFeatures": [
{
"platformType": "Teams",
"enabled": true,
"groupTexting": true,
"broadcastTexting": true,
"mmsEnabled": false,
"teamTexting": true,
"scheduleSend": true,
"aiSmartReplies": false,
"aiChatAssist": false,
"cdrAccess": false,
"crmIntegration": false,
"contactsIntegration": false,
"applyToMappings": true,
"mmsEnabledApplyToMappings": false,
"groupTextingApplyToMappings": false,
"broadcastTextingApplyToMappings": false,
"teamTextingApplyToMappings": false,
"scheduleSendApplyToMappings": false,
"aiSmartRepliesApplyToMappings": false,
"aiChatAssistApplyToMappings": false,
"cdrAccessApplyToMappings": false,
"crmIntegrationApplyToMappings": false,
"contactsIntegrationApplyToMappings": false
}
]
}'Response
application/json
{ "enterpriseId": "E0000090", "name": "Updated Enterprise Name", "contact": "Updated Contact", "number": "+12223334444", "email": "updated@email.com", "deleted": false, "createdDate": "2023-10-29T12:06:17.442Z", "updateDate": "2023-10-29T15:30:00.000Z" }
- Mock serverhttps://context-docs.sabrhub.com/_mock/specs/contextsms-teams.external/enterprise/deleteenterprise/{enterpriseId}
- Teams Backend Server (production)https://teams-backend.sabrhub.com/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://teams-backend.sabrhub.com/enterprise/deleteenterprise/E0000090" \
-H "Authorization: Bearer <TOKEN>"