API Overview

Modified on Mon, 14 Nov 2022 at 10:42 AM

This article will give you an overview of how the API & Webhook works for the Agency Features that we offer along with details on how to use them properly.

First of all, make sure that your SEO Lead Gen.


API


The API will allow you to initiate tasks using simple requests.



Authentication



You will need your API token mentioned on the agency features page at the very 

bottom: https://dash.brandoverflow.com/agency




Endpoint: https://api3.brandoverflow.com/leads_api


Add Lead


This method will add a lead to the system that you can then view/process via the dashboard.



Endpointhttps://api3.brandoverflow.com/leads_api
MethodPOST



Request Body

{
    "token" : "your_api_token",
    "url" : "https://your_url.com",
    "name" : "Full Name",
    "email" : "Email",
}

Add Lead + Process Audit Immediately.


This method will add a lead to the system and add it to the processing queue immediately.



Endpointhttps://api3.brandoverflow.com/leads_api
MethodPOST



Request Body

{
    "token" : "your_api_token",
    "url" : "https://your_url.com",
    "name" : "Full Name",
    "email" : "Email",
    "process_immediately" : true,
    "max_pages": 10
}

Reference


KeyRequiredDescription
tokenYesYour api token as per your account settings
URLYesThe url of the website that is to be audited
nameYesName of the lead
emailYesEmail of the lead
process_immediatelyOptionalDefaults to false, if set to true, it will add the audit task to the processing queue immediately.
max_pagesOptionalNumber of pages to audit for this task.

Responses


If no error and everything went smoothly.


{
   "success" : true
}

If URL is invalid or missing



{
   "success" : false,
   "message" : "URL is invalid"
}

If the name is invalid or missing



{
   "success" : false,
   "message" : "Name is invalid"
}

If the email is invalid or missing



{
   "success" : false,
   "message" : "Email is invalid"
}

If the account doesn't have any limits left to process this request



{
   "success" : false,
   "message" : "Not enough Audit credits left."
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article