24 lines
841 B
Markdown
24 lines
841 B
Markdown
# SyncroMSP API Integration
|
|
|
|
## Connection Details
|
|
|
|
- **Base URL:** `https://itpropartner.syncromsp.com/api/v1/`
|
|
- **Auth:** Bearer token `Ta9f9d1b462271a2f4-8d63a3f025eb89451edb16f2308c2e40`
|
|
- **Admin user:** Germaine Brown (user_id 155629, email info@itpropartner.com)
|
|
- **Admin:** Yes
|
|
- **Subdomain:** itpropartner
|
|
|
|
## Available Data
|
|
|
|
| Endpoint | Response | Notes |
|
|
|----------|----------|-------|
|
|
| `/me` | user_token, user_email, user_name, user_id, admin | Auth verification |
|
|
| `/customers` | `{customers: [...], total: N}` | 26 customers |
|
|
| `/tickets` | `{total: N}` | Total across all statuses |
|
|
|
|
## Data in ops portal
|
|
|
|
- Added to `ops-data-collector.py` via `collect_syncromsp()` function
|
|
- Rendered on `/services.html` — customer count, ticket count, status badge
|
|
- Token stored in `/root/.hermes/.env` as SYNCROMSP_API_TOKEN
|