v24

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-015163191.7 KB
Users

Update a user

Updates the details of the currently authenticated user

put/users/me

Request body

active_phone_idstring required
timezonestring required

Example request

{
  "active_phone_id": "32343a19-da5e-4b1b-a767-3298a73703cb",
  "timezone": "Europe/Helsinki"
}

Response

OK

messagestring required
statusstring required

Example response

{
  "data": {
    "created_at": "2022-06-05T14:26:02.302718+03:00",
    "fcm_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzd.....",
    "id": "32343a19-da5e-4b1b-a767-3298a73703cb",
    "max_send_attempts": 2,
    "message_send_schedule_id": "32343a19-da5e-4b1b-a767-3298a73703cb",
    "messages_per_minute": 1,
    "missed_call_auto_reply": "This phone cannot receive calls. Please send an SMS instead.",
    "phone_number": "+18005550199",
    "updated_at": "2022-06-05T14:26:10.303278+03:00",
    "user_id": "WB7DRDWrJZRGbYrv2CKGkqbzvqdC"
  },
  "message": "Request handled successfully",
  "status": "success"
}