Rentila API

Please read the introduction below.

Introduction

Rentila API is a REST API that requires communication through HTTPS to send and receive JSON documents.
During your tests, we recommend making calls to the API with curl, through Postman or any other HTTP client of your choice.
The api endpoints structure is as follows:
  •  https://api.rentila.com/[module]/[controller]/[action] 
  • for example GET:  https://api.rentila.com/landlord/tenants  - return Tenants for Landlord
 The method currently supports only GET requests.
 When retrieving entries (GET) if the 'id' parameter is passed, only the selected id will be returned. This rule is valid on most POST endpoints.

Authentication

To authenticate, pass the API key header in your request.
Request this API key from Rentila.
As seen in the  login endpoint section , logging in a user will return an Auth-Key that you will then need to pass as a header to further requests to identify the user you are retrieving or passing data for.
Example of a cURL call:
curl --location ' https://api.rentila.com/landlord/tenants ' --header 'Api-Key: 705098e2629cf3a77333888666777999' --header 'Content-Type: application/json;charset=utf-8' --header 'Auth-Key: tebfa33fglsrj5tm2qphonvr9f' 
The Auth-Key expires within 7 days.

Responses

Most endpoints will, on error, return a code 400 or 403
  • Code 200 success response message that can be displayed to the end user
  • Code 400 error response message that can be displayed to the end user
  • Code 403 error response message for developer use only