Authorize an integration partner for an employee
Changed onCreates an employee consent record that authorizes (or revokes authorization for) an integration partner to access the employee's payroll data.
This endpoint is used to manage the employee-level authorization lifecycle for integration partners such as earned wage access (EWA) providers. Each call creates a new consent record for audit purposes.
🚧 This endpoint is currently only callable by integration partners using their own OAuth credentials. Support for platform API keys is planned.
post/employees/{employee}/authorize_partner
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
employeestring required
The ID of the employee to authorize
Request body
Example request
{
"email": "employee@example.com",
"ip_address": "203.0.113.1",
"consent_title": "INTEGRATED"
}Response
201 - Consent record created successfully. No response body is returned.
Changes
- info
endpoint added
- info