Therapists

List therapists

get
/therapists/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List of therapists

application/json
get
/therapists/
GET /api/v1/therapists/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "id": 1,
    "name": "text",
    "specialty": "text",
    "avatar_id": "123e4567-e89b-12d3-a456-426614174000"
  }
]

Select a therapist for the current user

post
/select-therapist/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
therapistintegerRequired
Responses
200

Therapist selected

No content

post
/select-therapist/
POST /api/v1/select-therapist/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 15

{
  "therapist": 1
}

No content

Get selected therapist

get
/selected-therapist/
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Selected therapist

application/json
get
/selected-therapist/
GET /api/v1/selected-therapist/ HTTP/1.1
Host: api.therappai.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "id": 1,
  "name": "text",
  "specialty": "text",
  "avatar_id": "123e4567-e89b-12d3-a456-426614174000"
}

Last updated