SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Phone Number

Request phone verification

POST/api/v1/users/phone/request

Sends a verification code by SMS to add a first phone number to the account.

Requires Authorization
Request/initiation

Body parameters

phonestringrequired
Phone number to verify, digits only with country code, no leading +.
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/users/phone/request \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "phone": "<phone>"
}'
200Example response
{
  "success": true,
  "data": {
    "message": "Un code de vérification a été envoyé par SMS."
  }
}