cURL
curl --request POST \ --url https://api.payrollintegrationsapp.com/v1/employer-identifiers/{employer_identifier}/invites \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "contactEmail": "jsmith@example.com", "redirectUrl": "<string>", "onboardingNotes": "<string>", "additionalEmails": [ "jsmith@example.com" ] } '
{ "id": "770e8400-e29b-41d4-a716-446655440002", "employerIdentifierId": "550e8400-e29b-41d4-a716-446655440000", "email": "user@example.com", "status": "pending", "createdAt": "2024-01-15T10:30:00Z", "expiresAt": "2024-01-22T10:30:00Z" }
Creates a new invite for an employer identifier
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Primary email address of the employer identifier sponsor
URL to redirect after onboarding
Internal notes about the employer identifier
Additional email addresses
Employer identifier invite created successfully