The Aryeo API provides access to the Aryeo platform.
https://docs.aryeo.com/_mock/api/aryeo/
https://api.aryeo.com/v1/
https://docs.aryeo.com/_mock/api/aryeo/company-team-members
https://api.aryeo.com/v1/company-team-members
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/company-team-members`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
https://docs.aryeo.com/_mock/api/aryeo/company-team-members/{company_team_member_id}
https://api.aryeo.com/v1/company-team-members/{company_team_member_id}
const companyTeamMemberId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/company-team-members/${companyTeamMemberId}`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
https://docs.aryeo.com/_mock/api/aryeo/company-team-members/{company_team_member_id}/events
https://api.aryeo.com/v1/company-team-members/{company_team_member_id}/events
const companyTeamMemberId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/company-team-members/${companyTeamMemberId}/events`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
https://docs.aryeo.com/_mock/api/aryeo/customer-team-members/{customer_team_member_id}
https://api.aryeo.com/v1/customer-team-members/{customer_team_member_id}
const customerTeamMemberId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/customer-team-members/${customerTeamMemberId}`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
https://docs.aryeo.com/_mock/api/aryeo/customer-teams/{customer_team_id}/memberships
https://api.aryeo.com/v1/customer-teams/{customer_team_id}/memberships
const customerTeamId = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/customer-teams/${customerTeamId}/memberships`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
https://docs.aryeo.com/_mock/api/aryeo/customer-teams/affiliate-memberships
https://api.aryeo.com/v1/customer-teams/affiliate-memberships
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/customer-teams/affiliate-memberships`,
{
method: 'POST',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
https://docs.aryeo.com/_mock/api/aryeo/customer-users
https://api.aryeo.com/v1/customer-users
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/customer-users`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
https://docs.aryeo.com/_mock/api/aryeo/customer-users
https://api.aryeo.com/v1/customer-users
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/customer-users`,
{
method: 'POST',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
The type of transaction
Optional description of the transaction
https://docs.aryeo.com/_mock/api/aryeo/customer-users/{user}/credit-transactions
https://api.aryeo.com/v1/customer-users/{user}/credit-transactions
const user = '00000000-0000-4000-8000-000000000000';
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/customer-users/${user}/credit-transactions`,
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
},
body: JSON.stringify({
type: 'credit',
amount: 100,
description: 'Description of transaction',
date: '2025-01-01'
})
}
);
const data = await resp.json();
console.log(data);
Credit transaction created successfully
The type of credit transaction
Optional description of the transaction
ID of the user associated with the transaction. UUID Version 4.
The date the transaction was posted (YYYY-MM-DD)
The date and time the transaction was created
{ "type": "credit", "amount": 1, "description": "Transaction description", "user_id": "00000000-0000-4000-8000-000000000000", "posting_date": "2025-01-01", "created_at": "2025-01-01T20:30:00Z", "updated_at": "2025-01-01T20:30:00Z" }
https://docs.aryeo.com/_mock/api/aryeo/customers
https://api.aryeo.com/v1/customers
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/customers`,
{
method: 'GET',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);
https://docs.aryeo.com/_mock/api/aryeo/customers
https://api.aryeo.com/v1/customers
const resp = await fetch(
`https://docs.aryeo.com/_mock/api/aryeo/customers`,
{
method: 'POST',
headers: {
Authorization: 'Bearer <YOUR_TOKEN_HERE>'
}
}
);
const data = await resp.text();
console.log(data);