Authorization

Authentication is via header based token. Token can be generated via following endpoint using the credentials provided over the email.


Endpoint

POST /content/user/token/

Request:

{
    "username": "username provided to the organization",
    "password": "password provided to the organization" 
}

Response:

{
    "token": "null / token"
}

Curl:

curl -X POST 'https://api.brahmastra.tech/content/user/token/' -d 'username=demo&password=demo'