Verify ephemeral token
POST/auth/verify-token
Verify a doctor's ephemeral token. Used to authenticate doctors via Tiep's UI (via webhook).
Request
- application/json
Body
required
token Token (string)required
property name* any
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
access_token Access Token (string)required
{
"access_token": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...