SparkLoop
  • API v2
    • Endpoints
      • Subscribers
        • Events
      • Referral Campaigns
        • Campaign Memberships
        • Subscribers
      • Partner Profile
        • Recommendations
        • Payouts
      • Publications
      • Upscribe
        • Recommendations
      • Partner Programs
      • Partner Network
        • Publications
        • Partner Programs
      • Webhooks
    • Schemas
      • Partner Profile Object
      • Partner Program Object
      • Publication Object
      • Subscriber Object
      • Campaign Object
      • Upscribe Object
      • Recommendation Object
    • Guides
      • How to use Upscribe via API
  • API v1
    • Campaigns
    • Subscribers
    • Events
    • Webhooks
  • Webhooks
  • Changelog
Powered by GitBook
On this page
  • Get Publications
  • Get a Publication
  • Recommend a Publication

Was this helpful?

  1. API v2
  2. Endpoints
  3. Partner Network

Publications

Get Publications

GET https://api.sparkloop.app/v2/partner_network/publications

List, search and sort publications

Query Parameters

Name
Type
Description

query

String

Search publications by their Name, Description, Language, or Categories.

sort

String

Sorting by: name, created_at

order

String

asc, desc

{
    "publications": [
        <Publication Object>,
        <Publication Object>,
        <Publication Object>
    ],
    "meta": {
        "per_page": 50,
        "page": 1,
        "total_pages": 2,
        "total_publications": 73
    }
}

Get a Publication

GET https://api.sparkloop.app/v2/partner_network/publications/:identifier

Returns a single publication by UUID

{
    "publication": <Publication Object>
}
{
	"error": "Publication pub_e49df756d93da not found."
}

Recommend a Publication

POST https://api.sparkloop.app/v2/partner_network/publications/:identifier/recommend

{
    "partner_campaign": <Recommendation Object>
}
{"error": "This partner campaign has been archived and can't be re-activated"}
PreviousPartner NetworkNextPartner Programs

Last updated 7 months ago

Was this helpful?