API by router
Roster
POST
instance_id*Instance IdFormat
uuidapplication/json- body
shift_id*Shift IdFormat
uuidtier?TierRange
1 <= value <= 5Default
1Successful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/roster/cascade' \ -H 'Content-Type: application/json' \ -d '{ "shift_id": "f15914ca-a3fc-41f9-a948-5ac849d2a017"}'Example Response
nullPOST
instance_id*Instance IdFormat
uuidapplication/json- body
channel?ChannelLength
length <= 30Default
"whatsapp"person_id*Person IdFormat
uuidresponse_text*Response TextLength
1 <= length <= 100Successful Response
response?unknownapplication/jsoncurl -X POST 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/roster/respond' \ -H 'Content-Type: application/json' \ -d '{ "person_id": "087e858e-473c-4f50-b5b0-c1df6c021550", "response_text": "string"}'Example Response
nullGET
instance_id*Instance IdFormat
uuidshift_id*Shift IdFormat
uuidSuccessful Response
response?unknownapplication/jsoncurl -X GET 'https://example.com/internal/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/roster/shift-status/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
null