Pular para o conteúdo

List webhooks for an app​

GET
/v1/apps/{app_id}/webhooks

Lists every webhook endpoint configured for the App. The signing secret is not returned by this route.

Autorizações​

SessionAuth

Admin session cookie set by POST /v1/auth/login. Dashboard-only management.

Tipo
API Key (cookie: notti_session)
ou
RESTKeyAuth

App REST key (rk_...). Server-to-server calls.

Tipo
HTTP (bearer)

Parâmetros​

Parâmetros de Caminho

app_id*

App ID

Tipo
string
Obrigatório

Respostas​

OK

application/json
JSON
[
  
{
  
  
"app_id": "string",
  
  
"created_at": "string",
  
  
"id": "string",
  
  
"url": "string"
  
}
]

Playground​

Autorização
Variáveis
Chave
Valor

Exemplos​


Create a webhook​

POST
/v1/apps/{app_id}/webhooks

Registers a webhook endpoint URL for the App and returns its signing secret exactly once.

Autorizações​

SessionAuth

Admin session cookie set by POST /v1/auth/login. Dashboard-only management.

Tipo
API Key (cookie: notti_session)
ou
RESTKeyAuth

App REST key (rk_...). Server-to-server calls.

Tipo
HTTP (bearer)

Parâmetros​

Parâmetros de Caminho

app_id*

App ID

Tipo
string
Obrigatório

Corpo da Requisição​

application/json
JSON
{
  
"url": "string"
}

Respostas​

Created

application/json
JSON
{
  
"app_id": "string",
  
"created_at": "string",
  
"id": "string",
  
"secret": "string",
  
"url": "string"
}

Playground​

Autorização
Variáveis
Chave
Valor
Corpo

Exemplos​


Get a webhook​

GET
/v1/apps/{app_id}/webhooks/{id}

Fetches a single webhook config by ID, scoped to the App. The signing secret is not returned by this route.

Autorizações​

SessionAuth

Admin session cookie set by POST /v1/auth/login. Dashboard-only management.

Tipo
API Key (cookie: notti_session)
ou
RESTKeyAuth

App REST key (rk_...). Server-to-server calls.

Tipo
HTTP (bearer)

Parâmetros​

Parâmetros de Caminho

app_id*

App ID

Tipo
string
Obrigatório
id*

Webhook ID

Tipo
string
Obrigatório

Respostas​

OK

application/json
JSON
{
  
"app_id": "string",
  
"created_at": "string",
  
"id": "string",
  
"url": "string"
}

Playground​

Autorização
Variáveis
Chave
Valor

Exemplos​


Delete a webhook​

DELETE
/v1/apps/{app_id}/webhooks/{id}

Deletes a webhook config by ID, scoped to the App.

Autorizações​

SessionAuth

Admin session cookie set by POST /v1/auth/login. Dashboard-only management.

Tipo
API Key (cookie: notti_session)
ou
RESTKeyAuth

App REST key (rk_...). Server-to-server calls.

Tipo
HTTP (bearer)

Parâmetros​

Parâmetros de Caminho

app_id*

App ID

Tipo
string
Obrigatório
id*

Webhook ID

Tipo
string
Obrigatório

Respostas​

No Content

Playground​

Autorização
Variáveis
Chave
Valor

Exemplos​


Update a webhook​

PATCH
/v1/apps/{app_id}/webhooks/{id}

Updates a webhook's target URL.

Autorizações​

SessionAuth

Admin session cookie set by POST /v1/auth/login. Dashboard-only management.

Tipo
API Key (cookie: notti_session)
ou
RESTKeyAuth

App REST key (rk_...). Server-to-server calls.

Tipo
HTTP (bearer)

Parâmetros​

Parâmetros de Caminho

app_id*

App ID

Tipo
string
Obrigatório
id*

Webhook ID

Tipo
string
Obrigatório

Corpo da Requisição​

application/json
JSON
{
  
"url": "string"
}

Respostas​

OK

application/json
JSON
{
  
"app_id": "string",
  
"created_at": "string",
  
"id": "string",
  
"url": "string"
}

Playground​

Autorização
Variáveis
Chave
Valor
Corpo

Exemplos​


Desenvolvido por VitePress OpenAPI