Send message to supLink mobile (1.0)
Download OpenAPI specification:Download
Sends message to supLink mobile
Authorizations:
Sign
header Parameters
agentId | string Example: xxxxxxx Tenant ID. Only available for multi-tenant version |
token | string Example: yyyyyyyy Token value assigned by supOS after having authenticated supLink |
Request Body schema: application/json
appId required | string supLink app ID |
toUsers required | Array of strings Message receivers |
object |
Responses
Request samples
- Payload
Content type
application/json
{- "appId": "d4b51208-830e-46ea-bd64-24be8abfd703",
- "toUsers": [
- [
- "admin",
- "test106"
]
], - "msg": {
- "content": "Hello World",
- "link": "www.google.com",
- "msgType": "card_msg",
- "title": "Hello World",
- "type": "default",
- "resourceId": 12
}
}
Response samples
- 200
- 401
Content type
application/json
{- "code": 200,
- "content": {
- "messageId": "15d6f3e1-007f-476f-b9af-c9bc04b7cc03"
}, - "message": "success"
}