Skip to content

Form links API

Send a form to a person's phone as a link, and see how far it got.

The same operations are in the interactive API reference, and the whole contract is in the OpenAPI document.

POST/v1/forms/{form_id}/links

Send a form to a person as a link

Makes a link bound to the person's phone and sends it by text or WhatsApp. A second link for the same instance_id replaces the first and keeps the answers. If the message cannot be sent the new link is cancelled and the earlier one stays. Needs forms:write.

Scope forms:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
form_idpathstringYesA published form.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.

POST/v1/form-links/{link_id}/revoke

Cancel a form link

Stops the link. Answers already saved stay with the submission. Needs form-links:write.

Scope form-links:write. Accepts: API key or personal access token. Open in the API reference

ParameterInTypeRequiredDescription
link_idpathstringYesThe link.
AirFone-VersionheaderstringNoThe API version to use, as a date. Defaults to the version the account was pinned to.