By default, all requests receive the last version of the REST API. We encourage you to explicitly request this version via the Accept
header if you’re building an application and care about the stability of the API.
Authentication is required to access MailCare API endpoints. To authenticate, you need to generate an API token via the “Api Tokens” menu with the appropriate permissions. Once generated, include the token in the Authorization
header with the Bearer scheme.
email:view
).All API calls should be made to the following base URL:
This serves as the base URL for all API requests. Replace {teamId}
with the appropriate team identifier.
https://mailcare.io/teams/{teamId}
, where {teamId}
is your team identifier.You can test the MailCare API using a simple curl command. Here’s an example:
Replace with your actual team ID and YOUR_TOKEN_HERE with your API token.
This command will send a GET request to the specified endpoint, allowing you to test the API and verify that it is working correctly.
This guide should help users get started with the MailCare API, providing clear instructions on authentication, base URL setup, general API usage tips, and how to test the API using a simple curl
command.