Skip to main content

Get Consultation Detail


Step 1: Endpoint

POST https://api-staging.tenang.ai/chat-link/:uniqueId/detail


Step 2: Request Headers

HeaderTypeDescription
x-signaturestringHMAC signature to verify the request integrity
x-api-keystringTenant API key for authentication

Step 3: Response

{
"statusCode": 200,
"message": "Success get ChatLink",
"data": {
"id": "...",
"username": "bima",
"summary": {
"description": "User feels lonely despite being around people...",
"todo": "1. Try enjoyable activities\n2. Talk to a trusted friend..."
},
"feedback": {
"ratings": 5,
"message": "so sweet"
},
"session": {
"startDate": "2024-10-11T08:46:42.410Z",
"endDate": "2024-10-11T09:16:42.410Z",
"duration": 30,
"sessionCount": 1
}
}
}

🔐 Security Considerations

  • x-signature: HMAC signature generated using tenant's secret key
  • x-api-key: Used to authenticate and authorize tenant

For more assistance, contact the TenangAI API support team.