Base URL: /api/v1, Version: 1.0
API for sending documents via LifeTime programmatically.
| Path | Operation | Description |
|---|---|---|
| /info | GET |
Provides information about the API. |
| OPTIONS |
Provides origin information. |
|
| /send | OPTIONS |
Provides origin information |
| POST |
Sends a document using the LifeTime Desktop API. |
HTTP Basic Authentication using lifetime as username and the auth token
from the LifeTime Desktop configuration as password.
Provides information about the API.
Uses default content-types: text/plain
Successful request
Version of the LifeTime Desktop instance providing the API.
"1.7.0"
Authentication information missing
| WWW-Authenticate | string | |
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
Authentication failed
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
Sends a document using the LifeTime Desktop API.
| document | The document to be sent |
formData | file | |
| inr | German insurance number of the recipient |
formData | string | |
| mobile | Mobile number of the recipient |
formData | string |
application/json
Successful dispatch of the document.
Information about the recipient. Has it been newly created ("new"), was it known ("existing") or was it known but changed due to a different insurance number ("changed").
"new"
Information about TAN usage
Indicates if a TAN has been generated and used to send the document
TAN in its raw format (only set if used === true)
123456789
TAN in its display format as used in Desktop and the apps (only set if used === true)
"123 - 456 - 789"
Invalid or missing parameters
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
Authentication information missing
| WWW-Authenticate | string | |
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
Authentication failed
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
An internal error occured when processing the request
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
Authentication information missing
| WWW-Authenticate | string | |
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
Authentication failed
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
Invalid or missing parameters
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |
An internal error occured when processing the request
| Access-Control-Allow-Credentials | boolean true | |
| Access-Control-Allow-Origin | Returns the value of the |
string |