API Introduction
The Capital Check In API provides comprehensive endpoints for managing employee check-ins, authentication, user management, and more.Base URL
Authentication
All API endpoints require authentication using OAuth2 access tokens. Include your access token in the Authorization header:Content Type
All requests should useapplication/json as the Content-Type header.
Response Format
All API responses are returned in JSON format with the following structure:Available Endpoints
Authentication
GET /oauth/authorize- OAuth2 authorizationPOST /oauth/token- OAuth2 token exchange
Users
GET /auth/user- Get user profile
Collaborators
POST /collaborators- Create collaboratorGET /collaborators- Get collaborators listGET /collaborators/{id}- Get collaborator by IDPUT /collaborators/{id}- Update collaboratorDELETE /collaborators/{id}- Delete collaboratorPOST /collaborators/bulk- Add multiple collaboratorsPOST /collaborators/{id}/role- Assign rolePOST /collaborators/{id}/documents- Upload documentGET /collaborators/{id}/documents- Get collaborator documentsPUT /collaborators/{id}/photo- Update profile photoGET /collaborators/{id}/status- Get collaborator statusGET /collaborators/{id}/history- Get collaborator historyGET /collaborators/{id}/notifications- Get notification preferencesPUT /collaborators/{id}/notifications- Update notification preferencesPOST /collaborators/{id}/resend-invitation- Resend invitationGET /collaborators/import-template- Download import templatePOST /collaborators/import- Upload import templateGET /collaborators/export/individual- Export by collaboratorGET /collaborators/export/group- Export by groupGET /collaborators/export/list- Export by list