Swagger API Docs
Swagger API Documentation for all APIs can be viewed at https://api.leadpost.com.
Authorization
All API calls are authenticated using your API key. Your API key must be added as a request header in the API call as shown:
api_key: your_leadpost_api_key_here
To obtain your API key, you may log into your account and navigate to Account >> Credentials and then click the Generate button if you have not already created an API key the past.
Note that if you have an agency or white label account, the API key in your agency/white label account is needed for any Agency API calls & individual client API keys access from a client account will only provide access to client specific API actions.
API Keys for Production and Staging may not be the same, so please make sure you
are using the correct API key for the environment endpoint you are using.
Production Endpoint
https://api.leadpost.com/api/v1.0 (https only). Clients created using this endpoint will be reflected in your production agency/white label login at https://client.leadpost.com or your white label login domain, if you are a white label client.
β
βStaging Endpoint (For Testing) http://staging.api.leadpost.com/api/v1.0/ (http only, https not supported). You can Log in to our staging environment at https://staging.leadpost.com/ using your production account login and password to review API changes made in the staging environment.
β
Note that newly created accounts may not have a login for staging and if you are having issues logging in to our staging environment, please create a support ticket and we can create a staging account and login for you.