Embed

Start an embed session for a form on your website (valid 2 hours)

From the browser: { site_key } — the Origin header must be one of the key's sites. From your server: your secret key + { origin, customer_ref?, form_id? }. Send the returned token as X-PDFPhile-Embed; it opens the filler only. The SDK (/embed.js) does this for you.

post/api/v1/embed/session

Request

  • Base URL: https://philforms.com
  • URL: https://philforms.com/api/v1/embed/session
  • Auth: one of:
    • none
    • HTTP bearer

Request body

site_keystring
originstring
customer_refstring
form_idstring

Response

{ token, origin, expires_at }

Changes

No recorded changes to this operation across all 1 revision of this API.