Params
Name | Type | Requireness | Default value | Description |
---|---|---|---|---|
host_uids | string | optional | none | List of comma separated host UIDs |
platform_type | string | optional | none | List of comma separated platform types (see the corresponding filters section). This filter returns hosts related to one of mentioned platform types |
page | int | optional | 1 | Page number for pagination |
Description
List of all hosts
This endpoint requires one of the following scopes: messaging
, listings
, pricing-management
Response sample
{
"data": [
{
"host_uid": "123_airbnb",
"platform_type": "airbnb",
"name": "John Doe"|null,
"thumbnail_url": "https://a0.muscache.com/im/pictures/5174e35a-fbd9-4286-887d-f5f0e7296b68.jpg"|null,
"email": [
"john@example.org",
"janedoe@example.org"
],
"phone_number": [
"555-10-56",
"555-67-89"
]
}
],
"meta": {
"page": 1,
"has_next_page": false,
}
}