Get the insurance terms

This API call is used to get the current version of the insurance terms.

Building request

This API call is made through the GET protocol with the sending of a single argument. Authentication is required and works with the rules of HTTP basic access authentication.

Arguments

This API call can take a single argument:

Entry Data type Description
lang String Language of the current insurance terms version. Three possible values: "en", "de" or "fr". Default value: "en".

Response informations

The response data contains two informations :

Entry Data type Description
id String Your insurance terms version reference.
last_update Date Date of terms last update.
lang String Language of the insurance terms version. Three possible values: "en", "de" or "fr".
content
    markdown_format String Insurance terms in markdown format.
    html_format String Insurance terms in html format.

Request

curl 'https://developer.secursus.com/api/terms?lang=en' \
-u your_apiKey:your_secretKey

Response

{
"response": {
"success": true,
"status": "200",
"title": "OK",
"detail": ""
},
"data": {
"id": "SEC-I-DEFAULT",
"last_update": "2020-03-18",
"lang": "en",
"content": {
"markdown_format": "# Insurance terms in markdown format"
"html_format": "<h1>Insurance terms in html format</h1>"
}
}
}
...
...