Operations related to addresses. Addresses provide standardized address data.
BlockPostPayload
The IDs of the company team members assigned to the block.
The IDs of the users assigned to the block.
The start time of the block (ISO 8601 format).
The end time of the block (ISO 8601 format).
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/blocks
- Productionhttps://api.aryeo.com/v1/blocks
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/blocks`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
},
body: JSON.stringify({
company_team_member_ids: [
'123e4567-e89b-12d3-a456-426614174000'
],
user_ids: [
'123e4567-e89b-12d3-a456-426614174000'
],
start_at: '2020-10-04T12:15:00Z',
end_at: '2020-10-04T12:30:00Z',
title: 'Other appointment',
description: 'This is a description of the block.'
})
}
);
const data = await resp.json();
console.log(data);{ "status": "success", "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "type": "appointment", "title": "Other appointment", "description": "sdjsudsudsds", "start_at": "2020-10-04T12:15:00Z", "end_at": "2020-10-04T12:30:00Z", "is_all_day": true, "duration": 60, "is_busy": true, "requires_confirmation": true }, "timestamp": "2021-06-30T20:30:00Z" }
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/blocks/{block_id}
- Productionhttps://api.aryeo.com/v1/blocks/{block_id}
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const blockId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/blocks/${blockId}`,
{
method: 'DELETE',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
if (resp.status === 204) {
console.log('success');
} else {
const data = await resp.text();
console.log(data);
}- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/blocks/{block_id}
- Productionhttps://api.aryeo.com/v1/blocks/{block_id}
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const blockId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/blocks/${blockId}`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);{ "status": "success", "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "type": "appointment", "title": "Other appointment", "description": "sdjsudsudsds", "start_at": "2020-10-04T12:15:00Z", "end_at": "2020-10-04T12:30:00Z", "is_all_day": true, "duration": 60, "is_busy": true, "users": [ { "object": "PERSONAL_ACCESS_TOKEN", "id": "00000000-0000-4000-8000-000000000000", "email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "full_name": "John Doe", "internal_notes": "Internal notes for the user.", "status": "active", "phone": "123456789", "avatar_url": "https://picsum.photos/300", "relationship": "owner", "sso_users": [ { … } ], "is_super": true, "verification_status": "verified", "password_expiration_days": 30, "timezone": "America/New_York", "created_at": "2021-06-30T20:30:00Z" } ], "company_team_members": [ { "object": "COMPANY_TEAM_MEMBER", "id": "00000000-0000-4000-8000-000000000000", "calendar_color": "#FF0000", "permissions": [ { … } ], "restrictions": [ {} ], "is_service_provider": true, "external_id": "1234567890", "company_user": { "object": "PERSONAL_ACCESS_TOKEN", "id": "00000000-0000-4000-8000-000000000000", "email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "full_name": "John Doe", "internal_notes": "Internal notes for the user.", "status": "active", "phone": "123456789", "avatar_url": "https://picsum.photos/300", "relationship": "owner", "sso_users": [ … ], "is_super": true, "verification_status": "verified", "password_expiration_days": 30, "timezone": "America/New_York", "created_at": "2021-06-30T20:30:00Z" }, "has_owner_role": true, "is_owner": true, "invitation_accepted_at": "2025-04-01T05:59:59.999999Z", "role": "ADMIN", "status": "active", "is_active": true, "is_invited": true, "is_revoked": true, "scheduling_priority": 1, "created_at": "2025-04-01T05:59:59.999999Z", "require_appointment_confirmation": true, "fees": [ { … } ], "travel_fee_amount": 1000, "travel_fee_is_estimated": true } ] }, "timestamp": "2021-06-30T20:30:00Z" }
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/blocks/{block_id}
- Productionhttps://api.aryeo.com/v1/blocks/{block_id}
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const blockId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/blocks/${blockId}`,
{
method: 'PUT',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);{ "status": "success", "data": { "id": "123e4567-e89b-12d3-a456-426614174000", "type": "appointment", "title": "Other appointment", "description": "sdjsudsudsds", "start_at": "2020-10-04T12:15:00Z", "end_at": "2020-10-04T12:30:00Z", "is_all_day": true, "duration": 60, "is_busy": true, "requires_confirmation": true }, "timestamp": "2021-06-30T20:30:00Z" }
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/regions
- Productionhttps://api.aryeo.com/v1/regions
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/regions`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);RegionCollection
A collection of objects.
ID of the entity. UUID Version 4.
The type of the region.
The description of the region.
The slug of the region.
The country code of the region.
{ "status": "success", "data": [ { "id": "00000000-0000-4000-8000-000000000000", "type": "COUNTRY", "name": "United States", "description": "The United States of America", "slug": "united-states", "code": "US", "country_code": "US", "state_code": "CA" } ], "meta": { "total": 50, "per_page": 15, "current_page": 1, "last_page": 4, "from": 1, "to": 15, "path": "https://api.aryeo.com/v1/{path}", "links": [ { "url": "https://admin.aryeo.test/api/v1/companies?page=2", "label": "2", "active": true, "page": 2 } ] }, "links": { "first": "https://api.aryeo.com/v1/{path}?page=1", "last": "https://api.aryeo.com/v1/{path}?page=10", "prev": "https://api.aryeo.com/v1/{path}?page=2", "next": "https://api.aryeo.com/v1/{path}?page=3" }, "timestamp": "2021-06-30T20:30:00Z" }
The ID of an order. UUID Version 4.
The IDs of company team members. UUID Version 4.
The strategy type to use for the scheduling assignment.
The date of the appointment.
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/scheduling/assignment
- Productionhttps://api.aryeo.com/v1/scheduling/assignment
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/scheduling/assignment`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);{ "status": "success", "data": { "object": "COMPANY_TEAM_MEMBER", "id": "00000000-0000-4000-8000-000000000000", "calendar_color": "#FF0000", "permissions": [ { "object": "PERMISSION", "name": "ACTIVITY_LOG_VIEW" } ], "restrictions": [ {} ], "is_service_provider": true, "external_id": "1234567890", "company_user": { "object": "PERSONAL_ACCESS_TOKEN", "id": "00000000-0000-4000-8000-000000000000", "email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "full_name": "John Doe", "internal_notes": "Internal notes for the user.", "status": "active", "phone": "123456789", "avatar_url": "https://picsum.photos/300", "relationship": "owner", "sso_users": [ { "sso_id": "1234", "sso_provider": { … } } ], "is_super": true, "verification_status": "verified", "password_expiration_days": 30, "timezone": "America/New_York", "created_at": "2021-06-30T20:30:00Z" }, "has_owner_role": true, "is_owner": true, "invitation_accepted_at": "2025-04-01T05:59:59.999999Z", "role": "ADMIN", "status": "active", "is_active": true, "is_invited": true, "is_revoked": true, "scheduling_priority": 1, "created_at": "2025-04-01T05:59:59.999999Z", "require_appointment_confirmation": true, "fees": [ { "object": "FEE", "id": "00000000-0000-4000-8000-000000000000", "title": "Flat Fee", "type": "FLAT", "name": "Flat Fee", "description": "Flat fee for the order", "avalara_tax_code": "12345", "quickbooks_item_id": "12345", "amount": 100 } ], "travel_fee_amount": 1000, "travel_fee_is_estimated": true }, "timestamp": "2021-06-30T20:30:00Z", "strategy_type": "DISTANCE" }
The IDs of users whose availability will be listed. UUID Version 4.
Appointment ID used to list availability for an existing order
Returns availability after start_at
Returns availability before end_at
Returns availability for a specific timeframe. Used instead of start_at & end_at
Duration of the event to schedule. Required if appointment_id isn't specified
Interval of bookable timeslots starting at x minutes on the hour . Required if appointment_id isn't specified
The timezone of the client. Available dates results will be localized to this timezone
The requested page of results. Use this parameter to flip through pages when using the timeframe filter
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/scheduling/available-dates
- Productionhttps://api.aryeo.com/v1/scheduling/available-dates
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const query = new URLSearchParams({timezone: 'CST'}).toString();
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/scheduling/available-dates?${query}`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);{ "status": "success", "data": [ { "date": "2021-01-01", "is_available": true } ], "meta": { "group_id": "00000000-0000-4000-8000-000000000000", "company_id": "00000000-0000-4000-8000-000000000000", "company_team_member_ids": [ "00000000-0000-4000-8000-000000000000" ], "user_ids": [ "00000000-0000-4000-8000-000000000000" ], "appointment_id": "00000000-0000-4000-8000-000000000000", "start_at": "2021-06-30T20:30:00Z", "end_at": "2021-06-30T21:30:00Z", "timezone": "CST", "is_twilight": true, "interval": 30, "duration": 30, "current_page": 1, "timeframe": "DAY", "timeframe_period": { "startDate": "2025-04-01T05:59:59.999999Z", "endDate": "2025-04-01T05:59:59.999999Z", "startDateIncluded": true, "endDateIncluded": true }, "from": 1, "last_page": 4, "links": [ { "url": "https://admin.aryeo.test/api/v1/companies?page=2", "label": "2", "active": true, "page": 2 } ], "path": "https://api.aryeo.com/v1/{path}", "per_page": 15, "to": 15, "total": 50 }, "links": { "first": "https://api.aryeo.com/v1/{path}?page=1", "last": "https://api.aryeo.com/v1/{path}?page=10", "prev": "https://api.aryeo.com/v1/{path}?page=2", "next": "https://api.aryeo.com/v1/{path}?page=3" }, "timestamp": "2021-06-30T20:30:00Z" }
The IDs of users whose appointments will be listed. UUID Version 4.
Appointment ID used to list availability for an existing order
Duration of the event to schedule. Required if appointment_id isn't specified
Interval of bookable timeslots starting at x minutes on the hour . Required if appointment_id isn't specified
The number of results per page. Only applies when using a date range
The date to list available timeslots
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/scheduling/available-timeslots
- Productionhttps://api.aryeo.com/v1/scheduling/available-timeslots
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const query = new URLSearchParams({
date: '2021-01-01',
timezone: 'CST'
}).toString();
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/scheduling/available-timeslots?${query}`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);{ "status": "success", "data": [ { "start_at": "2021-01-01T00:00:00Z", "end_at": "2021-01-01T00:30:00Z", "users": [ { "object": "PERSONAL_ACCESS_TOKEN", "id": "00000000-0000-4000-8000-000000000000", "email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "full_name": "John Doe", "internal_notes": "Internal notes for the user.", "status": "active", "phone": "123456789", "avatar_url": "https://picsum.photos/300", "relationship": "owner", "sso_users": [ … ], "is_super": true, "verification_status": "verified", "password_expiration_days": 30, "timezone": "America/New_York", "created_at": "2021-06-30T20:30:00Z" } ] } ], "meta": { "group_id": "00000000-0000-4000-8000-000000000000", "company_id": "00000000-0000-4000-8000-000000000000", "company_team_member_ids": [ "00000000-0000-4000-8000-000000000000" ], "user_ids": [ "00000000-0000-4000-8000-000000000000" ], "appointment_id": "00000000-0000-4000-8000-000000000000", "start_at": "2021-06-30T20:30:00Z", "end_at": "2021-06-30T21:30:00Z", "timezone": "CST", "is_twilight": true, "interval": 30, "duration": 30, "current_page": 1, "timeframe": "DAY", "timeframe_period": { "startDate": "2025-04-01T05:59:59.999999Z", "endDate": "2025-04-01T05:59:59.999999Z", "startDateIncluded": true, "endDateIncluded": true }, "from": 1, "last_page": 4, "links": [ { "url": "https://admin.aryeo.test/api/v1/companies?page=2", "label": "2", "active": true, "page": 2 } ], "path": "https://api.aryeo.com/v1/{path}", "per_page": 15, "to": 15, "total": 50 }, "links": { "first": "https://api.aryeo.com/v1/{path}?page=1", "last": "https://api.aryeo.com/v1/{path}?page=10", "prev": "https://api.aryeo.com/v1/{path}?page=2", "next": "https://api.aryeo.com/v1/{path}?page=3" }, "timestamp": "2021-06-30T20:30:00Z" }
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/scheduling/item-groupings
- Productionhttps://api.aryeo.com/v1/scheduling/item-groupings
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const query = new URLSearchParams({
item_ids: '123e4567-e89b-12d3-a456-426614174000'
}).toString();
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/scheduling/item-groupings?${query}`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);OrderItemGroupingCollection
A collection of objects.
A canonical value representing a resource.
Users attached to the grouping.
A canonical value representing a resource.
ID of the entity. UUID Version 4.
Email address of the user.
First name of the user.
Last name of the user.
The full name of the user.
Internal notes for the user.
The status of the user.
A phone number represented in whichever standards specified by the user, typically ###-###-#### (separated by hyphens).
The avatar image URL of a user.
Describes user's relationship (access level) to a specified group. Only returned if this resource is returned as a sub-resource of a group.
The list of SSO users associated with this user.
The verification status of the user.
The number of days until the user's password expires.
The default timezone for the user.
Company team members attached to the grouping.
A canonical value representing a resource.
ID of the entity. UUID Version 4.
Color code for calendar display, if assigned
List of permissions granted to the team member
A canonical value representing a resource.
The name of the permission
List of restrictions applied to the team member
A key-value pair of restriction data.
Indicates if the team member is a service provider
External identifier for the team member, if any
A record of a person on the Aryeo platform.
Indicates if the team member has the owner role
Indicates if the team member is the owner
The date and time (ISO 8601 format) when the company team member invitation was accepted
The role of the team member
The status of the team member
Indicates if the team member is active
Indicates if the team member is invited
Indicates if the team member is revoked
The scheduling priority of the team member
The date and time (ISO 8601 format) when the company team member was created
Indicates if the team member requires appointment confirmation
The travel fee amount in cents
Products attached to the grouping.
A canonical value representing a resource.
ID of the entity. UUID Version 4.
The title of the product.
The description of the product.
The type of product.
Whether the product is available during twilight hours.
A URL for an example property image.
Whether the product requires a separate booking.
Whether to always display addons for the product.
The type of variant filter.
The Avalara tax code for the product.
The limit quantity amount for the product.
Whether the product has a limit quantity.
Whether the product is an eSoft adjustment.
Order items attached to the grouping.
A canonical value representing a resource.
ID of the entity. UUID Version 4.
The title of the item.
The sub title of the item.
The sub title of the item.
The description of the item.
The type of order item.
A positive integer in the smallest currency unit (that is, 100 cents for $1.00) representing the cost of a single instance of this item. This is multiplied by the quantity to calculate what was or will be charged. Legacy version of unit_price_amount.
A positive integer in the smallest currency unit (that is, 100 cents for $1.00) representing the cost of a single instance of this item. This is multiplied by the quantity to calculate what was or will be charged.
A positive integer representing the number of instances of this item that was or will be serviced.
A positive integer in the smallest currency unit (that is, 100 cents for $1.00) representing the total cost of this item (before discounts and taxes have been applied) to be charge.
{ "status": "success", "data": [ { "object": "ORDER_ITEM_GROUPING", "users": [ { "object": "PERSONAL_ACCESS_TOKEN", "id": "00000000-0000-4000-8000-000000000000", "email": "john.doe@gmail.com", "first_name": "John", "last_name": "Doe", "full_name": "John Doe", "internal_notes": "Internal notes for the user.", "status": "active", "phone": "123456789", "avatar_url": "https://picsum.photos/300", "relationship": "owner", "sso_users": [ … ], "is_super": true, "verification_status": "verified", "password_expiration_days": 30, "timezone": "America/New_York", "created_at": "2021-06-30T20:30:00Z" } ], "company_team_members": [ { "object": "COMPANY_TEAM_MEMBER", "id": "00000000-0000-4000-8000-000000000000", "calendar_color": "#FF0000", "permissions": [ … ], "restrictions": [ … ], "is_service_provider": true, "external_id": "1234567890", "company_user": { … }, "has_owner_role": true, "is_owner": true, "invitation_accepted_at": "2025-04-01T05:59:59.999999Z", "role": "ADMIN", "status": "active", "is_active": true, "is_invited": true, "is_revoked": true, "scheduling_priority": 1, "created_at": "2025-04-01T05:59:59.999999Z", "require_appointment_confirmation": true, "fees": [ … ], "travel_fee_amount": 1000, "travel_fee_is_estimated": true } ], "products": [ { "object": "PRODUCT", "id": "00000000-0000-4000-8000-000000000000", "title": "House photos", "description": "Capture photos of a house for sale.", "active": true, "type": "MAIN", "is_twilight": true, "image_url": "https://picsum.photos/400/200", "is_serviceable": true, "requires_separate_booking": true, "always_display_addons": true, "variant_filter_type": "ALL", "avalara_tax_code": "12345", "limit_quantity_amount": 10, "limit_quantity": true, "is_filterable": true, "is_esoft_adjustment": true, "variants": [ … ], "categories": [ … ], "tags": [ … ] } ], "items": [ { "object": "ORDER_ITEM", "id": "00000000-0000-4000-8000-000000000000", "title": "Aerial Video", "subtitle": "10 minute video", "sub_title": "10 minute video", "description": "A fly-by drone video of the property.", "purchasable_type": "FEE", "amount": 2099, "unit_price_amount": 2099, "quantity": 2, "gross_total_amount": 4198, "appointment": { … }, "discounts": [ … ], "order": { … }, "product": { … }, "product_variant": { … }, "taxes": [ … ], "is_serviceable": true, "tasks": [ … ], "is_canceled": true } ], "duration": 60 } ], "meta": { "total": 50, "per_page": 15, "current_page": 1, "last_page": 4, "from": 1, "to": 15, "path": "https://api.aryeo.com/v1/{path}", "links": [ { "url": "https://admin.aryeo.test/api/v1/companies?page=2", "label": "2", "active": true, "page": 2 } ] }, "links": { "first": "https://api.aryeo.com/v1/{path}?page=1", "last": "https://api.aryeo.com/v1/{path}?page=10", "prev": "https://api.aryeo.com/v1/{path}?page=2", "next": "https://api.aryeo.com/v1/{path}?page=3" }, "timestamp": "2021-06-30T20:30:00Z" }