POST /v1/flows/{id}/webhook-token
POST
/v1/flows/{id}/webhook-token
const url = 'https://seu-endereco-da-api/v1/flows/example/webhook-token';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://seu-endereco-da-api/v1/flows/example/webhook-token \ --header 'Authorization: Bearer <token>'Permissão que a Chave de acesso precisa: Gerenciar fluxos (flows:manage).
Authorizations
Seção intitulada “Authorizations”Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”id
required
string
Responses
Seção intitulada “Responses”Media typeapplication/json
object
token
required
Shown once, never again
string
path
required
Public path to append to the API base url
string
Example generated
{ "token": "example", "path": "example"}