import { Crevio } from "@crevio/sdk";
const crevio = new Crevio({
apiKey: process.env["CREVIO_API_KEY"] ?? "",
});
async function run() {
const result = await crevio.formSubmissions.get({
id: "<id>",
});
console.log(result);
}
run();{
"id": "<string>",
"object": "<string>",
"answers": [
{
"field_type": "<string>",
"label": "<string>",
"required": true,
"value": "<string>",
"options": [
"<string>"
]
}
],
"respondent_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"respondent_id": "<string>",
"form_id": "<string>"
}Returns a specific form submission
import { Crevio } from "@crevio/sdk";
const crevio = new Crevio({
apiKey: process.env["CREVIO_API_KEY"] ?? "",
});
async function run() {
const result = await crevio.formSubmissions.get({
id: "<id>",
});
console.log(result);
}
run();{
"id": "<string>",
"object": "<string>",
"answers": [
{
"field_type": "<string>",
"label": "<string>",
"required": true,
"value": "<string>",
"options": [
"<string>"
]
}
],
"respondent_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"respondent_id": "<string>",
"form_id": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.crevio.co/llms.txt
Use this file to discover all available pages before exploring further.
API key in the format: Bearer {api_token}
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Was this page helpful?