Integrate your Quote Builder submissions directly into your own CRM or project management tools, and programmatically manage your configurations.
The Affiliate API uses API Keys and Affiliate IDs for authentication. These credentials must be provided with every request. You can find your credentials in your Master Affiliate Dashboard or by contacting your account manager.
| Header | Description |
|---|---|
| X-API-KEY | Your unique 32-character API key. |
| X-AFFILIATE-ID | Your numeric affiliate identification number. |
Domain Specificity (IP White-listing)
For enhanced security, you can restrict API access to specific domains in the 360 Admin Console. If configured, the API will verify the Origin or Referer header of incoming requests against your allowed domains list.
Note: For server-side calls (cURL), ensure you don't have domain restrictions set if you aren't sending these headers.
Alternative: For testing purposes, you may also pass credentials as GET parameters: ?api_key=KEY&affiliate_id=ID
/affiliate/api/config/
Retrieves the full Quote Builder configuration, including pages, packages, discount codes, global settings, and active payment plans. This endpoint automatically applies any master affiliate or sub-affiliate pricing overrides.
{
"status": "success",
"config": {
"pages": [
{ "id": "home", "name": "Home", "price": 300, ... },
...
],
"packages": [
{ "id": "startup", "name": "Startup", "pages": ["home", "about", "contact"] },
...
],
"discounts": {
"SAVE10": { "type": "percent", "value": 10, "minPages": 0 }
},
"settings": {
"PRICE_PER_PAGE": "300",
"DEV_NAME": "Digital Clients LLC"
},
"payment_plans": [
{ "plan_key": "3mo", "label": "3 Monthly Payments", "months": 3, "apr": 0 }
]
},
"affiliate": { "id": 1, "code": "PARTNER123" }
}
/affiliate/api/pricing/
Create or update a price override for a specific page.
Request Body
{
"page_id": "home",
"price": 350
}
/affiliate/api/pricing/
Remove a price override, reverting it to the master affiliate or global default.
Request Body
{
"page_id": "home"
}
/affiliate/api/packages/
Create or update a custom package. If a package with the same name exists, it will be updated.
Request Body
{
"name": "E-Commerce Basic",
"description": "Essential pages for a small shop",
"pages": ["home", "products", "cart", "checkout"],
"price_override": 1200
}
/affiliate/api/packages/
Delete a custom package.
Request Body
{
"id": 15
}
/affiliate/api/discounts/
Create or update a discount code.
Request Body
{
"code": "WINTER20",
"type": "percent",
"value": 20,
"min_pages": 3
}
/affiliate/api/discounts/
Delete a discount code.
Request Body
{
"code": "WINTER20"
}
/affiliate/api/settings/
Create or update a setting override (e.g., custom agency name or base pricing).
Request Body
{
"key": "DEV_NAME",
"value": "My Custom Agency"
}
/affiliate/api/settings/
Remove a setting override.
Request Body
{
"key": "DEV_NAME"
}
/affiliate/api/
Fetches a list of all submissions linked to your affiliate account, including contact details and selected project pages.
{
"status": "success",
"count": 1,
"submissions": [
{
"submission_id": "123",
"username": "customer_user",
"email": "customer@example.com",
"submitted_at": "2026-01-12 10:00:00",
"company_name": "ACME Corp",
"contact_name": "John Doe",
"billing_email": "billing@acme.com",
"website_url": "https://acme.com",
"details": "Quote Builder Project Details...",
"pages": [...]
}
]
}
/affiliate/api/billing/
Returns detailed billing information for all your submissions, including the total quote price and selected payment plan details.
{
"status": "success",
"count": 1,
"billing_info": [
{
"submission_id": "123",
"company_name": "ACME Corp",
"quote_price": 1450.00,
"payment_plan": {
"label": "3 Months Financing",
"months": 3,
"apr": 0,
"monthly_payment": 483.33,
"total_with_interest": 1450.00
}
}
]
}
/affiliate/api/contract/?submission_id={ID}
Retrieves a copy of the signed contract data for a specific submission, including the digital signature image (Data URL) and timestamp.
{
"status": "success",
"contract": {
"submission_id": "123",
"company_name": "ACME Corp",
"signed_at": "2026-01-12 12:00:00",
"terms_accepted": true,
"signature_data_url": "data:image/png;base64,...",
"project_details": {...}
}
}
curl -X GET "https://digitalclients.net/affiliate/api/" \
-H "X-API-KEY: YOUR_API_KEY" \
-H "X-AFFILIATE-ID: YOUR_ID"
Our developer support team is available to assist you with any questions regarding the Affiliate API.