Authentication and login with API Key
HTTP Request login
This API call allows you to login to the application via your API key. As a response your personal token will be returned, it will have to be used in subsequent calls as authorization.
Headers
Name
Value
Description
Content-Type
application/json
The content type of the request body
Request body
Name
Type
Description
API key
string
code used to authenticate and authorize access to the API
Example of a valid request body:
The above command returns a JSON structured as follows:
Dedit depends on JWTs to allow access to its RESTful API offering blockchain services.
The service expects the JWT token to be included in all API requests (except the open verification endpoint) in a header that looks like:
You must replace $TOKEN with your personal JWT.
After you get your personal token, you’ll need to put it in your API call headers.
Request Headers example:
Last updated