Create a communication
Changed onpost/communications
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
200
Example response
{
"id": "cmn_MrFrw0F82NSJjyw10Erk",
"company": "com_zH8Gq33iBkFj5o0GKjTw",
"type": "email",
"originator": "check",
"email": {
"to": [
"arifaulakh@gmail.com"
],
"from": "support@checkhq.zendesk.com",
"cc": [
"payroll-support@novo.co"
],
"subject": "Check <> Arif's Sneakers",
"message": "You're ready to run your first payroll"
},
"created_at": "2024-01-19 17:04:15+00",
"conversation_history": [
{
"originator": "company",
"message": "I need help with payroll!",
"sent_at": "2024-01-19 17:04:15+00"
}
]
}Changes
- info
endpoint added
- info