Partner Webhooks

Get a List of Webhooks

GET
/v1/partners/webhooks

Authorization

bearerAuth
AuthorizationBearer <token>

Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/partners/webhooks"
{  "status": {    "code": 200,    "desc": "success"  },  "data": [    {      "eventType": "USER_CONNECTION_STATUS",      "isEnabled": true,      "url": "http://userloanconnection-abc.com",      "webhookId": "bedb3dc5-5471-4749-8938-09ffb02c8deb"    },    {      "webhookId": "5e92c9f3-d2ba-4a36-9133-a9c6df65615e",      "url": "https://webhook.site/272fe518-0a3e-4c68-98e4-31a6664e36aecdd",      "eventType": "USER_PAYMENT_STATUS",      "isEnabled": true,      "headers": [        {          "name": "Authorization",          "value": "c3BpbndoZWVsOkhUOX"        }      ]    }  ]}