Skip to main content

API-Based Login

E
Written by Eilon Nisim Lotem
Updated over 3 weeks ago

Use the Login call with the clientId and clientSecret you got from TRES team

  • The login endpoint allows users to authenticate and obtain an access token for accessing protected resources in the Tres Finance API.

  • This endpoint is GraphQL-based.

  • The clientId and clientSecret parameters should be provided as variables.

As a response, you will get an access token.

Include the access token obtained from the login endpoint in the Authorization header of subsequent requests to authenticate and access protected resources in the API.

Did this answer your question?