Contacts

Count contacts in a workspace

GET https://demo.notifuse.com/api/contacts.count

Returns the total number of contacts in a workspace.

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Query Parameters

workspace_id string required

The ID of the workspace

  • Example: ws_1234567890

Response

200 Contact count retrieved successfully object
total_contacts integer

Total number of contacts in the workspace

  • Example: 1523
400 Bad request - missing workspace ID object
error string required

Error message

401 Unauthorized - invalid or missing authentication token object
error string required

Error message

500 Internal server error object
error string required

Error message