Skip to main content

List all webhook content types

GET 

/v2/config/webhooks/payload/content-types

This endpoint lists the payload content types that a webhook can use. Use one of these values in the contentType field when you create or update a webhook. The server posts the payload as a JSON body for application/json. For application/x-www-form-urlencoded, the server makes a string of the payload and posts it as a form under the payload key. Note the capital C in the ContentTypes response field. The order of the values changes between calls.

Responses

OK

Response Headers
    Schema
      ContentTypes string[]required

      Possible values: [application/json, application/x-www-form-urlencoded]

      The payload content types that a webhook can use.

    Loading...