The API accepts 2 different authentication methods:
Send a digest token in the Authorization HTTP header to authenticate with the API.
Authorization
Learn more about Service Accounts.