Getting your credentials
Credentials are issued per API key in the Developer Portal. Each key has a username and password and a specific set of permissions that controls which endpoints it can access.Production Portal
Manage production API keys
Staging Portal
Manage staging API keys
How to authenticate
Combine your username and password with a colon, Base64-encode the result, and pass it in theAuthorization header on every request.
Example
-u flag in curl handles the Base64 encoding automatically. In other HTTP clients, encode username:password with Base64 yourself and set the header manually:
Permissions
Each API key is granted one or more permissions in the Developer Portal. The table below lists every permission and the endpoints it unlocks.| Permission | Description | Endpoints |
|---|---|---|
view-employees | Read employee records and their documents. | List Employees, Get Employee, List Employee Documents, List All Documents, Get Document, Download Document |
view-hr-integrations | Read HR integration records and sync status. | List HR Integrations, Get HR Integration |
view-billing | Read billing items — the charges on your company’s invoices, including per-employee ticket charges, pricing, and billing periods. Use the ticket charges to build payroll data. | List Billing Items, Get Billing Item, Export Billing Items |
add-employees | Create new employee records during a sync. | Trigger HR Sync |
update-employees | Update existing employee records during a sync. | Trigger HR Sync |
remove-employees | Offboard employees no longer in the roster during a sync. | Trigger HR Sync |
Servers
| Environment | Base URL |
|---|---|
| Production | https://v1-api.ticket-plus.app |
| Staging | https://v1-api-staging.ticket-plus.app |

