GET
/
worksites
/
{worksite_id}
/
insurance-details
Get Worksite Insurance Details
curl --request GET \
  --url https://api.example.com/worksites/{worksite_id}/insurance-details \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "validFrom": "2023-12-25",
  "validTo": "2023-12-25",
  "insuranceCountry": "DE",
  "worksiteLocationNumber": "98797889",
  "accidentInsuranceCompanyNumber": "98797889",
  "accidentInsurancePin": "DE-WS-PIN-456",
  "payrollServiceProviderNumber": "98797889",
  "payrollProcessingLocationNumber": "98797889"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

worksite_id
required

Response

GermanyWorksiteInsuranceDetailsResponse · object | null

Successful Response

id
integer
required
validFrom
string<date> | null
validTo
string<date> | null
insuranceCountry
string
default:DE
Allowed value: "DE"
worksiteLocationNumber
string | null

German Betriebsnummer (8 digits: xxx-yyyy-z format)

Example:

"98797889"

accidentInsuranceCompanyNumber
string | null

German Betriebsnummer (8 digits: xxx-yyyy-z format)

Example:

"98797889"

accidentInsurancePin
string | null

German accident insurance PIN (5 digits)

Example:

"DE-WS-PIN-456"

payrollServiceProviderNumber
string | null

German Betriebsnummer (8 digits: xxx-yyyy-z format)

Example:

"98797889"

payrollProcessingLocationNumber
string | null

German Betriebsnummer (8 digits: xxx-yyyy-z format)

Example:

"98797889"