Skip to main content
GET
/
api
/
contacts.count
Count contacts in a workspace
curl --request GET \
  --url https://{notifuseDomain}/api/contacts.count \
  --header 'Authorization: Bearer <token>'
{
  "total_contacts": 1523
}

Authorizations

Authorization
string
header
required

API token for authentication

Query Parameters

workspace_id
string
required

The ID of the workspace

Response

Contact count retrieved successfully

total_contacts
integer

Total number of contacts in the workspace

Example:

1523