Skip to main content
PATCH
/
api
/
v1
/
me
Update current user profile
curl --request PATCH \
  --url https://api.flowxi.app/api/v1/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "Jafette",
  "last_name": "Fandjinou",
  "birth_date": "1999-01-01",
  "country": "BJ",
  "nationality": "BEN",
  "phone_number": "+22900000000"
}
'
{
  "code": "ME_UPDATED",
  "message": "Profil mis à jour.",
  "data": {
    "id": 17,
    "first_name": "Jafette",
    "last_name": "Fandjinou",
    "birth_date": "1999-01-01",
    "country": "BJ",
    "nationality": "BEN",
    "phone_number": "+22900000000",
    "updated_at": "2026-01-09T17:11:56.000000Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-App-Locale
string

Optional locale override (fallback is fr if missing/invalid).

Example:

"fr"

Body

application/json
first_name
string | null
last_name
string | null
birth_date
string | null

YYYY-MM-DD

country
string | null

ISO 3166-1 alpha-2, normalized uppercase.

nationality
string | null

ISO 3166-1 alpha-3, normalized uppercase.

phone_number
string | null

Response

Updated

code
string
required
Example:

"OK"

message
string
required
Example:

"OK"

data
object
required