Create Tenant Insurance Invitation
Create an insurance invitation link for a tenant. The tenant will be able to share insurance details, such as policy ID and insurance period, with the inviter.
Request body
referenceIdstringRequiredUnique ID in the client system.
insuranceStartDatestringRequiredInsurance start date.
tenantobjectOptionalTenant's details.
namestringOptionalTenant's name.
surnamestringOptionalTenant's surname.
peselNumberstringOptionalTenant's PESEL number.
citizenshipstringOptionalTenant's citizenship.
birthDatestringOptionalTenant's birth date.
addressobjectOptionalTenant's address.
citystringOptionalTenant's city.
streetstringOptionalTenant's street.
houseNumberstringOptionalTenant's house number.
flatNumberstringOptionalTenant's flat number.
postalCodestringOptionalTenant's postal code.
emailstringOptionalEmail address to send an email with a insurance link.
languagestringOptionalLanguage used as initial in the process (pl|en|ua).
callbackUrlstringOptionalCallback URL for process updates (see tenant insurance invitation status object).
Returns
invitationUrlstringURL to the insurance invitation.
curl --location --request POST 'https://api-test.simpl.rent/v2/tenant-insurance-invitations/' \
--header 'Authorization: <API key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"tenant": {
"name": "Simpl",
"surname": "Rent",
"peselNumber": "55082282655",
"citizenship": "PL",
"birthDate": "1955-08-22",
"address": {
"city": "Warsaw",
"street": "Kurza",
"houseNumber": "34",
"flatNumber": "3",
"postCode": "02-832"
}
},
"insuranceStartDate": "2022-01-20",
"referenceId": "1234",
"callbackUrl": "https://simpl.rent"
}'Get Tenant Insurance Invitation
Fetch insurance invitation data.
Get tenant insurance invitation data.
Path parameters
idstringUnique ID (referenceId) provided during tenant insurance invitation creation.
Returns
curl --location --request GET 'https://api-test.simpl.rent/v2/tenant-insurance-invitations/123' \
--header 'Authorization: <API key>'Get Tenant Insurance Certificate Policy
Fetch Insurance Certificate Policy if tenant shared his insurance.
Get tenant insurance certificate policy.
Path parameters
idstringUnique ID (referenceId) provided during tenant insurance invitation creation.
Returns
pdfContent-Type: application/pdfPDF file tenant insurance policy certificate.
curl --location --request GET 'https://api-test.simpl.rent/v2/tenant-insurance-invitations/123/certificate' \
--header 'Authorization: <API key>'Cancel Tenant Insurance Invitation
Cancel the tenant insurance invitation.
Path parameters
idstringUnique ID (referenceId) provided during tenant insurance invitation creation.
curl --location --request DELETE 'https://api-test.simpl.rent/v2/tenant-insurance-invitations/12345' \
--header 'Authorization: <API key>'Resend Tenant Insurance Invitation
Resend the tenant insurance invitation.
Path parameters
idstringUnique ID (referenceId) provided during tenant insurance invitation creation.
Request body
emailstringRecipient email address.
curl --location --request POST 'https://api-test.simpl.rent/v2/tenant-insurance-invitations/12345/resend' \
--header 'Authorization: <API key>
--data-raw '{
"email":"test@test.com",
}'Tenant Insurance Invitation Status Object
Callback object for insurance invitation process updates.
referenceIdstringUnique ID in the client system.
invitationStatestringInvitation state (NEW|INSURED|REJECTED|DELETED).
tenantobjectTenant's details.
namestringTenant's name.
surnamestringTenant's surname.
policyIdstringTenant's policy ID.
insuranceStartDatestringTenant's insurance start date (YYYY-MM-dd).
insuranceEndDatestringTenant's insurance end date (YYYY-MM-dd).
Create Landlord Insurance Invitation
Create an invitation for landlord insurance. The landlord will be able to purchase landlord insurance with a discount for the provided tenant certificate and share insurance details with the inviter.
Request body
referenceIdstringRequiredUnique ID in the client system.
certificateIdstringOptionalWhen provided, the landlord will be able to purchase insurance with a tenant certificate discount.
emailstringOptionalIf provided, an email with a insurance link will be sent to the landlord
callbackUrlstringOptionalCallback URL for process updates (see landlord insurance invitation status object).
Returns
invitationUrlstringURL to the insurance invitation.
curl --location --request POST 'https://api-test.simpl.rent/v2/landlord-insurance-invitations/' \
--header 'Authorization: <API key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"referenceId":"12345",
"callbackUrl":"https://simpl.rent",
"certificateId": "r9kx"
}
'Get Landlord Insurance Invitation
Fetch insurance invitation data.
Path parameters
idstringUnique ID (referenceId) provided during landlord insurance invitation creation.
Returns
curl --location --request GET 'https://api-test.simpl.rent/v2/landlord-insurance-invitations/123' \
--header 'Authorization: <API key>'Cancel Landlord Insurance Invitation
Cancel the landlord insurance invitation.
Path parameters
idstringUnique ID (referenceId) provided during landlord insurance invitation creation.
curl --location --request DELETE 'https://api-test.simpl.rent/v2/landlord-insurance-invitations/12345' \
--header 'Authorization: <API key>'żResend Landlord Insurance Invitation
Resend the landlord insurance invitation.
Path parameters
idstringUnique ID (referenceId) provided during landlord insurance invitation creation.
Request body
emailstringRecipient email address.
curl --location --request DELETE 'https://api-test.simpl.rent/v2/landlord-insurance-invitations/12345/resend' \
--header 'Authorization: <API key>'Landlord Insurance Invitation Status Object
Landlord insurance invitation data.
referenceIdstringUnique ID in the client system.
invitationStatestringInvitation state (NEW|INSURED|REJECTED|DELETED).
landlordobject or undefinedLandlord details (visible only if the landlord accepts to share data)
namestringLandlord's name.
surnamestringLandlord's surname.
insuranceobject or undefinedLandlord insurance details (visible only if the landlord accepts to share data)
policyIdstringInsurance policy ID.
startDatestringInsurance start date (YYYY-MM-dd).
endDatestringInsurance end date (YYYY-MM-dd).