cURL
curl --request POST \ --url https://sandbox.intermezzo.ai/worksites/{worksite_id}/insurance-data \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "validFrom": "2023-12-25", "validTo": "2023-12-25", "worksiteLocationNumber": "<string>", "accidentInsuranceCompanyNumber": "<string>", "accidentInsurancePin": "<string>", "payrollServiceProviderNumber": "<string>", "payrollProcessingLocationNumber": "<string>" }'
{ "validFrom": "2023-12-25", "validTo": "2023-12-25", "worksiteLocationNumber": "<string>", "accidentInsuranceCompanyNumber": "<string>", "accidentInsurancePin": "<string>", "payrollServiceProviderNumber": "<string>", "payrollProcessingLocationNumber": "<string>", "id": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
TypeID with prefix 'wst'
"wst_01h455vb4pex5vsknk084sn02q"
Successful Response
The response is of type object.
object
Was this page helpful?