Skip to main content
Use this endpoint when an external page needs to render a Plato form.
GET /api/public/forms/[slug]
This endpoint currently expects the API key in the query string.

Example

curl "https://api.plato.ae/api/public/forms/contact-us?apiKey=$PLATO_API_KEY"

Path Parameters

ParameterMeaning
slugForm slug.

Response

The response is the form record with fields ordered by their form order.
{
  "id": "form_123",
  "slug": "contact-us",
  "title": {
    "en": "Contact Us"
  },
  "fields": [
    {
      "id": "field_123",
      "ref": "email",
      "title": {
        "en": "Email"
      },
      "type": "EMAIL",
      "order": 1,
      "validations": {}
    }
  ]
}

Notes

  • The form must belong to the API key workspace.
  • Field refs are used when submitting answers.
  • Disabled forms can still be read, but cannot receive new responses.