Avid PubSuite Partner API
  1. Webhooks
Avid PubSuite Partner API
  • Default module
    • Pubsuite API Introduction
    • Getting Started
      • Authentication
      • Response Format
      • Error Codes
      • Usage Limits
    • Endpoints
      • Endpoints / Resources Introduction
      • Global Pubsuite Reference Libaries
      • Workspace Org
        • Workspace Organisation
      • Workspace Organisation Users
        • List Users
        • User Details
        • Upsert User
        • Delete User
      • Advertiser Accounts
        • Advertiser Accounts List
        • Account Detail
        • Account Delete
        • Account Create
        • Account Update
      • Advertiser Account Members
        • Advertiser Account Members
        • Adv Account Member Detail
        • Account Delete
        • Advertiser Account Member Create
        • Account Update
      • Campaigns
        • Campaign Body Parameters
        • Campaigns
        • Campaign
        • Delete Campaign
        • Campaign Details
        • Update Campaign
      • Phases
        • Phase Body Parameters
        • Phases List
        • Phase
        • Phase Detail
        • Delete Phase
        • Phase Update
      • Content
        • Content Body Parameters
        • Contents
        • Content Detail
        • Create Content
        • Delete Content
        • Update Content
      • Distributions
        • Distribution Body Parameters
        • Distributions List
        • Create Distributions
        • Delete Distribution
        • Distribution Details
        • Distribution Update
      • Publisher Profiles
        • Coming Soon
        • Publisher Profiles
        • Publisher Profile
        • Delete Publisher Profile
      • Publisher Products
        • Coming Soon
      • Data Sources
        • Coming Soon
      • Webhooks
        • Services
          GET
        • Create/Update Service
          POST
        • Registered Webhooks
          GET
        • Create Webhook
          POST
        • Update Webhook
          PUT
        • Delete Webhook
          DELETE
    • Outbound Events
      • Outbound Events
  • Commercial - Avid Webhook - Order Events
    • post_campaign_status
      • Receive Avid campaign (Adpoint Order) status updated event
    • post_content_status
      • Receive content status (Adpoint Ad Group) updated event updated event
    • Schemas
      • post_campaign_status_request
      • post_content_status_request
      • 200_post_campaign_status_response
      • 200_post_content_status_response
      • error_response
      • error
  1. Webhooks

Update Webhook

Testing
PUT
https://api.avidpubsuite.com/v2/webhooks/{webhook_id}

Request

Authorization
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
Path Params

Header Params

Body Params application/json

Example
{
    "name": "Testing Subscriptions",
    "service_id": 1,
    "events": [
        "campaign_created",
        "campaign_updated",
        "campaign_media_added",
        "content_created",
        "content_updated",
        "distribution_created",
        "distribution_updated"
    ],
    "url": "http://webhook-site.test/p/avid-dniGby",
    "token": "asadasdasd"
}

Responses

🟢200Success
application/json
Body

Example
{
    "success": true,
    "message": "string",
    "data": {
        "webhook": {
            "id": 0,
            "name": "string",
            "events": [
                "string"
            ],
            "url": "string",
            "created_at": "string",
            "updated_at": "string"
        }
    }
}
🟠401Unauthorized
🟠404Resource Not Found
🟠422Unprocessable Entity
🔴500Internal Server Error
Previous
Create Webhook
Next
Delete Webhook