GET
/
v1
/
forms
/
fetchByIds
cURL
curl --request GET \
  --url https://platform.thena.ai/v1/forms/fetchByIds \
  --header 'x-api-key: <api-key>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "fields": [
        {
          "field": "<string>",
          "defaultValue": {},
          "mandatoryOnCreation": true,
          "mandatoryOnClose": true,
          "visibleToCustomer": true,
          "editableByCustomer": true
        }
      ],
      "conditions": [
        {
          "triggerFieldId": "<string>",
          "triggerFieldValue": {},
          "conditionType": "<string>",
          "targetFields": [
            {
              "id": "<string>",
              "type": "<string>",
              "value": {},
              "options": [
                {}
              ]
            }
          ],
          "forVendor": true,
          "forUser": true,
          "teamId": "<string>"
        }
      ],
      "version": 123,
      "isActive": true,
      "default": true,
      "channels": [
        "<string>"
      ],
      "order": 123
    }
  ],
  "status": true,
  "message": "<string>",
  "timestamp": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Enter your API key

Query Parameters

ids
string[]
required

Array of form IDs to fetch. Pass multiple form IDs to retrieve specific forms. All IDs must exist and be accessible to the user, otherwise the request will fail.

Example:
["FO123456789012", "FO123456789013"]

Response

Operation successful

data
object[]
required
status
boolean
required
message
string
required
timestamp
string<date-time>
required