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
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
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
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
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
Parameters
  • apiKey : cmF*******************
curl get request
  • curl --location 'https://api.landrrapp.io/api/getEmailLeadsFromapi?apiKey=**************************************'