Webhook logs

Get webhook callback logs

GET /webhook_callback_logs?client_id=<client_id>&client_secret=<client_secret>

If you want to query by specific subscriptions or entities then specify query string parameter entity_key=<subscribed_to_entity_key> or webhook_key=<your_webhook_key>

Response:

{
    "status": {
        "status_code": 200
    },
    "data": {
        "webhook_callback_logs": [
            {
                "entity_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chULEghEb2N1bWVudBiAgICAgMDvCww",
                "log": "Successful call to url http://api.127.0.0.1.xip.io:8080/v0/test_callback. Received 200 response",
                "date_updated": 1401652689892,
                "subscriber_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chgLEgtBcHBsaWNhdGlvbhiAgICAgICgCAw",
                "callback_event": "document_status_changed",
                "subscription_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chkLEgxTdWJzY3JpcHRpb24YgICAgIDI0woM",
                "key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2ciQLEhdTdWJzY3JpcHRpb25DYWxsYmFja0xvZxiAgICAgMirCgw",
                "date_created": 1401652689892
            },
            {
                "entity_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chULEghEb2N1bWVudBiAgICAgMDvCww",
                "log": "Calling callback url http://api.127.0.0.1.xip.io:8080/v0/test_callback.",
                "date_updated": 1401652689860,
                "subscriber_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chgLEgtBcHBsaWNhdGlvbhiAgICAgICgCAw",
                "callback_event": "document_status_changed",
                "webhook_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chkLEgxTdWJzY3JpcHRpb24YgICAgIDI0woM",
                "key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2ciQLEhdTdWJzY3JpcHRpb25DYWxsYmFja0xvZxiAgICAgMirCAw",
                "date_created": 1401652689860
            },
            {
                "entity_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chULEghEb2N1bWVudBiAgICAgMDvCww",
                "log": "Successful call to url http://api.127.0.0.1.xip.io:8080/v0/test_callback. Received 200 response",
                "date_updated": 1401652689830,
                "subscriber_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chgLEgtBcHBsaWNhdGlvbhiAgICAgICgCAw",
                "callback_event": "document_status_changed",
                "webhook_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chkLEgxTdWJzY3JpcHRpb24YgICAgIDI0wkM",
                "key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2ciQLEhdTdWJzY3JpcHRpb25DYWxsYmFja0xvZxiAgICAgMjLCww",
                "date_created": 1401652689830
            },
            {
                "entity_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chULEghEb2N1bWVudBiAgICAgMDvCww",
                "log": "Calling callback url http://api.127.0.0.1.xip.io:8080/v0/test_callback.",
                "date_updated": 1401652689798,
                "subscriber_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chgLEgtBcHBsaWNhdGlvbhiAgICAgICgCAw",
                "callback_event": "document_status_changed",
                "webhook_key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2chkLEgxTdWJzY3JpcHRpb24YgICAgIDI0wkM",
                "key": "ahNkZXZ-cXVpY2tseXNpZ24tZGV2ciQLEhdTdWJzY3JpcHRpb25DYWxsYmFja0xvZxiAgICAgMjLCQw",
                "date_created": 1401652689798
            }
        ]
    }
}