Getting Started
Welcome to Wersel Metrics Platform API
This documentation covers the Wersel Metrics Platform setup API.
Main Endpoint
POST /metrics-platform/full-setup-creation- Use this endpoint to create/update group and company, and create user setup in one request or separately.
- For updates, send
groupData.idorcompanyData.id, and include only changed fields. GET /metrics-platform/fetch-group-company- Use this endpoint to fetch group/company details based on admin role and
fetchType. GET /metrics-platform/fetch-user-details- Use this endpoint to fetch a single user profile by
userId. GET /metrics-platform/fetch-dashboard-summery-count- Use this endpoint to fetch current vs previous month dashboard document counts by
groupIdandcompanyId.
Environment Configuration
Set values in .env:
API_BASE_URLCLIENT_NAMECLIENT_IDCLIENT_SECRET
You can use .env.example as the template.
API Reference
Open the API reference page from the left navigation to test request and response examples.
Last modified on