For the complete documentation index, see llms.txt. This page is also available as Markdown.

Forms

Retrieve an overview list of all form cases from your website

get
Authorizations
x-api-keystringRequired

Your Siteglide API key

x-site-idstringRequired

The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)

Path parameters
formstringRequired

The form ID which the cases are linked to.

Example: 1
Query parameters
per_pageintegerOptional

Number of items to retrieve, maximum of 500

Example: 20
sort_typestringOptional

Field by which to sort the results. Use id, created_at, or updated_at for system fields, or a custom field ID (e.g. form_field_1_1).

Example: created_at
sort_orderstring · enumOptional

Order of results

Default: descPossible values:
pageintegerOptional

Page to retrieve number, to be used with per_page

Example: 1
Responses
200

OK

No content

get/forms/{form}/cases
GET /api/site/v2/forms/{form}/cases HTTP/1.1
Host: www.my-site.com
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Accept: */*

No content

Retrieve all data about an individual form case

get
Authorizations
x-api-keystringRequired

Your Siteglide API key

x-site-idstringRequired

The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)

Path parameters
formstringRequired

The ID of your form

Example: 1
idstringRequired

The ID of the case

Example: 1234
Responses
200

OK

No content

get/forms/{form}/cases/{id}
GET /api/site/v2/forms/{form}/cases/{id} HTTP/1.1
Host: www.my-site.com
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Accept: */*

No content

Create a case against a specific user

post
Authorizations
x-api-keystringRequired

Your Siteglide API key

x-site-idstringRequired

The ID of the Siteglide site you are working with (not an API key — just the numeric site ID)

Path parameters
formstringRequired

The ID of your form

Example: 1
Body
userIDstringRequired
Responses
200

OK

No content

post/forms/{form}/cases/create
POST /api/site/v2/forms/{form}/cases/create HTTP/1.1
Host: www.my-site.com
x-api-key: YOUR_API_KEY
x-site-id: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "userID": "text"
}

No content

Last updated