Authentication
Our API uses Bearer Tokens in order to authenticate users. In order to receive a bearer token, you need to login with your credentials. Ask your contact person for login credentials. Store your credentials in a safe place and don’t share auth token with anybody.
Here is the curl request to login:
curl --location --request POST 'https://api.livearenasports.com/user/login' \
--header 'site-id: BACKOFFICE' \
--header 'Content-Type: application/json' \
--data-raw '{
"userName": "my@username.se",
"password": "password"
}'
Each token has a lifetime of 30 days and will need to be refreshed regularly, or when it expires. You will receive a 401 HTTP Response from our services if your token has expired. You can download the OpenAPI schema and import it in Postman or a similar tool to test your request.