Personyze Personyze developer docs
Open Personyze
Analytics

REST Forms object

Submissions to forms rendered by Personyze actions.

Personyze developer documentation Questions: support@personyze.com

For information about how REST API works, see rest main page.

Read-only log of submissions to forms rendered by Personyze actions — lead capture, newsletter signups, surveys. Use it to pull leads into your CRM.

The endpoint URL is:

app.personyze.com/rest/forms

GET only.

Columns

Column Description
user_id The user who submitted the form.
time When it was submitted, Unix timestamp.
action_id The Personyze action containing the form.
session_start_time Start of the session the submission belongs to.

Beyond these, each form field the visitor filled in is returned as its own column, named after the field. Because different forms have different fields, a request without columns returns whatever that submission actually carried. Read all columns first to discover the shape of your data.

Select example

Recent submissions:

curl 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/forms/order_by_desc/time/limit/100'

Submissions to one form:

curl 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/forms/where/action_id=88/order_by_desc/time'

Everything one user ever submitted:

curl 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/forms/where/user_id=123'

Polling for new submissions

To sync leads continuously, remember the highest time you have already imported and ask for everything newer:

curl 'https://api:FD09908F25BECB09D78EBEA1DADFB618651F612D@app.personyze.com/rest/forms/where/time>1769904000/order_by/time/limit/1000'