Use this file to discover all available pages before exploring further.
Marketing Resources let merchants give affiliates the material they need to promote a program without sending files manually. Affiliates see only published resources for programs they belong to, and AI agents can retrieve the same material through MCP.
Social posts can include placeholders that are rendered for each affiliate:
Placeholder
Rendered value
{{affiliate_link}}
The selected affiliate tracking link for the program.
{{affiliate_code}}
The affiliate’s referral code.
{{program_name}}
The program name.
AgentRef also returns disclosure guidance with rendered social posts. If a post includes a referral link, affiliates should include a clear disclosure such as #ad or equivalent wording that fits the platform and your policy.
Marketing Resources are broader in the dashboard and MCP than they are in the REST API and SDKs. REST and SDKs currently cover listing, social posts, social-post media, status changes, notifications, and download URLs. MCP additionally exposes collection, external-link, generic file-upload, and URL-import workflows.
Capability
Dashboard
REST API
Node/Python SDKs
Merchant MCP
List resources and get details
Yes
Yes
Yes
Yes
Create and update social posts
Yes
Yes
Yes
Yes
Upload, replace, reorder, and remove social-post media
Yes
Yes
Yes
Yes
Publish, unpublish, archive, notify affiliates
Yes
Yes
Yes
Yes
Create merchant download URLs
Yes
Yes
Yes
Yes
Create or update collections
Yes
No
No
Yes
Create external links
Yes
No
No
Yes
Generic file upload sessions
Yes
No
No
Yes
Import a resource from a URL
Yes
No
No
Yes
Create or update swipe copy
Yes
No
No
No
Marketing Resources do not currently emit webhook events. Use API/MCP reads or dashboard activity when you need to inspect resource state.
POST /api/v1/marketing-resources/social-posts/{resourceId}/media/upload-sessions
Complete media upload
POST /api/v1/marketing-resources/social-posts/{resourceId}/media/complete
Update or remove media
PATCH /api/v1/marketing-resources/social-posts/{resourceId}/media/{mediaId} or DELETE /api/v1/marketing-resources/social-posts/{resourceId}/media/{mediaId}
Reorder media
POST /api/v1/marketing-resources/social-posts/{resourceId}/media/reorder
Replace media
POST /api/v1/marketing-resources/social-posts/{resourceId}/media/{mediaId}/replace
Publish, unpublish, archive, notify
POST /api/v1/marketing-resources/{resourceId}/{action}