Introduction
Welcome to the API documentation! It provides essential information about the APIs used in the tool, including detailed descriptions of endpoints and CURL.
Authentication
The Landrr API authenticates requests using API key. Users can access their API key in the Landrr app in profile section.
Since API key grant significant access, it is crucial to keep them secure and never share them in publicly accessible locations. All API requests must be made over HTTPS. Requests sent over plain HTTP or without proper authentication, will fail.
Authentication End Point
- Method : GET
- URL : https://api.landrrapp.io/api/auth
Parameters
- apiKey : cmF*******************
curl get request
- curl --location: 'https://api.landrrapp.io/api/auth?apiKey=*********************************************'
Zap Subscribe
The Subscribe API will be executed from the Zapier platform the first time a user publishes a Zap. The Subscribe API will be used to subscribe the user, and the "Webhook Target URL" will be sent from Zapier.
The following parameters will be passed: hookUrl, and type ("campaign" if the user added a trigger for campaigns, or "nul" if the user added a trigger for leads).
Subscription End Point
- Method : POST
- URL : https://api.landrrapp.io/api/zapier/subscribe
Parameters
- apiKey : cmF*******************
- hookUrl : https://hooks.zapier.com/hooks/standard/*****************
- type : (Optional)
curl post request
-
curl --location
"https://api.landrrapp.io/api/zapier/subscribe?apiKey=*******************************" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data-urlencode "hookUrl=https://hooks.zapier.com/hooks/standard/*****************" \
--data-urlencode "type=campaign"
Zap Unsubscribe
The UnSubscribe API will be executed from the Zapier platform when the zap will be turned off.
Unsubscribe End Point
- Method : POST
- URL : https://api.landrrapp.io/api/zapier/unsubscribe
Parameters
- apiKey : cmF*******************
curl post request
- curl --location --request POST 'https://api.landrrapp.io/api/zapier/unsubscribe?apiKey=******************************************'
Get Campaigns
The Get Campaigns API is used to get the list of own campaign created in the Landrr app.
Campaigns End Point
- Method : Get
- URL : https://api.landrrapp.io/api/getCampaigns
Parameters
- apiKey : cmF*******************
curl get request
- curl --location 'https://api.landrrapp.io/api/getCampaigns?apiKey=*********************************************'
Get Leads
The Get Leads API is used to get the list of Leads of own campaign created in the Landrr app.
Leads End Point
- Method : Get
- URL : https://api.landrrapp.io/api/getEmailLeadsFromapi
Parameters
- apiKey : cmF*******************
curl get request
- curl --location 'https://api.landrrapp.io/api/getEmailLeadsFromapi?apiKey=**************************************'