Pular para o conteúdo

List webhooks

Returns all webhook configurations registered for a sub-tenant.

GET/api/v1/webhooks

Get all sub-tenant webhooks

Lists webhook endpoints configured for the given subTenantId.

Auth: Bearer Token

Parâmetros de query

1 campo
subTenantId
querystring

Business identifier of the sub-tenant whose webhooks you want to list.

curl --request GET \
  --url 'https://embedded-payment-manager.hml.linaob.com.br/api/v1/webhooks?subTenantId=subTenant123' \
  --header 'Authorization: Bearer <SEU_TOKEN>'

Response

200Webhooks returned successfully.
Response body
object
  • dataarray of objectsrequired

    Webhook records.

    • itemobject
  • messagestring

    Response message.

  • typestring

    Envelope type.

  • statusCodenumber· nullable

    HTTP status in the envelope.

200 · Webhooks returned successfully.
{
  "data": [
    {
      "id": "webhook123",
      "subTenant": "subTenant123",
      "webhookUrl": "https://api.example.com/lina/webhook",
      "type": "PAYMENT"
    }
  ],
  "message": "",
  "type": "success",
  "statusCode": 200
}

Next steps