LeadDyno API

Sections

Theme switcher

LeadDyno API

This section allows users to track web traffic and effectively manage their affiliate program. By utilizing this API, users can gain valuable insights into their website traffic and enhance their affiliate marketing strategies.

Just getting started?

Check out our guide

Was this section helpful?

What made this section unhelpful for you?

Base URL

Production:

https://api.leaddyno.com/v1/

Language Box

Was this section helpful?

What made this section unhelpful for you?

Authentication

  1. Find your API key in your LeadDyno Account - Profile section.

If you need to refresh your private key, contact LeadDyno support at support@leaddyno.com for assistance.

2. Add the key as a parameter in the request header or URL query string.

SHELL
curl -X GET "https://api.leaddyno.com/v1/visitors?key=YOUR_PRIVATE_KEY"
Was this section helpful?

What made this section unhelpful for you?

Errors

LeadDyno uses standard HTTP response codes to indicate the success or failure of an API request. Codes in the 2xx range indicate success, while codes in the 4xx range indicate an error with the information provided (e.g., a required parameter was omitted). Codes in the 5xx range indicate a server error (these are rare).

Common HTTP Response Codes:

200 OK: The request was successful.

400 Bad Request: The request was unacceptable, often due to missing a required parameter.

401 Unauthorized: No valid API key provided.

403 Unauthorized: No valid API key provided.

404 Not Found: The requested resource doesn’t exist.

429 Too Many Requests: Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.

500 Server Error: Something went wrong on LeadDyno’s end (these are rare).

Error Handling Recommendations:

Validate Input: Ensure all required parameters are included and correctly formatted.

Graceful Handling: Handle 400 and 401 errors by checking for missing or invalid parameters, such as an incorrect API key.

Retry on 5xx: For server-side errors, consider retrying the request with exponential backoff to avoid overwhelming the API.

Was this section helpful?

What made this section unhelpful for you?

Affiliates

This section allows users to manage and track affiliate relationships within their program. By utilizing this section, users can view, add, update, and remove affiliates, as well as access performance metrics and commission details. This section provides essential functionality for effectively managing affiliate partnerships and tracking the success of their referral activities.

Purchases

The Purchases section of the LeadDyno REST API allows users to retrieve detailed information about purchases made through the platform. With this functionality, users can track and manage customer transactions, gain insights into purchase patterns, and analyze sales data for informed decision-making.

Commissions

This section allows users to retrieve detailed information about the commissions earned through their affiliate marketing program. With this functionality, users can track and manage the financial aspects of their affiliate relationships, providing insight into earnings and performance metrics.

Leads

This section allows users to manage information related to potential leads or customers. Users can retrieve details about leads, update lead information, and track the status of leads within their LeadDyno account. This functionality provides essential tools for businesses looking to effectively manage and nurture their leads.

Visitors

This section allows users to manage and retrieve data related to website visitors, whether they were referred by affiliates or arrived organically. You can use these endpoints to track the journey and behavior of visitors across your website, helping to analyze performance and conversions.

Campaigns

This section allows users to manage and track their marketing campaigns efficiently. With this functionality, users can create, monitor, and analyze the performance of their campaigns to optimize their marketing efforts and drive better results.

Custom Fields

The Custom Fields section allows users to define and manage custom fields within the LeadDyno. By utilizing this section, users can customize their data structures and collect specific information tailored to their business needs. This section empowers users to enhance the flexibility and functionality of their LeadDyno integration.

Sub IDs

This section allows users to retrieve detailed information about the affiliate links, Sub IDS.