Skip to main content
The Update Link endpoint replaces the editable fields of an existing link. It uses full-record semantics: fields omitted from the body are cleared, not preserved. If you want to keep existing values, include them explicitly in the request. Audit fields (createdAt, the original creator) and the link’s active state are preserved across updates. To flip active, use Activate or Deactivate instead. The parent form cannot be changed — the formID in the URL must match the link’s stored parent.

Endpoint

Authentication

string
required
Bearer token using your API key. Format: Bearer cs_live_your_key

Path parameters

string
required
The parent form’s unique identifier.
The link’s unique identifier.

Request body

The request body is identical to Create Linkname, destinationType, overlayPath, and the full prefill object are all supported. The same validation rules apply. When destinationType changes between HOSTED_PAGE_* and OVERLAY_*, overlayPath becomes required (for overlay) or is cleared (for hosted-page). The destinationType must remain compatible with the form’s type — you cannot change a HOSTED_PAGE_DONATE link to HOSTED_PAGE_ATTEND on a non-EVENT form.

Response

Same shape as Get Link. Returns the updated state.

Status codes

Example

cURL
200 response