Preview. This site is still being built. Features, prices and terms may change, and nothing here is a binding offer. Read the preview notice

Preview. Still being built; nothing here is a binding offer. Details

Forms: browser forms

7 routes. Paths are relative to https://api.intersink.com/v1.

All groups

The channel's browser form definitions (channel managers)

GET/forms/channels/{channelId}/definitions

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path

Response

200. data is object[].

One browser form definition (channel managers)

GET/forms/channels/{channelId}/definitions/{formKey}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
formKeyrequiredstring, path

Response

200. The payload in data is of type object.

Create or replace a browser form definition (channel managers)

PUT/forms/channels/{channelId}/definitions/{formKey}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
formKeyrequiredstring, path

Request body application/json

Schema: object.

Response

200. The payload in data is of type object.

Remove a browser form definition; what it already filed stays (channel managers)

DELETE/forms/channels/{channelId}/definitions/{formKey}

Needs a signed-in user (Bearer token or access_token cookie).

Parameters

NameTypeDescription
channelIdrequiredstring, path
formKeyrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

A browser form's public definition: fields, consent wording and version, success message, the Turnstile site key and CV limits (Public, app key)

GET/public/forms/{formKey}

Public: no sign-in needed.

Parameters

NameTypeDescription
X-App-Keystring, headerThe channel's publishable app key (kk_app_live_…). Never a server key.
formKeyrequiredstring, path

Response

200. The payload in data is not described in the spec yet.

Application forms: a 10-minute signed URL to PUT the CV to (PDF or .docx, type and size signed) and the cv_token to send as the file field's value (Public, app key)

POST/public/forms/{formKey}/cv-upload

Public: no sign-in needed.

Parameters

NameTypeDescription
X-App-Keystring, headerThe channel's publishable app key (kk_app_live_…). Never a server key.
formKeyrequiredstring, path

Request body application/json

FieldTypeDescription
job_idnumberApplication forms without a fixed job: the job applied for (submit must name the same one) Minimum 1.
filenamerequiredstringThe file's name as picked; its extension must fit content_type At least 1 characters, at most 200 characters.
content_typerequiredstringOne of: "application/pdf", "application/vnd.openxmlformats-officedocument.wordprocessingml.document".
sizerequirednumberExact size in bytes (1 to 5242880) Minimum 1, maximum 5242880.

Response

201. The payload in data is not described in the spec yet.

Send a browser form straight from the page: Turnstile, origin, honeypot, field schema and consent are checked, then it files a CRM lead or a job application. Same answer whether or not the address is known (Public, app key)

POST/public/forms/{formKey}/submit

Public: no sign-in needed.

Parameters

NameTypeDescription
X-App-Keystring, headerThe channel's publishable app key (kk_app_live_…). Never a server key.
formKeyrequiredstring, path

Request body application/json

FieldTypeDescription
fieldsobjectThe answers, keyed by the form's field keys (see GET /public/forms/:formKey)
consentbooleanThe visitor ticked the consent box shown with the form's consent.text
consent_versionstringconsent.version the page showed; a stale one is refused with 409 FORM_CHANGED At most 32 characters.
captcha_tokenstringCloudflare Turnstile token from the widget on the page (single use) At most 2048 characters.
websitestringHoneypot: render it hidden and leave it empty At most 500 characters.
job_idnumberApplication forms without a fixed job: the job applied for Minimum 1.
page_urlstringPage the form was sent from At most 500 characters.
utm_sourcestringAt most 200 characters.
utm_mediumstringAt most 200 characters.
utm_campaignstringAt most 200 characters.
utm_termstringAt most 200 characters.
utm_contentstringAt most 200 characters.

Response

202. The payload in data is not described in the spec yet.