Criar uma ação personalizada

Criar uma ação personalizada pertencente a uma equipe

Autenticação

AuthorizationBearer

Autenticação bearer na forma Bearer <token>, onde token é seu token de autenticação.

Parâmetros de caminho

team_idstringObrigatórioformat: "uuid"

Solicitação

Action to create or update
descriptionstringObrigatório
Description of the custom Action
eventstringObrigatório
Arbitrary event name to include in custom Action webhook payloads
namestringObrigatório
Name of the custom Action
urlstringObrigatório
HTTPS endpoint to deliver Action events to
allow_collaboratorsbooleanOpcionalPadrão é false
includestringOpcional
Any associations to include in the response

Resposta

Action success response
activebooleanOpcional
allow_collaboratorsbooleanOpcional
creator_idstringOpcionalformat: "uuid"
deleted_atstringOpcionalformat: "date-time"
descriptionstringOpcional
eventstringOpcional
idstringOpcionalformat: "uuid"
imagestringOpcional
inserted_atstringOpcionalformat: "date-time"
namestringOpcional
teamobjectOpcional
team_idstringOpcionalformat: "uuid"
updated_atstringOpcionalformat: "date-time"
upload_urlstringOpcional
urlstringOpcional
webhookobjectOpcional

Erros

401
Unauthorized Error
404
Not Found Error