Pular para o conteúdo principal
GET
/
v1
/
webhooks
Listar Assinaturas de Webhook
curl --request GET \
  --url https://conta-public-api.kiwify.com/v1/webhooks \
  --header 'X-PoP-Challenge: <api-key>' \
  --header 'X-PoP-Format: <api-key>' \
  --header 'X-PoP-Signature: <api-key>' \
  --header 'x-access-id: <api-key>'
{
  "webhooks": [
    {
      "id": "6225875037061120",
      "subscriptions": [
        "CASHIN.PIX.QRCODES"
      ],
      "url": "https://empresa.com/empresa_webhook"
    }
  ]
}

Autorizações

x-access-id
string
header
obrigatório

UUID of the service account (e.g., 550e8400-e29b-41d4-a716-446655440000)

X-PoP-Challenge
string
header
obrigatório

Unix timestamp in milliseconds (e.g., 1704636800000). Must be within 5 minutes of server time.

X-PoP-Format
string
header
obrigatório

Must be 'service-account' for service account authentication

X-PoP-Signature
string
header
obrigatório

EdDSA signature of the request in base64 format. Signs: uri:method:body:timestamp

Resposta

List of webhook subscriptions

Response containing the list of webhook subscriptions.

webhooks
object[]
obrigatório

List of webhook subscriptions for the authenticated account.