Skip to main content
PUT
/
v0
/
user
/
me
/
phone
Update Phone
curl --request PUT \
  --url https://api.sumvin.com/v0/user/me/phone \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone_number": "+14155551234",
  "resend": false
}
'
{
  "_links": {
    "self": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "wallets": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "kyc-status": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    },
    "kyc-token": {
      "href": "<string>",
      "method": "GET",
      "templated": false,
      "description": "<string>"
    }
  },
  "phone_number": "<string>",
  "status": "<string>",
  "message": "<string>",
  "expires_in_seconds": 123
}

Authorizations

Authorization
string
header
required

JWT token from Authorization header (Bearer token)

Headers

x-juno-orgid
string | null

Tenant org ID for multi-tenant auth

x-juno-jwt
string | null
x-sumvin-token
string | null

Body

application/json
phone_number
string | null

Phone number in E.164 international format. Include country code with + prefix. Example: +14155551234 for US numbers.

Pattern: ^\+[1-9]\d{1,14}$
Example:

"+14155551234"

resend
boolean
default:false

Set to true to resend verification code to the pending phone number. Cannot be used with phone_number.

Response

Verification code sent successfully

HAL-style hypermedia links for navigation.

phone_number
string
required

Phone number being verified in E.164 format.

status
string
required

Verification status: 'code_sent' or 'verified'.

message
string
required

Human-readable status message.

expires_in_seconds
integer | null

Seconds until the verification code expires. Null after successful verification.