- Accounts
- Authentication
- Plans
- Settings
- Support
- Jobs
Create
POST
/api/accounts/visitors/
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
email
string
required
username
string
required
password
string
required
first_name
string
required
last_name
string
required
gender
string
required
date_of_birth
string
required
city
string
required
address
string
required
phone
string
required
whatsapp
string
required
telegram
string
required
facebook
string
required
instagram
string
required
twitter
string
required
Example
{
"email": "visitor1@gmail.com",
"username": "visitor1",
"password": "visitor1",
"first_name": "visitor1",
"last_name": "visitor1",
"gender": "m",
"date_of_birth": "2002-09-02",
"city": "Cairo",
"address": "12 street",
"phone": "+201123456789",
"whatsapp": "https://wa.me/201121456789",
"telegram": "https://t.me/ak4m410x01",
"facebook": "https://www.facebook.com/ak4m410x01",
"instagram": "https://www.instagram.com/ak4m410x01",
"twitter": "https://twitter.com/ak4m410x01"
}
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 'http://127.0.0.1:8000/api/accounts/visitors/' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "visitor1@gmail.com",
"username": "visitor1",
"password": "visitor1",
"first_name": "visitor1",
"last_name": "visitor1",
"gender": "m",
"date_of_birth": "2002-09-02",
"city": "Cairo",
"address": "12 street",
"phone": "+201123456789",
"whatsapp": "https://wa.me/201121456789",
"telegram": "https://t.me/ak4m410x01",
"facebook": "https://www.facebook.com/ak4m410x01",
"instagram": "https://www.instagram.com/ak4m410x01",
"twitter": "https://twitter.com/ak4m410x01"
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-02-07 23:16:50