Get the form client embed script
GET
/api/{referralpartner}/{form}.js
Generates a JavaScript file that can be embedded in a webpage to load the form client. Includes configuration for public URL, referrer information, and optional form name and referral code. Implements caching with ETag support and includes necessary CORS headers.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” referralpartner
required
string
form
required
string
Query Parameters
Section titled “Query Parameters ” referralCode
string
Header Parameters
Section titled “Header Parameters ” If-None-Match
string
Responses
Section titled “ Responses ”OK
Not Modified
Internal Server Error
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties