Skip to main content
GET
https://api.sandbox.wepayout.com.br
/
v2
/
register
/
companies
/
webhooks
Query
curl --request GET \
  --url https://api.sandbox.wepayout.com.br/v2/register/companies/webhooks \
  --header 'Authorization: Bearer <token>'
[
  {
    "event": "onboarding",
    "url": "https://my-url.requestcatcher.com/test"
  }
]

Query

This endpoint allows querying the registered webhook URLs. Filtering can only be done using the event field.
  • If the event parameter is provided, only the webhooks related to that event will be returned
  • If no filter is provided, all registered webhooks will be returned

Query Parameters

event
string
Get a list of webhooks for a specific event type. Currently, only the onboarding event is supported.Allowed values: onboarding

Response

Returns an array of webhook objects.
array
array
Array of webhook objects

Request Example

curl --request GET \
  --url 'https://api.sandbox.wepayout.com.br/v2/register/companies/webhooks' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer {token}'
[
  {
    "event": "onboarding",
    "url": "https://my-url.requestcatcher.com/test"
  }
]