Authenticate into OSAIS

A client can authenticate into the OpenSouceAIs service by passing its token and secret, to retrieve an authentication token.

Authenticates a Client into OSAIS backend

POST https://opensourceAIs.com/api/v1/public/client/login

Request Body

Name
Type
Description

token*

String

Your token, as received at registration time

secret*

String

Your secret, as received at registration time

{
 "data": {
        "token": "a641d628f31b456af7ccc388d140bb0e1fc2",
        "authToken": "eyJhbGciOiJIUzI1CI6IkpXVCJ9.eyJ1c2VybmFtZSI6Imh0dHA6Ly8xOTIuMTY4LjEuMTA4OjMwMjIiLCJ0b2tlbiI6ImE2NDFkNjQxM2E5OWY4ZmU1MGEyOGYzMWI0NTZhZjdjY2MzOGNkMzRiYWFjODdlNWY5NzhkMTQwYmIwZTFmYzIiLCJpYXQiOjE2NzgyOTY4MzEsImV4cCIX0.dIlfgqV8z9GcEBhgr1ksPGiNgC4yRXVkxZNICdnOLbU",
        "duration": "72h"
    }
}

Last updated