- Auth
- ForgotPassword
- Profile
- Family Members
- Address
- Languages
- Products
- Permissions
- Config
- Appointment Schedule
- Test Tags
- Test Parameters
- Category
- Device
- File
- Appointment
- Reports
- Staff
- Patient
- Notifications
Signup
Developing
POST
/api/service/v1/user/signup
Request
Header Params
Accept
string
optional
Example:
application/json
Content-Type
string
optional
Example:
application/json
practice-code
string
optional
Example:
DEFAULT
Body Params application/json
first_name
string
required
last_name
string
optional
email
string
required
password
string
required
phone_primary
string
required
country_code
string
required
Example
{
"first_name" : "Deep",
"last_name" : "Patel signup",
"email" : "myemassadasasil@gmail.com",
"password" : "Deep@1999",
"phone_primary" : "7766787898",
"country_code" : "+91"
}
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://afyahealth.doctodoor.com:5600/api/service/v1/user/signup' \
--header 'Accept: application/json' \
--header 'practice-code: DEFAULT' \
--header 'Content-Type: application/json' \
--data-raw '{
"first_name" : "Deep",
"last_name" : "Patel signup",
"email" : "myemassadasasil@gmail.com",
"password" : "Deep@1999",
"phone_primary" : "7766787898",
"country_code" : "+91"
}'
Responses
🟢200Success
application/json
Body
error
boolean
required
status_code
integer
required
message
string
required
data
object
required
user
object
required
token
string
required
Examples
{
"error": true,
"status_code": 500,
"error_type": "Internal Server Error"
}