Mailjet Content API supports two authentication schemes: Basic Authentication and Bearer Token.
If you use HTTPS Basic Auth, it requires you to provide a username and a password for each API request.
The username is your API Key and the password is your API Secret Key - you can find them in your API Key Management page.
When you create a new account, a primary API key is automatically generated. However, you must generate a Secret Key within the user interface before it is accessible for use via API. The Secret Key will be displayed to the user only once. It is crucial that you securely manage and store the Secret Key value at the time of creation.
A user authenticated with Basic Auth has no permission restriction other than that of their Mailjet plan. You can consult plan-related restrictions on the Billing Settings & Invoices page.
curl -H "Authorization: Basic bWFpbGpldDpyb2Nrcw==" https://api.mailjet.com/v1/rest/templates