Skip to main content
Get Event Subscription
curl --request GET \
  --url https://api.yapily.com/notifications/event-subscriptions/{eventTypeId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "meta": {
    "tracingId": "<string>"
  },
  "data": {
    "eventTypeId": "payment.status.completed",
    "applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
    "created": "28-07-2021 15:47:03",
    "notification": {
      "type": "WEBHOOK",
      "url": "https://httpbin.com/new_endpoint"
    }
  },
  "links": {},
  "forwardedData": [
    {
      "headers": {},
      "url": "<string>"
    }
  ],
  "raw": [
    {
      "request": {
        "method": "<string>",
        "url": "<string>",
        "requestInstant": "2023-11-07T05:31:56Z",
        "headers": {},
        "body": {},
        "bodyParameters": {},
        "startTime": "2023-11-07T05:31:56Z",
        "startedAt": "2023-11-07T05:31:56Z"
      },
      "duration": "<string>",
      "headers": {},
      "resultCode": 123,
      "result": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.

Headers

sub-application
string<uuid>

The sub-application ID to which event type is being subscribed to

Path Parameters

eventTypeId
string
required

Unique identifier of the event type (for which notifications will be sent). Valid event type Id

Response

Event subscription data found

meta
object
data
Response on successful creation of event subscription · object
forwardedData
object[]
raw
object[]
deprecated