SwiftGoma.SwiftGoma

Search endpoints

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

Account

Verify email

POST/api/v1/auth/verify-email

Confirms the verification code sent to a newly created account's email address.

No authentication required
Account creation — tightly limited per IP

Body parameters

emailstringrequired
The email address being verified.
codestringrequired
The verification code from the email.

Possible errors

422OTP_INVALIDCode de vérification invalide ou expiré.
Request
curl --request POST \
  --url https://api.swiftgoma.com/api/v1/auth/verify-email \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "aline@example.com",
  "code": "482913"
}'
200Example response
{
  "success": true,
  "data": {
    "id": "3f2a1c9e-7b41-4e2a-9c31-8e6b2d4f10aa",
    "name": "Aline Mapendo",
    "role": "BUYER",
    "email": "aline@example.com",
    "isEmailVerified": true,
    "phone": "243812345678",
    "isPhoneVerified": false,
    "createdAt": "2026-01-14T10:32:00.000Z"
  }
}