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
Parameters
Path Parameters
referralpartner
required
string
form
required
string
Query Parameters
referralCode
string
Header Parameters
If-None-Match
string
Responses
200
OK
304
Not Modified
500
Internal Server Error
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties