To access the Spanning Backup API, you will need to obtain an access token through the Administrator section of the Spanning Backup application. Here is a direct link.
Spanning Backup services are accessed using HTTP Basic Authentication over HTTPS, with your domain name being specified as the user name, your access token being specified as the password and region(US, EU, AP, UK, CA). For example, the syntax to retrieve a list of users using curl would be similar to:
curl --user {domainName}:{accessToken} https://api-{region}.spanningbackup.com/api/v1/users
Passing an invalid user name/access token pair will result in a response code of 401.