Currently, two APIs are implemented so you can program actions from your system that are executed on the platform:
-
Email and SMS Marketing: This API allows you to create lists, add and modify contacts, create and send emails and SMS, collect statistics, create custom fields, and call other systems via webhooks.
-
Transactional Email and SMS: This API allows 1-to-1 sending and the collection of statistics for those messages.
In this article, we explain how you can create the API user and API key needed to implement integrations.
Keep in mind that:
-
Access to MDirector's APIs is done using OAuth 2.0.
-
Transactional sends via SMTP use the same API credentials.
Email and SMS Marketing
You can access the documentation in Settings, under the 'API Info' tab.
Transactional Email and SMS
You can find the documentation in Preferences by clicking on the links at the bottom of the page.
Creating a credential
Within the Integrations section, you can view the credentials created for each subaccount in your MDirector account, but you cannot see the generated password. You must copy and save it securely when creating it, as MDirector does not allow password recovery for security reasons.
In the sidebar menu, select Integrations, then APIs, and once there, select the subaccount for which you will create the API user from the dropdown on the right.
Choose a name and a service for the credential you are about to create.
Click on 'Create Credential', and a window will appear where you can copy the username and password.
NOTE: The credentials for the bulk API will always have the same username, while the credentials for the transactional API will have a different username for each one created.
Comments