WARNING

WARNING: These APIs are currently in an 'alpha' state and are likely to change over time. We recommend you not use them in a production setting at this time!


List Callbacks for a Property

Retrieve the Callbacks registered on the specified Property.

Definition

GET  /properties/:property_id/callbacks

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/properties/:property_id/callbacks \
  -H "Accept: application/vnd.api+json;revision=1" \
  -H "Content-Type: application/vnd.api+json" \
  -H "Authorization: Bearer [TOKEN]" \
  -H "X-Api-Key: [KEY]" \
  -X GET
  

Example Response

200 OK
{
  "data": [
    {
      "id": "CBcae717daedb544e5a66429c503f8b1bb",
      "type": "callbacks",
      "attributes": {
        "subscriptions": [
          "rule.created"
        ],
        "url": "https://www.example.com"
      },
      "relationships": {
        "property": {
          "links": {
            "related": "http://localhost:9010/callbacks/CBcae717daedb544e5a66429c503f8b1bb/property"
          },
          "data": {
            "id": "PR362a01dc126d4c45adb0b797c9e0ba70",
            "type": "properties"
          }
        }
      },
      "links": {
        "property": "http://localhost:9010/properties/PR362a01dc126d4c45adb0b797c9e0ba70",
        "self": "http://localhost:9010/callbacks/CBcae717daedb544e5a66429c503f8b1bb"
      }
    }
  ],
  "meta": {
    "pagination": {
      "current_page": 1,
      "next_page": null,
      "prev_page": null,
      "total_pages": 1,
      "total_count": 1
    }
  }
}