api:flexcare:videochat:createsms
Table of Contents
API : Flexcare : Videochat : Create sms
Introduction
This endpoints creates a sms
Request
| URL | https://api.telecomx.dk/flexcare/videochat/sms | ||
|---|---|---|---|
| Method | POST | ||
| Access level | RESELLER, ADMIN | ||
| Body | _id | ObjectId | Id of sms |
| customer | ObjectId | Id of the customer | |
| name | String | Name of the message | |
| message | String | Sms message to send to invites | |
Query example
https://api.telecomx.dk/flexcare/videochat/sms
Response
| JSON object | ||
|---|---|---|
| sms | Array | List of sms's |
| meetings []._id | ObjectId | Unique id of a sms. |
| meetings [].customer | ObjectId | Id of the customer. |
| meetings [].name | String | Name of the message. |
| meetings [].message | String | The message to send. |
Example
{ sms: [ { _id: ObjectId('1234567890123457890CCCC'), customer: ObjectId('1234567890123457890CCCC'), name: 'Sundhed undersøgelse', message: 'Til at deltage i mødet tryk på linket %meeting_url%' } ] }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | token | Access denied |
| 404 | customer | Customer not found |
| 422 | Invalid data | Data is not valid in query |
| 500 | internal_error | <Unspecified> |
api/flexcare/videochat/createsms.txt · Last modified: 2025/11/10 12:36 by Gudni Sigurdsson