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"
}
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"
}
Enter your API key
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.
["FO123456789012", "FO123456789013"]
Operation successful
The response is of type object
.