Skip to content

Ensure Payroll Integration Email

employers.ensure_payroll_integration_email(stremployer_id) -> EmployerEnsurePayrollIntegrationEmailResponse
PUT/v1/employers/{employer_id}/payroll-integration-email

Provision and return the employer’s payroll integration email.

ParametersExpand Collapse
employer_id: str

Unique employer identifier (empr_*)

ReturnsExpand Collapse
class EmployerEnsurePayrollIntegrationEmailResponse:

Response containing a single payroll integration email resource.

data: Data
integration_email: str
formatemail

Ensure Payroll Integration Email

import os
from vitable_connect import VitableConnect

client = VitableConnect(
    api_key=os.environ.get("VITABLE_CONNECT_API_KEY"),  # This is the default and can be omitted
)
response = client.employers.ensure_payroll_integration_email(
    "empr_abc123def456",
)
print(response.data)
{
  "data": {
    "integration_email": "dev@stainless.com"
  }
}
Returns Examples
{
  "data": {
    "integration_email": "dev@stainless.com"
  }
}