Skip to content

Subscribe/Unsubscribe routine report

  • สรุปรายงานให้หน่อย
  • ช่วยทำ report ให้หน่อย
  • สรุปเป็นรายงานให้หน่อย
  • cancel the report
  • ยกเลิกรายงาน
  • ยกเลิก report

POST /agents/{{clientId}}/sessions/{{sessionId}}/routines

Subscribe the routine report template

Headers

Name Value
Content-Type application/json
Authorization Bearer <token>

Body

Name Type Description
routineTemplateId string routine template id

Response

{
"sessionId": "{{sessionId}}",
"routineTemplateId": "{{templateId}}",
"routineId": "{{routineId}}"
}

DELETE /agents/{{clientId}}/sessions/{{sessionId}}/routines/{{routineId}}

Unsubscribe the routine report template

Headers

Name Value
Content-Type application/json
Authorization Bearer <token>

Body

Name Type Description
name string Name of the user
age number Age of the user

Response

{
"sessionId": "eko_67a1f73bd5f1ce661d807df6_67a1f73bd5f1ce0f90807df8",
"routineId": "eko_67a1f73bd5f1ce661d807df6_67a1f73bd5f1ce0f90807df8_ab8e197d-ac13-4d3c-b02e-726e5c644eee"
}