- Auth
- ForgotPassword
- Profile
- Family Members
- Address
- Languages
- Products
- Permissions
- Config
- Appointment Schedule
- Test Tags
- Test Parameters
- Category
- Device
- File
- Appointment
- Reports
- Staff
- Patient
- Notifications
Get User address
Developing
GET
/api/service/v1/user/address
Request
Header Params
Content-Type
string
optional
Example:
application/json
Authorization
string
optional
Example:
{{token}}
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 GET 'https://afyahealth.doctodoor.com:5600/api/service/v1/user/address' \
--header 'Authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImVtYWlsIjoiZGVlcC5tYXJzb25pYUBwbGVuYXJ0ZWNoLmNvbSIsInN1YiI6IjY3YjJkZmZlNWJmMjdlMzk1NTUzMjE0MyIsImlhdCI6MTc0MTc4MjA4NCwiZXhwIjoxNzQ5NTU4MDg0fQ.KAMsweSbJPDxpLijKdjgp3YEFauw8KYLLumCBpqQfAA' \
--header 'Content-Type: application/json'
Responses
🟢200Success
application/json
Body
error
boolean
required
status_code
integer
required
message
string
required
data
array [object {9}]
required
is_deleted
integer
optional
user
string
optional
title
string
optional
long
number
optional
lat
number
optional
address
string
optional
created_at
string
optional
updated_at
string
optional
id
string
optional
Example
{
"error": false,
"status_code": 200,
"message": "",
"data": [
{
"is_deleted": 0,
"user": "677bb5bd4291b96cd0623eea",
"title": "primary addres ",
"long": 74.23,
"lat": 72.4545,
"address": "123 street, usaa",
"created_at": "2025-01-13T06:00:06.500Z",
"updated_at": "2025-01-13T06:01:03.413Z",
"id": "6784abe6ccbd5d35407a06a5"
}
]
}