The VoiceTrends API utilizes a two-step authentication process. First, authenticate using tool-specific credentials. Users that have both DEV and Fuse accounts must authenticate each one separately. Users that only use one or the other need to authenticate with that tool. This tool-specific authentication generates a new set of temporary authentication credentials. You then use the temporary credentials to fetch data from VoiceTrends. The temporary credentials expire 24 hours after their last use. If you fetch data on a consistent basis you will be able to use your credentials indefinitely, however, it is considered best practice to re-authenticate every 24 hours.
All data API requests authenticate using HTTP Basic Authentication using the temporary credentials created by a call to the Authenticate resource. Any data requests made without this HTTP Basic Authentication header or with invalid credentials return an HTTP 401 Unauthorized error. The body of the error message provides details about what went wrong with the request.