Connection & access
Check which company, environment, and permissions your key can access and when it expires.
Request
GET /api/external/v1/connection
Any valid Workforce API key works. This endpoint takes no query parameters. Set up your key and base URL before running this example.
curl --fail-with-body \
-H "Authorization: Bearer $RIGHTWORK_API_KEY" \
-H "Accept: application/json" \
"$RIGHTWORK_BASE_URL/api/external/v1/connection"Example response
{
"data": {
"integration_id": "00000000-0000-4000-8000-000000000701",
"name": "Example workforce integration",
"company_id": "00000000-0000-4000-8000-000000000801",
"company_name": "Example Hospitality",
"environment": "production",
"scopes": [
"employees:read",
"locations:read",
"reference:read",
"schedules:read",
"time_entries:read",
"time_off:read"
],
"expires_at": "2026-12-17T18:00:00+00:00",
"api_version": "v1",
"location_access": "explicit_list",
"capabilities": [
"connection",
"locations",
"employees",
"roles",
"time-off-types",
"schedules",
"time-off-requests",
"time-entries"
],
"limits": {
"reads_per_minute": 60,
"max_page_size": 500,
"max_window_days": 31,
"max_source_rows": 10000,
"snapshot_seconds": 900,
"max_retained_snapshots": 4
}
},
"meta": {
"request_id": "00000000-0000-4000-8000-000000000901"
}
}Check scopes for the permissions your key has. capabilities lists available features. Each report requires its own scope and one approved location. Use limits to plan your request rate and page size.
Response fields
| Field | Type | Format / values |
|---|---|---|
integration_id | string | uuid |
name | string | |
company_id | string | uuid |
company_name | string | |
environment | string | |
scopes | array of strings | |
expires_at | string | date-time |
api_version | string | v1 |
location_access | string | explicit_list |
capabilities | array of strings | |
limits | object | |
limits.reads_per_minute | integer | |
limits.max_page_size | integer | |
limits.max_window_days | integer | |
limits.max_source_rows | integer | |
limits.snapshot_seconds | integer | |
limits.max_retained_snapshots | integer |
Use meta.request_id when contacting support.
