Skip to main content

Getting Started

Run in Postman

Login

To use our APIs you will need an authorization token. Using the log in API you can get your access token.

Login

Skip this if you already have your authorization token

Curl
curl --location --request POST 'https://platform.neuralspace.ai/api/auth/login' \
--header 'Accept: application/json, text/plain, */*' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"email": "YOUR-NEURALSPACE-EMAIL-ID",
"password": "YOUR-NEURALSPACE-PASSWORD"
}'

The response would look something like this.

{
"success": true,
"message": "Login successful",
"timestamp": ...,
"data": {
"user": {
"name": "YOUR-NAME",
"email": "YOUR-NEURALSPACE-EMAIL-ID",
"apikey": "YOUR-API-KEY",
"role": "provider"
},
"auth": "YOUR-AUTHORIZATION-TOKEN",
"apps": [
"..."
]
}
}

Store your authorization token in a variable.

AUTHORIZATION_TOKEN="YOUR-AUTHORIZATION-TOKEN"