Skip to content

Update subscription

Request

Partially update a subscription (name, endpoints, or creators). Status changes (pause/resume) on campaign-backed subscriptions are rejected; their lifecycle is driven by the campaign. Monitoring is billed per creator, per day — API calls are included in that price. See Usage, pricing & limits.

Security
Bearer
Path
subscription_idintegerrequired

Unique identifier for the resource

Bodyrequired
namestring

New subscription name.

statusstring

Set to 'paused' or 'active'. Draft and completed-campaign subscriptions cannot be activated manually.

Enum:"active""paused"
notify_endpointsArray of objects(NotifyEndpointInput)

Replaces the subscription's notify endpoints. At least one is required when provided.

add_handlesArray of strings

Creator handles to add to the subscription.

list_idsArray of integers

Discovery list IDs whose creators are added. Each list's platform must match the subscription's platform.

remove_handlesArray of strings

Creator handles to remove from the subscription.

filtersobject

Replacement filter object, validated against the subscription's event_type.

curl -i -X PATCH \
  'https://api-dashboard.influencers.club/public/v1/social/listening/subscription/{subscription_id}/' \
  -H 'Authorization: Bearer <YOUR_API_KEY_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "string",
    "status": "active",
    "notify_endpoints": [
      {
        "id": 0,
        "destination": "string",
        "notify_type": "api"
      }
    ],
    "add_handles": [
      "string"
    ],
    "list_ids": [
      0
    ],
    "remove_handles": [
      "string"
    ],
    "filters": {
      "property1": null,
      "property2": null
    }
  }'

Responses

Bodyapplication/json
idintegerrequired
namestring
subscription_typestringrequired
platformstringrequired

The creator's social media platform.

event_typestringrequired
statusstringrequired
paused_reasonstring
filtersobject or null
intervalstring

Polling interval for this subscription's event type.

notify_endpointsArray of objects(NotifyEndpoint)required

Endpoints the subscription's events are delivered to.

source_listsArray of objects(SourceList)required

Discovery lists feeding creators into the subscription.

sample_creatorsstring

Up to 3 creators (handle + avatar) attached to the subscription.

creator_countstring

Total number of creators attached to the subscription.

delivery_healthstring

Delivery counters (total, successful, and failed deliveries).

last_event_atstring

Timestamp of the most recent event for this subscription.

credits_spentstring, (decimal)required

Lifetime listening credits attributed to this subscription, accrued daily as 0.3 × its active creators (gross per-subscription). May exceed the deduplicated amount actually charged to the billing scope when creators are shared across subscriptions.

created_atstring, (date-time)required
updated_atstring, (date-time)required
Response
{ "id": 0, "name": "string", "subscription_type": "string", "platform": "string", "event_type": "string", "status": "string", "paused_reason": "string", "filters": { "property1": null, "property2": null }, "interval": "string", "notify_endpoints": [ { … } ], "source_lists": [ { … } ], "sample_creators": "string", "creator_count": "string", "delivery_health": "string", "last_event_at": "string", "credits_spent": "string", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }