Leat Docs
OAuth APIMiscellaneous

Forms

Forms are a simple yet powerful tool for collecting valuable information about your customers or employees. They allow you to systematically gather data, which

Forms

Forms are a simple yet powerful tool for collecting valuable information about your customers or employees. They allow you to systematically gather data, which can be easily transformed into meaningful business insights. Whether you're looking to understand customer spending habits or expand profiles, Forms offer the flexibility to tailor questions to your specific needs.


List Forms

Retrieve of all Forms linked to an Account. It's possible to filter both onstatusand type

GET

https://api.piggy.eu/api//forms

Headers

Authorization

Bearer {{ access_token | api_key }}

Accept

application/json

Params

status string

OPTIONAL

Status of Forms to be retrieved, possible values: PUBLISHED, DRAFT, BIN.

type string

OPTIONAL

Type of Forms to be retrieved, possible values: PUBLIC, PRIVATE.

Response Example

{
    "data": [
        {
            "uuid": "a4fb2960-ef15-43da-96e0-18aa83861ace",
            "name": "mikes",
            "status": "PUBLISHED",
            "type": "PUBLIC",
            "url": "http://piggy.eu/forms/a4fb2960-ef15-43da-96e0-18aa83861ace"
        }
    ],
    "meta": []
}

Code

Message

1003

Invalid input.

On this page