Skip to main content
GET
/
api
/
stats
Get workspace stats
curl --request GET \
  --url https://folksbase.onrender.com/api/stats \
  --header 'Authorization: Bearer <token>'
{
  "totalContacts": 123,
  "totalImports": 123,
  "successRate": 123,
  "contactsThisMonth": 123,
  "contactsGrowth": [
    {
      "date": "<string>",
      "count": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Supabase JWT token from Authorization header

Response

200 - application/json

Workspace statistics

totalContacts
number
required
totalImports
number
required
successRate
number
required
contactsThisMonth
number
required
contactsGrowth
object[]
required