Authentication

Scoutred uses API tokens to manage access to the API. Every account on Scoutred is returned a token when they authenticate. In order to obtain an API token all you need to do is signup on Scoutred and then use the authentication endpoint.

/api/login

The /api/login endpoint is necessary to obtain the token required for all subsequent requests.

Example Request

# POST the email and password to receive an API token.
$ curl -X POST https://scoutred.com/api/login \
	-d '{"email":"hello@scoutred.com","password":"auth123"}'

Example Response

{
	"token": "eyJhbGciOiJSUzI1Ni..."
}