Request Payload: “[token value from the refreshToken object]”The response will be similar to the one received when issuing the access token. This request needs to be authenticated.Insert your "accessToken" value in the "Authentication" param on the header of the POST call.All requests to the API need to be authenticated by implementing JWT Bearer token authentication.For example, to issue an invoice using the endpoint: https://einvoiceapiuat.impact.gr/invoice/json, the corresponding header would look like this:
Key: “Authorization”
Value: "Bearer <valid access token>" //(between Bearer and <valid access token> requires a space)
For proper functionality, please ensure the flow is implemented as follows:
Perform an initial login to obtain the access token.
The access token is valid for 15 minutes. After it expires (or shortly before), the refresh token endpoint should be called to obtain a new access token.
The refresh token is valid for 7 days and can be used for token renewal within that period.
Request
Header Params
Body Params application/json
Example
"Insert Token from Bearer login here"
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://einvoiceapiuat.impact.gr/Authentication/Refresh' \
--header'Authorization: Insert Access Token from Bearer Login' \
--header'Content-Type: application/json' \
--data-raw'"Insert Token from Bearer login here"'