EaserixDocs
DevelopersAPI referenceFormsDestinations

Add a destination

type must be one of email/webhook/slack/sheets/zapier/crm — only email is delivered in v1. enabled defaults true. Owner-only — adding one to a shared form returns 403.

View as Markdown
POST
/v1/forms/{id}/destinations
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/forms/string/destinations" \  -H "Content-Type: application/json" \  -d '{    "type": "email"  }'
{  "destination": {    "id": "string",    "type": "string",    "config": {},    "enabled": true,    "created": "2019-08-24T14:15:22Z",    "updated": "2019-08-24T14:15:22Z"  }}