Skip to main content
GET
/
public_api
/
webhook
/
{id}
cURL
curl --request GET \
  --url https://api.cakto.com.br/public_api/webhook/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "id": 2863878,
  "status": "active",
  "name": "Venda Aprovada <Produto 1>",
  "url": "https://destination-url-example.com.br/webhook-endpoint",
  "products": [
    {
      "id": "cd287b31-d4b7-4e94-858a-96e05ce2f4r4",
      "name": "Produto 1",
      "image": "https://image-url-example.com.br",
      "description": "Produto 1",
      "price": 5,
      "type": "unique",
      "contentDeliveries": [
        "cakto",
        "telegram",
        "discord"
      ],
      "emailAccessLink": null,
      "salesPage": "https://pv.example.com.br/product/",
      "status": "active",
      "paymentMethods": [
        "boleto",
        "credit_card",
        "picpay"
      ],
      "category": {
        "id": "0673d296-1802-45e0-bc93-612f7514dddb",
        "name": "Apps & Software"
      }
    }
  ],
  "events": [
    {
      "id": 3,
      "name": "Compra aprovada",
      "custom_id": "purchase_approved"
    }
  ],
  "fields": {
    "secret": "8a67e42d-08b9-4987-9f40-0fe7bfd15a5a"
  },
  "createdAt": "2050-11-07T09:11:58.377388-03:00",
  "updatedAt": "2050-11-07T09:11:58.377406-03:00"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cakto.com.br/llms.txt

Use this file to discover all available pages before exploring further.

Escopo

    read webhooks

Authorizations

Authorization
string
header
required

Token de autenticação do tipo Bearer {access_token}, onde {access_token} é o token obtido no fluxo de autenticação.

Path Parameters

id
integer
required

Id do App Webhook

Response

Corpo da resposta status 200

id
integer
required
read-only
name
string
required

Nome do app

Maximum string length: 255
products
object[]
required
read-only

Produtos que utilizam este app

events
object[]
required
read-only

Eventos que disparam este app

createdAt
string<date-time>
required
read-only

Data e hora de criação

updatedAt
string<date-time>
required
read-only

Data e hora da última atualização

status
enum<string>

Status atual do app

  • active - Ativo
  • disabled - Desativado
  • waiting_config - Aguardando Configuração
Available options:
active,
disabled,
waiting_config
url
string<uri> | null

URL de destino, onde os eventos serão enviados

Maximum string length: 2048
fields
any

Campos adicionais para o app