Basic auth (http)

Collect uses API keys to allow access to the API. You can retrieve your Collect API key at the bottom of your profile page.

You need to add the Authorization header using the Basic authentication type. username:password where the username is always empty and the password is the API key.

Don't forget to add the semicolon ( : ) before your API key in curl command.