- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Auth - Guest
POST
https://test-api.ucuzyolu.com/auth/guest
Request
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
object {0}
Example
{}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.ucuzyolu.com/auth/guest' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
data
object
required
email
string
required
name
string
required
phone
string
required
id
integer
required
type
string
required
token
string
required
expireAt
string
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"email": "QWqHrRIrU9@guest.com",
"name": "Guest",
"phone": "",
"id": 1723544124,
"type": "guest",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjcmVhdGVkX2F0IjoiMjAyNC0wOC0xMyAxMzoxNToyNCIsImVtYWlsIjoiUVdxSHJSSXJVOUBndWVzdC5jb20iLCJuYW1lIjoiR3Vlc3QiLCJwaG9uZSI6IiIsImlkIjoxNzIzNTQ0MTI0LCJ0eXBlIjoiZ3Vlc3QiLCJleHBpcmVfYXQiOiIyMDI0LTA4LTE0VDEwOjE1OjI0LjE3MjU1MVoifQ.xGY1rV9y0-fEQUGiuUbh6Z5xIkyguuRNUy16azqvs04",
"expireAt": "2024-08-14T10:15:24.172551Z"
},
"success": true,
"code": 0,
"message": ""
}
🟠422Parameter Error
Modified at 2024-11-28 01:29:13