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!


Get a Callback

Retrieve the data for an existing Callback, based on its ID.

Definition

GET  /callbacks/:id

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/callbacks/:id \
  -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": "CBadbc09ad3d53492e8081c893efe33e5f",
    "type": "callbacks",
    "attributes": {
      "subscriptions": [
        "rule.created"
      ],
      "url": "https://www.example.com"
    },
    "relationships": {
      "property": {
        "links": {
          "related": "http://localhost:9010/callbacks/CBadbc09ad3d53492e8081c893efe33e5f/property"
        },
        "data": {
          "id": "PR3946c7b425fe4b5b82bfc6b9240d107d",
          "type": "properties"
        }
      }
    },
    "links": {
      "property": "http://localhost:9010/properties/PR3946c7b425fe4b5b82bfc6b9240d107d",
      "self": "http://localhost:9010/callbacks/CBadbc09ad3d53492e8081c893efe33e5f"
    }
  }
}