Operations related to addresses. Addresses provide standardized address data.
Overview
Languages
Servers
Mock server
https://docs.aryeo.com/_mock/api/aryeo
Production
https://api.aryeo.com/v1
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/tasks
- Productionhttps://api.aryeo.com/v1/tasks
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/tasks`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);Response
application/json
{ "status": "success", "data": [ { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "quantity": 1, "pay_run_item_amount": 10000, "due_at": "2021-06-30T20:30:00Z", "completed_at": "2021-06-30T20:30:00Z", "is_completed": true, "completed_by": { "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 }, "assignee": { "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 }, "task_template": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "product_variant": { "object": "PRODUCT_VARIANT", "id": "00000000-0000-4000-8000-000000000000", "title": "House photos", "price": 10000, "price_amount": 10000, "base_price_amount": 10000, "base_is_hidden": true, "display_original_price": true, "duration": 60 }, "default_pay_run_item_amount": 10000, "default_pay_run_item_amount_type": "flat", "pay_run_item_amount_overrides": [ { … } ] } } ], "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" }
Bodyapplication/json
The name of the task.
Example: "Complete 41 Drone Shots, Variant corporis"
The description of the task.
Example: "Complete 41 Drone Shots, Variant corporis"
The due date of the task.
Example: "2021-06-30T20:30:00Z"
The completed date of the task.
Example: "2021-06-30T20:30:00Z"
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/tasks
- Productionhttps://api.aryeo.com/v1/tasks
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/tasks`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
},
body: JSON.stringify({
name: 'Complete 41 Drone Shots, Variant corporis',
description: 'Complete 41 Drone Shots, Variant corporis',
due_at: '2021-06-30T20:30:00Z',
completed_at: '2021-06-30T20:30:00Z',
company_team_member_id: '123e4567-e89b-12d3-a456-426614174000'
})
}
);
const data = await resp.json();
console.log(data);Response
application/json
{ "status": "success", "data": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "quantity": 1, "pay_run_item_amount": 10000, "due_at": "2021-06-30T20:30:00Z", "completed_at": "2021-06-30T20:30:00Z", "is_completed": true, "completed_by": { "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": [ { … } ], "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 }, "assignee": { "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": [ { … } ], "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 }, "task_template": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "product_variant": { "object": "PRODUCT_VARIANT", "id": "00000000-0000-4000-8000-000000000000", "title": "House photos", "price": 10000, "price_amount": 10000, "base_price_amount": 10000, "base_is_hidden": true, "display_original_price": true, "duration": 60 }, "default_pay_run_item_amount": 10000, "default_pay_run_item_amount_type": "flat", "pay_run_item_amount_overrides": [ { "id": "00000000-0000-4000-8000-000000000000", "task_template": {}, "amount": 10000, "amount_type": "flat" } ] } }, "timestamp": "2021-06-30T20:30:00Z" }
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/tasks/{task_id}
- Productionhttps://api.aryeo.com/v1/tasks/{task_id}
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const taskId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/tasks/${taskId}`,
{
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/tasks/{task_id}
- Productionhttps://api.aryeo.com/v1/tasks/{task_id}
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const taskId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/tasks/${taskId}`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);Response
application/json
{ "status": "success", "data": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "quantity": 1, "pay_run_item_amount": 10000, "due_at": "2021-06-30T20:30:00Z", "completed_at": "2021-06-30T20:30:00Z", "is_completed": true, "completed_by": { "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": [ { … } ], "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 }, "assignee": { "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": [ { … } ], "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 }, "task_template": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "product_variant": { "object": "PRODUCT_VARIANT", "id": "00000000-0000-4000-8000-000000000000", "title": "House photos", "price": 10000, "price_amount": 10000, "base_price_amount": 10000, "base_is_hidden": true, "display_original_price": true, "duration": 60 }, "default_pay_run_item_amount": 10000, "default_pay_run_item_amount_type": "flat", "pay_run_item_amount_overrides": [ { "id": "00000000-0000-4000-8000-000000000000", "task_template": {}, "amount": 10000, "amount_type": "flat" } ] } }, "timestamp": "2021-06-30T20:30:00Z" }
Bodyapplication/json
The name of the task.
Example: "Complete 41 Drone Shots, Variant corporis"
The description of the task.
Example: "Complete 41 Drone Shots, Variant corporis"
The due date of the task.
Example: "2021-06-30T20:30:00Z"
The completed date of the task.
Example: "2021-06-30T20:30:00Z"
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/tasks/{task_id}
- Productionhttps://api.aryeo.com/v1/tasks/{task_id}
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const taskId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/tasks/${taskId}`,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
},
body: JSON.stringify({
name: 'Complete 41 Drone Shots, Variant corporis',
description: 'Complete 41 Drone Shots, Variant corporis',
due_at: '2021-06-30T20:30:00Z',
completed_at: '2021-06-30T20:30:00Z',
company_team_member_id: '123e4567-e89b-12d3-a456-426614174000'
})
}
);
const data = await resp.json();
console.log(data);Response
application/json
{ "status": "success", "data": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "quantity": 1, "pay_run_item_amount": 10000, "due_at": "2021-06-30T20:30:00Z", "completed_at": "2021-06-30T20:30:00Z", "is_completed": true, "completed_by": { "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": [ { … } ], "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 }, "assignee": { "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": [ { … } ], "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 }, "task_template": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "product_variant": { "object": "PRODUCT_VARIANT", "id": "00000000-0000-4000-8000-000000000000", "title": "House photos", "price": 10000, "price_amount": 10000, "base_price_amount": 10000, "base_is_hidden": true, "display_original_price": true, "duration": 60 }, "default_pay_run_item_amount": 10000, "default_pay_run_item_amount_type": "flat", "pay_run_item_amount_overrides": [ { "id": "00000000-0000-4000-8000-000000000000", "task_template": {}, "amount": 10000, "amount_type": "flat" } ] } }, "timestamp": "2021-06-30T20:30:00Z" }
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/tasks/{task_id}/complete
- Productionhttps://api.aryeo.com/v1/tasks/{task_id}/complete
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const taskId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/tasks/${taskId}/complete`,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
},
body: JSON.stringify({
completed_at: '2021-06-30T20:30:00Z'
})
}
);
const data = await resp.json();
console.log(data);Response
application/json
{ "status": "success", "data": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "quantity": 1, "pay_run_item_amount": 10000, "due_at": "2021-06-30T20:30:00Z", "completed_at": "2021-06-30T20:30:00Z", "is_completed": true, "completed_by": { "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": [ { … } ], "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 }, "assignee": { "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": [ { … } ], "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 }, "task_template": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "product_variant": { "object": "PRODUCT_VARIANT", "id": "00000000-0000-4000-8000-000000000000", "title": "House photos", "price": 10000, "price_amount": 10000, "base_price_amount": 10000, "base_is_hidden": true, "display_original_price": true, "duration": 60 }, "default_pay_run_item_amount": 10000, "default_pay_run_item_amount_type": "flat", "pay_run_item_amount_overrides": [ { "id": "00000000-0000-4000-8000-000000000000", "task_template": {}, "amount": 10000, "amount_type": "flat" } ] } }, "timestamp": "2021-06-30T20:30:00Z" }
- Mock serverhttps://docs.aryeo.com/_mock/api/aryeo/tasks/{task_id}/reinstate
- Productionhttps://api.aryeo.com/v1/tasks/{task_id}/reinstate
- JS
- PHP
- Go
- Python
- Java
- C#
- cURL
const taskId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/tasks/${taskId}/reinstate`,
{
method: 'PUT',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
},
body: JSON.stringify({})
}
);
const data = await resp.json();
console.log(data);Response
application/json
{ "status": "success", "data": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "quantity": 1, "pay_run_item_amount": 10000, "due_at": "2021-06-30T20:30:00Z", "completed_at": "2021-06-30T20:30:00Z", "is_completed": true, "completed_by": { "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": [ { … } ], "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 }, "assignee": { "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": [ { … } ], "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 }, "task_template": { "id": "00000000-0000-4000-8000-000000000000", "name": "Complete 41 Drone Shots, Variant corporis", "description": "Complete 41 Drone Shots, Variant corporis", "product_variant": { "object": "PRODUCT_VARIANT", "id": "00000000-0000-4000-8000-000000000000", "title": "House photos", "price": 10000, "price_amount": 10000, "base_price_amount": 10000, "base_is_hidden": true, "display_original_price": true, "duration": 60 }, "default_pay_run_item_amount": 10000, "default_pay_run_item_amount_type": "flat", "pay_run_item_amount_overrides": [ { "id": "00000000-0000-4000-8000-000000000000", "task_template": {}, "amount": 10000, "amount_type": "flat" } ] } }, "timestamp": "2021-06-30T20:30:00Z" }