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
| Name | In | Type | Description |
|---|---|---|---|
tokenrequired | path | string |
Request body application/json
The specification does not declare the fields of this body (a multipart upload, for example). See the topic guide.
Responses
| Status | Description |
|---|---|
202 | Aceito. |
401 | Assinatura inválida. |
404 | Token desconhecido. |
curl example
curl -X POST "https://api.memberfy.net/api/workflow-hooks/<token>" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{}'