Authentication

In order to access the different functionalities provided by the API, a session must be created. This session will provide a token valid for 12 hours from its generation.

Create a session to use truedat's API

POST https://my-organization.truedat.io/api/sessions

Body needs to be provided as raw json. Example: { "access_method":"alternative_login", "user": { "user_name":"usuarioaplicacion", "password":"passwordusuarioaplicacion" } }

Request Body

NameTypeDescription

user_name*

String

Username to access the application.

password*

String

Password of the user who will access.

access_method*

String

Provide the type of access to use. For API access "alternative_login" should be provided

{
    "refresh_token": "footoken",
    "token": "footoken"
}