Co-Marketing
The shared marketing resource library tenants publish for their partners, marketers, and providers to download and share — images, videos, social posts, print, email templates, landing pages, and campaign kits. Each resource can expose a tokenized public share page.
Categorized library
Social-first resource categories with thumbnails
Built from anywhere
Files, landing pages, or full campaigns
Public share links
Tokenized share pages with OG metadata
Base path
/v1/partners/co-marketing. Partner and marketer portals read the same library through /v1/partners/portal/co-marketing.List Resources
Returns a paginated list of co-marketing resources. Pass grouped=true to instead receive resources bucketed by category — convenient for rendering the resource grid directly.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number |
limit | integer | Items per page |
category | stringsocial-postsimagesvideosprintemail-templateslanding-pagescampaign-kitsother | Filter by category |
status | stringactivearchived | Filter by status |
sourceType | stringfilelanding-pagecampaign | Filter by source |
grouped | boolean | Return resources grouped by category instead of a paginated list |
GET https://api.leadron.dev/v1/partners/co-marketing?category=social-posts&page=1&limit=20
X-API-Key: ldr_live_sk_a1b2c3d4e5f6g7h8i9j0{
"success": true,
"status": 200,
"message": "Co-marketing assets",
"data": [
{
"id": "cm_7h2k9d4f1a0b",
"name": "Social Media Kit Q1 2026",
"category": "social-posts",
"sourceType": "file",
"description": "Instagram, LinkedIn, and X post templates with partner branding.",
"fileType": "zip",
"fileSize": "45.2 MB",
"thumbnailUrl": "https://cdn.leadron.dev/thumbs/cm_7h2k9d4f1a0b.png",
"shareEnabled": true,
"shareToken": "Jx7-aQ2m_demo",
"shareCaption": "Grab our latest social kit",
"downloads": 98,
"shares": 71,
"status": "active",
"createdAt": "2026-02-08T14:30:00.000Z",
"updatedAt": "2026-02-08T14:30:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 9,
"totalPages": 1,
"hasNext": false,
"hasPrev": false
},
"meta": {
"timestamp": "2026-02-08T14:30:00.000Z",
"version": "v1"
}
}{
"success": true,
"status": 200,
"message": "Co-marketing resources",
"data": {
"social-posts": [
{
"id": "cm_7h2k9d4f1a0b",
"name": "Social Media Kit Q1 2026",
"category": "social-posts",
"sourceType": "file",
"description": "Instagram, LinkedIn, and X post templates with partner branding.",
"fileType": "zip",
"fileSize": "45.2 MB",
"thumbnailUrl": "https://cdn.leadron.dev/thumbs/cm_7h2k9d4f1a0b.png",
"shareEnabled": true,
"shareToken": "Jx7-aQ2m_demo",
"shareCaption": "Grab our latest social kit",
"downloads": 98,
"shares": 71,
"status": "active",
"createdAt": "2026-02-08T14:30:00.000Z",
"updatedAt": "2026-02-08T14:30:00.000Z"
}
],
"images": [],
"videos": [],
"print": [],
"email-templates": [],
"landing-pages": [],
"campaign-kits": [],
"other": []
},
"meta": {
"timestamp": "2026-02-08T14:30:00.000Z",
"version": "v1"
}
}Get Resource
Get Download URL
Resolves a directly usable download URL for the resource's file. If the resource stores a fileUrl it is returned as-is; otherwise the associated fileId is resolved through the file-storage service into a presigned URL.
Create Resource
Creates a resource from an uploaded file, an existing landing page, or a campaign — selected via sourceType. A unique share token is generated automatically when shareEnabled is true.
Update Resource
Archive & Delete
Usage Tracking
Increment the download and use counters surfaced on each resource card.
Public Share Links
No authentication
/s/<token> share page. They return a public-safe shape that omits internal fields.Portal Endpoints
Partner and marketer portals read the resource library through their authenticated portal session (portal JWT), not an API key. The marketer portal shares the same handlers as the partner portal.