Crea un’azione personalizzata

Crea un’azione personalizzata di un team

Autenticazione

AuthorizationBearer

Autenticazione bearer nella forma Bearer <token>, dove token è il tuo token di autenticazione.

Parametri di percorso

team_idstringObbligatorioformat: "uuid"

Richiesta

Action to create or update
descriptionstringObbligatorio
Description of the custom Action
eventstringObbligatorio
Arbitrary event name to include in custom Action webhook payloads
namestringObbligatorio
Name of the custom Action
urlstringObbligatorio
HTTPS endpoint to deliver Action events to
allow_collaboratorsbooleanOpzionalePredefinito a false
includestringOpzionale
Any associations to include in the response

Risposta

Action success response
activebooleanOpzionale
allow_collaboratorsbooleanOpzionale
creator_idstringOpzionaleformat: "uuid"
deleted_atstringOpzionaleformat: "date-time"
descriptionstringOpzionale
eventstringOpzionale
idstringOpzionaleformat: "uuid"
imagestringOpzionale
inserted_atstringOpzionaleformat: "date-time"
namestringOpzionale
teamobjectOpzionale
team_idstringOpzionaleformat: "uuid"
updated_atstringOpzionaleformat: "date-time"
upload_urlstringOpzionale
urlstringOpzionale
webhookobjectOpzionale

Errori

401
Unauthorized Error
404
Not Found Error