Skip to Content
SendlySendly
API ReferenceWorkflows

Count a workflow run as converted when the contact records eventType within windowDays (1 to 365) of entering

POST
/api/workflows/{id}/conversion-goals

Count a workflow run as converted when the contact records eventType within windowDays (1 to 365) of entering.

Requires the workflows:write scope — Create, edit, enable, and delete your automation workflows.

headerAuthorizationBearer <API Key>

API key authentication. Use a sk_* (FULL) or pk_* (SENDING_ONLY) key as the bearer token. Public keys (pk_*) are restricted to the email-send endpoints and the self-serve list subscribe/unsubscribe pair; every other endpoint — event tracking included — answers 403 for them. In scope terms (used by /api/v1/* operations): FULL keys hold every scope; SENDING_ONLY keys hold only emails:send.

id*string

Response Body

Created

application/json
  1. response
[key: string]?unknown
Example Request
curl -X POST 'https://api.sendly.now/api/workflows/string/conversion-goals'
Example Response
{  "property1": null,  "property2": null}