Skip to content

List guests

Endpoint

GET /organizations/{org_id}/guests

Retrieves a paginated list of guest users in your organization.

Request

Replace {org_id} with your organization ID.

Headers

  • Authorization: Bearer {your_access_token}
  • Accept: application/json
  • X-Tallyfy-Client: APIClient

Query parameters (optional)

ParameterTypeDescription
qstringSearch query to filter guests by email
sortstringSort field (also accepts sort_by). Defaults to created_at
per_pageintegerResults per page (defaults to 999)
pageintegerPage number
without_paginationbooleanReturn all results without pagination
withstringInclude extra data. Use stats for completion statistics

Code samples

const accessToken = 'YOUR_PERSONAL_ACCESS_TOKEN';
const orgId = 'YOUR_ORGANIZATION_ID';
const queryParams = '?with=stats&per_page=50&page=1';
const apiUrl = `https://go.tallyfy.com/api/organizations/${orgId}/guests${queryParams}`;
const headers = new Headers();
headers.append('Authorization', `Bearer ${accessToken}`);
headers.append('Accept', 'application/json');
headers.append('X-Tallyfy-Client', 'APIClient');
fetch(apiUrl, {
method: 'GET',
headers: headers
})
.then(response => {
return response.json().then(data => {
if (!response.ok) {
console.error("Failed to list guests:", data);
throw new Error(`HTTP error! status: ${response.status}`);
}
return data;
});
})
.then(data => {
console.log('Successfully listed guests:');
console.log(JSON.stringify(data, null, 2));
})
.catch(error => {
console.error('Error listing guests:', error.message);
});

Response

A successful request returns a 200 OK status with a JSON object containing a data array of guest objects and a meta object with pagination details.

{
"data": [
{
"id": 1234,
"email": "guest.user@external.com",
"last_accessed_at": "2025-05-15T10:00:00Z",
"last_known_ip": "192.0.2.1",
"last_known_country": "US",
"details": {
"status": "active",
"phone_1": null,
"phone_2": null,
"timezone": "America/Chicago",
"image_url": null,
"contact_url": null,
"company_url": null,
"opportunity_url": null,
"company_name": "External Inc.",
"opportunity_name": null,
"external_sync_source": null,
"external_date_creation": null,
"cadence_days": null,
"associated_members": null,
"last_city": null,
"last_country": "US",
"last_accessed_at": "2025-05-15T10:00:00Z",
"disabled_at": null,
"disabled_by": null,
"reactivated_at": null,
"reactivated_by": null
},
"first_name": "External",
"last_name": "Collaborator",
"created_at": "2025-01-10T08:30:00Z",
"deleted_at": null,
"link": "https://go.tallyfy.com/...",
"stats": {
"assigned_tasks": 2,
"tasks_completed": 5,
"last_task_completed_at": "2025-05-14T16:30:00Z",
"one_off_tasks_completed": 1,
"last_one_off_task_completed_at": "2025-04-20T12:00:00Z"
}
}
],
"meta": {
"pagination": {
"total": 25,
"count": 25,
"per_page": 999,
"current_page": 1,
"total_pages": 1
}
}
}

The stats object only appears when you request with=stats. The link field contains the guest’s forever-link URL for accessing their tasks.


Guests > Get guest

Tallyfy’s API lets you retrieve detailed information about a specific guest user by making a GET request to /organizations/[org_id]/guests/[guest_email] with the email URL-encoded and you can optionally include completion statistics by passing the with=stats query parameter.

Members > List members

Tallyfy’s API lets you retrieve a paginated list of all organization members via a GET request with optional filtering by name or email and sorting and the ability to include related data like groups and stats in the response.

Code Samples > Managing guests

Tallyfy’s API lets you manage external guest users—who participate in tasks without full accounts—by creating listing retrieving updating and deleting them using their URL-encoded email address as the identifier across organization-scoped endpoints.

Groups > List groups

Tallyfy’s API lets you retrieve a paginated list of all groups in your organization via a GET request to /organizations/[org_id]/groups with optional filters for searching by name and sorting plus the ability to include related assets or users in the response.