Skip to content

Igual a `POST /api/workflow-hooks`, com o token no caminho

POST/api/workflow-hooks/{token}

Auth
Requires a token
API key:
No API key accepted
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.

Mesmas regras de `POST /api/workflow-hooks`. Prefira o cabeçalho `X-Memberfy-Hook-Token`: o caminho aparece nos logs do roteador.

Parameters

NameInTypeDescription
tokenrequiredpathstring

Request body application/json

The specification does not declare the fields of this body (a multipart upload, for example). See the topic guide.

Responses

StatusDescription
202Aceito.
401Assinatura inválida.
404Token desconhecido.

curl example

curl -X POST "https://api.memberfy.net/api/workflow-hooks/<token>" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'