subscribeWebhook

subscribeWebhook

POST

subscribeWebhook

Use this API to subscribe to a webhook notification. You'll need a separate subscription for each webhook notification you wish to receive.

Once you subscribe to a webhook event/notification, please allow 1-2 business days to start receiving the notifications on the endpoint you setup.

Resource URL

https://api.stubhub.com/partners /webhooks/v3

Header Parameters


Name Values Description
Authorization
(required)

To generate an access token, use the [generateToken API](https://developer.stubhub.com/oauth/apis/post/accesstoken). Note that you will need to add a 'Bearer ' prefix to your access token. Otherwise, you'll get an 'Invalid Access Token' error. You can either use the token associated with your StubHub.com account, or if you are servicing StubHub sellers on your platform, use the token associated with one of the sellers.

Accept
(required)

application/json

Content-Type
(required)

application/json

Body Parameters


Name Values Description
body
(required)

Request Body

Webhook subscription request body

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400

    Bad Request

  • 401

    Not Authorized

Resource Summary

Security

Content Type

application/json

Working...