Using the token
A successful HTTP request returns a payload containing an access_token
{
"access_token":"eyJz93a...k4laUWw",
"token_type":"Bearer",
"expires_in":86400
}.
Use the value of the access_token
in an Authorization header for every request to Hudl Statsbomb Live Analysis Platform.
Header Key Name | Header Key Value |
---|---|
Authorization | Bearer eyJz93a...k4laUWw |
Avoid including double-quotes
Avoid including the double-quotes from the token value, as they are not required
Ensure there is a space between Bearer
text and the access_token
value in the header value
If you have an operations or IT team, they may have suggestions on how to automate the generation of a token every day, storing it safely, where your applications and services can access it securely. Hudl Statsbomb can also try to advise you on how to do this if you are happy to discuss your IT environment.