Skip to main content
PUT
/
forms
/
{id}
/
html
Save form HTML
curl --request PUT \
  --url https://api.spike.ac/forms/{id}/html \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "html": "<string>"
}
'
{
  "success": true,
  "html_url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://doc.spike.ac/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authentication using either a Supabase JWT token or an API key (prefixed with sk_). Both token types are passed as Bearer tokens in the Authorization header.

Path Parameters

id
string
required

Form ID

Body

application/json
html
string
required

HTML content for the form page

Minimum string length: 1

Response

HTML saved successfully

success
boolean
required
html_url
string | null
required