← All requests

POST /v1/customer/auth/login

Status
200
Duration
69.7 ms
Started (UTC)
2026-12-06 08:14:26.513
Route
/v1/customer/auth/login
Request ID
5abb2b77-ea70-423a-851b-7a2601909870
IP
156.197.75.41
User agent
PostmanRuntime/2.18.0
Language
ar
Queries
5 (55.1 ms)
Cache hit / miss
0 / 0

Timeline

query +2.0 ms 1.2 ms
select `id`, `mobile`, `status`, `language`, `last_sign_in_at`, `disabled_reason`, `created_at`, `updated_at`, `deleted_at`, `name`, `email`, `avatar_file_id`, `gender`, `date_of_birth`, `terms_accepted_at`, `terms_version`, `privacy_version` from `customers` where `customers`.`mobile` = '+966558168001'

Parameters

[
  "+966558168001"
]

1 rows

query +5.0 ms 33.4 ms
update `otp_codes` set `consumed_at` = '2026-12-06 08:14:26.518' where ((`otp_codes`.`namespace` = 'customer' and `otp_codes`.`purpose` = 'login' and `otp_codes`.`mobile` = '+966558168001') and `otp_codes`.`consumed_at` is null)

Parameters

[
  "2026-12-06 08:14:26.518",
  "customer",
  "login",
  "+966558168001"
]

0 rows

query +42.0 ms 4.3 ms
insert into `otp_codes` (`id`, `namespace`, `purpose`, `mobile`, `code_hash`, `attempts`, `ip`, `created_at`, `expires_at`, `consumed_at`) values ('01a24a6b-28f8-701a-a8a8-bba630f0bff7', 'customer', 'login', '+966558168001', '90814749024bf9188739a1ab238a47e6598613f77a7c2eb1cb2ab9bb8d968a9e', default, '156.197.75.41', '2026-12-06 08:14:26.518', '2026-12-06 08:15:26.518', default)

Parameters

[
  "01a24a6b-28f8-701a-a8a8-bba630f0bff7",
  "customer",
  "login",
  "+966558168001",
  "90814749024bf9188739a1ab238a47e6598613f77a7c2eb1cb2ab9bb8d968a9e",
  "156.197.75.41",
  "2026-12-06 08:14:26.518",
  "2026-12-06 08:15:26.518"
]

1 rows

query +51.0 ms 12.4 ms
update `otp_verifications` set `superseded_at` = '2026-12-06 08:14:26.564' where (`otp_verifications`.`namespace` = 'customer' and `otp_verifications`.`purpose` = 'login' and `otp_verifications`.`mobile` = '+966558168001' and `otp_verifications`.`completed_at` is null and `otp_verifications`.`superseded_at` is null)

Parameters

[
  "2026-12-06 08:14:26.564",
  "customer",
  "login",
  "+966558168001"
]

0 rows

query +65.0 ms 3.9 ms
insert into `otp_verifications` (`id`, `token_hash`, `namespace`, `purpose`, `mobile`, `subject_id`, `created_at`, `expires_at`, `completed_at`, `superseded_at`) values ('01a24a6b-2911-7696-a48c-93b70516eaf4', '745e50075aef3b95eafcebc424b404377f0610cac36980da650613829f25d76a', 'customer', 'login', '+966558168001', '01a1588c-3441-71f2-9083-f36cf3d52065', '2026-12-06 08:14:26.564', '2026-12-06 08:24:26.564', default, default)

Parameters

[
  "01a24a6b-2911-7696-a48c-93b70516eaf4",
  "745e50075aef3b95eafcebc424b404377f0610cac36980da650613829f25d76a",
  "customer",
  "login",
  "+966558168001",
  "01a1588c-3441-71f2-9083-f36cf3d52065",
  "2026-12-06 08:14:26.564",
  "2026-12-06 08:24:26.564"
]

1 rows

Request

Headers
{
  "host": "maqsed-api.dev-moltaqa.cloud",
  "user-agent": "PostmanRuntime/2.18.0",
  "content-length": "28",
  "accept": "*/*",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "ar",
  "content-type": "application/json",
  "postman-token": "d54b95fa-d9bc-49fd-991d-2cf7f14fe671",
  "x-forwarded-for": "156.197.75.41",
  "x-forwarded-host": "maqsed-api.dev-moltaqa.cloud",
  "x-forwarded-port": "443",
  "x-forwarded-proto": "https",
  "x-forwarded-server": "7eb0077cd3f4",
  "x-real-ip": "156.197.75.41"
}
Query
{}
Body
{
  "mobile": "0558168001"
}

Response

Body
{
  "expiresAt": "2026-12-06T08:15:26.518Z",
  "resendAfterSeconds": 0,
  "verificationId": "********",
  "verificationExpiresAt": "2026-12-06T08:24:26.564Z"
}