Skip to content

Authentication

All requests require a bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

You can generate an API key from your Nuelink dashboard under Settings -> API.

Tokens are long-lived and do not need to be refreshed. If a token is leaked, revoke it from the same dashboard screen and generate a new one.

Request without token:

Terminal window
curl https://nuelink.com/api/public/v1/me

Typical 401 responses:

{
"status": "error",
"message": "Token is required",
"errors": {
"authorization": "Token is required"
}
}
{
"status": "error",
"message": "Token is invalid",
"errors": {
"authorization": "Token is invalid"
}
}
{
"status": "error",
"message": "Token has been revoked",
"errors": {
"authorization": "Token has been revoked"
}
}