/v1/workspaces/{workspace_id}/waitlists/{waitlist_id}/entries/countAuthCount the entries on a waitlist
Every status counts. Test entries are left out unless `include_test=true`.
Path parameters
workspace_id*string · uuidId of the workspace.
waitlist_id*string · uuidId of the waitlist.
Query parameters
include_testbooleanCount test entries ("Add test signup") too. Default `false`: they are left out.
Response · 200 Entry count.
count*integerNumber of entries on the waitlist. Test entries are left out unless `include_test=true`.
Example
Request
GET https://api.waitlist.productcraft.co/v1/workspaces/{workspace_id}/waitlists/{waitlist_id}/entries/count
Authorization: Bearer YOUR_TOKENimport { Waitlist } from "@productcraft/waitlist";
// Reads PRODUCTCRAFT_API_KEY from the environment
const waitlist = new Waitlist();
const entryCount = await waitlist.lists.entries.count("3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f");waitlist.lists.entries.count(waitlistId, params?, options?): Waitlist.EntryCount
Response
{
"count": 0
}