SME API

Introduction

Welcome to the SME API.

Authentication

A JSON Web Token is used to send information that can be verified and trusted by means of a digital signature. It comprises a compact and URL-safe JSON object, which is cryptographically signed to verify its authenticity, and which can also be encrypted if the payload contains sensitive information.

Application may request to access routes, services, or resources on behalf of that user. To do so, it uses an access token, which is in the form of a JWT token. user has to provide JWT token in header as a authorization in every subsequent request after login.

Authentication

POST sme.tradefinex/api/v1.0/auth/authenticate

Authenticate API in environment with token in response

Path Parameters

NameTypeDescription

user

string

API Key or any secret key

{
    "success": true,
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1NDk1MzEzNTIsImV4cCI6MTU0OTYxNzc1Mn0.6cTXghU1IdDreucri4nQKK-Q2HjnHgL7CtTKmvYTRzo"
}

Last updated