← All requests

POST /v1/customer/auth/login/verify

Status
200
Duration
46.2 ms
Started (UTC)
2026-12-06 08:14:42.002
Route
/v1/customer/auth/login/verify
Request ID
223ee327-8234-40db-b5cc-1b8241ba5edc
IP
156.197.75.41
User agent
PostmanRuntime/2.18.0
Language
ar
Queries
12 (31.1 ms)
Cache hit / miss
0 / 0

Timeline

query +4.0 ms 4.9 ms
select `id`, `token_hash`, `namespace`, `purpose`, `mobile`, `subject_id`, `created_at`, `expires_at`, `completed_at`, `superseded_at` from `otp_verifications` where (`otp_verifications`.`token_hash` = '745e50075aef3b95eafcebc424b404377f0610cac36980da650613829f25d76a' and `otp_verifications`.`namespace` = 'customer' and `otp_verifications`.`completed_at` is null and `otp_verifications`.`superseded_at` is null and `otp_verifications`.`expires_at` > '2026-12-06 08:14:42.005')

Parameters

[
  "745e50075aef3b95eafcebc424b404377f0610cac36980da650613829f25d76a",
  "customer",
  "2026-12-06 08:14:42.005"
]

1 rows

query +11.0 ms 4.7 ms
select `id`, `namespace`, `purpose`, `mobile`, `code_hash`, `attempts`, `ip`, `created_at`, `expires_at`, `consumed_at` from `otp_codes` where (`otp_codes`.`namespace` = 'customer' and `otp_codes`.`purpose` = 'login' and `otp_codes`.`mobile` = '+966558168001') order by `otp_codes`.`created_at` desc limit 1

Parameters

[
  "customer",
  "login",
  "+966558168001",
  1
]

1 rows

query +18.0 ms 5.8 ms
update `otp_codes` set `consumed_at` = '2026-12-06 08:14:42.011' where (`otp_codes`.`id` = '01a24a6b-28f8-701a-a8a8-bba630f0bff7' and `otp_codes`.`consumed_at` is null)

Parameters

[
  "2026-12-06 08:14:42.011",
  "01a24a6b-28f8-701a-a8a8-bba630f0bff7"
]

1 rows

query +24.0 ms 0.4 ms
begin

0 rows

query +25.0 ms 2.8 ms
update `otp_verifications` set `completed_at` = '2026-12-06 08:14:42.027' where (`otp_verifications`.`id` = '01a24a6b-2911-7696-a48c-93b70516eaf4' and `otp_verifications`.`completed_at` is null and `otp_verifications`.`superseded_at` is null)

Parameters

[
  "2026-12-06 08:14:42.027",
  "01a24a6b-2911-7696-a48c-93b70516eaf4"
]

1 rows

query +29.0 ms 1.1 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`.`id` = '01a1588c-3441-71f2-9083-f36cf3d52065' and `customers`.`deleted_at` is null)

Parameters

[
  "01a1588c-3441-71f2-9083-f36cf3d52065"
]

1 rows

query +31.0 ms 0.8 ms
update `customers` set `last_sign_in_at` = '2026-12-06 08:14:42.032', `updated_at` = '2026-12-06 08:14:42.033' where (`customers`.`id` = '01a1588c-3441-71f2-9083-f36cf3d52065' and `customers`.`deleted_at` is null)

Parameters

[
  "2026-12-06 08:14:42.032",
  "2026-12-06 08:14:42.033",
  "01a1588c-3441-71f2-9083-f36cf3d52065"
]

1 rows

query +32.0 ms 0.5 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`.`id` = '01a1588c-3441-71f2-9083-f36cf3d52065' and `customers`.`deleted_at` is null)

Parameters

[
  "01a1588c-3441-71f2-9083-f36cf3d52065"
]

1 rows

query +33.0 ms 3.2 ms
insert into `sessions` (`id`, `subject_type`, `subject_id`, `token_hash`, `ip`, `user_agent`, `created_at`, `last_used_at`, `expires_at`, `revoked_at`, `revoked_reason`) values ('01a24a6b-6573-76ab-80d0-f55806a1dd64', 'customer', '01a1588c-3441-71f2-9083-f36cf3d52065', '4ce319c1db36afd644eebc66b45a56c2e24e1f1b64dbd6e063eef0894682420f', '156.197.75.41', 'PostmanRuntime/2.18.0', '2026-12-06 08:14:42.035', '2026-12-06 08:14:42.035', '2027-12-06 08:14:42.035', NULL, NULL)

Parameters

[
  "01a24a6b-6573-76ab-80d0-f55806a1dd64",
  "customer",
  "01a1588c-3441-71f2-9083-f36cf3d52065",
  "4ce319c1db36afd644eebc66b45a56c2e24e1f1b64dbd6e063eef0894682420f",
  "156.197.75.41",
  "PostmanRuntime/2.18.0",
  "2026-12-06 08:14:42.035",
  "2026-12-06 08:14:42.035",
  "2027-12-06 08:14:42.035",
  null,
  null
]

1 rows

query +37.0 ms 2.3 ms
select `id` from `sessions` where ((`sessions`.`subject_type` = 'customer' and `sessions`.`subject_id` = '01a1588c-3441-71f2-9083-f36cf3d52065') and `sessions`.`revoked_at` is null and `sessions`.`expires_at` > '2026-12-06 08:14:42.039' and `sessions`.`id` <> '01a24a6b-6573-76ab-80d0-f55806a1dd64') order by `sessions`.`last_used_at` desc

Parameters

[
  "customer",
  "01a1588c-3441-71f2-9083-f36cf3d52065",
  "2026-12-06 08:14:42.039",
  "01a24a6b-6573-76ab-80d0-f55806a1dd64"
]

3 rows

query +40.0 ms 2.5 ms
commit

0 rows

query +43.0 ms 2.2 ms
select `id`, `purpose`, `visibility`, `storage_key`, `original_name`, `mime_type`, `size_bytes`, `sha256`, `owner_type`, `owner_id`, `attached_at`, `poster_file_id`, `poster_checked_at`, `created_at`, `updated_at` from `files` where `files`.`id` = '01a1588f-23d9-7348-bbc4-ee82c2e6a00f'

Parameters

[
  "01a1588f-23d9-7348-bbc4-ee82c2e6a00f"
]

1 rows

Request

Headers
{
  "host": "maqsed-api.dev-moltaqa.cloud",
  "user-agent": "PostmanRuntime/2.18.0",
  "content-length": "91",
  "accept": "*/*",
  "accept-encoding": "gzip, deflate, br",
  "accept-language": "ar",
  "content-type": "application/json",
  "postman-token": "26e782bc-e573-4122-b848-def535d865df",
  "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
{
  "verificationId": "********",
  "code": "********"
}

Response

Body
{
  "accessToken": "********",
  "customer": {
    "id": "01a1588c-3441-71f2-9083-f36cf3d52065",
    "name": "Fatema Elnaggar",
    "mobile": "+966558168001",
    "email": "fatemaa@gmail.com",
    "avatarUrl": "https://maqsed-api.dev-moltaqa.cloud/files/01a1588f-23d9-7348-bbc4-ee82c2e6a00f",
    "gender": "female",
    "dateOfBirth": "2026-10-06",
    "language": "ar",
    "createdAt": "2026-10-20T09:02:25.865Z"
  }
}