Create a Custom Action

Create a Custom Action belonging to A Team

Authentification

AuthorizationBearer

Authentification bearer de la forme Bearer <token>, où token est votre jeton d’authentification.

Paramètres de chemin

team_idstringRequisformat: "uuid"

Requête

Action to create or update
descriptionstringRequis
Description of the custom Action
eventstringRequis
Arbitrary event name to include in custom Action webhook payloads
namestringRequis
Name of the custom Action
urlstringRequis
HTTPS endpoint to deliver Action events to
allow_collaboratorsbooleanOptionnelPar défaut false
includestringOptionnel
Any associations to include in the response

Réponse

Action success response
activeboolean
allow_collaboratorsboolean
creator_idstringformat: "uuid"
deleted_atstringformat: "date-time"
descriptionstring
eventstring
idstringformat: "uuid"
imagestring
inserted_atstringformat: "date-time"
namestring
teamobject
team_idstringformat: "uuid"
updated_atstringformat: "date-time"
upload_urlstring
urlstring
webhookobject

Erreurs

401
Unauthorized Error
404
Not Found Error