curl --request PATCH \
--url https://api.perscom.io/{version}/forms/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resources": {
"{key}": {
"name": "<string>",
"slug": "<string>",
"is_public": false,
"success_message": "<string>",
"description": "<string>",
"instructions": "<string>"
}
}
}
'{
"data": [
{
"name": "<string>",
"slug": "<string>",
"is_public": false,
"id": 123,
"submission_status_id": 123,
"success_message": "<string>",
"description": "<string>",
"instructions": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}curl --request PATCH \
--url https://api.perscom.io/{version}/forms/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"resources": {
"{key}": {
"name": "<string>",
"slug": "<string>",
"is_public": false,
"success_message": "<string>",
"description": "<string>",
"instructions": "<string>"
}
}
}
'{
"data": [
{
"name": "<string>",
"slug": "<string>",
"is_public": false,
"id": 123,
"submission_status_id": 123,
"success_message": "<string>",
"description": "<string>",
"instructions": "<string>",
"label": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use.
v1, v2 fields, submissions, submissions.*, tags Show child attributes
Show child attributes
The name of the form.
255The unique URL-friendly identifier for the form.
255Whether the form is publicly accessible without authentication.
The message displayed after successful form submission. Supports HTML.
65535A description of the form. Supports HTML.
65535Instructions for completing the form. Supports HTML.
65535OK
Show child attributes
The name of the form.
255The unique URL-friendly identifier for the form.
255Whether the form is publicly accessible without authentication.
The message displayed after successful form submission. Supports HTML.
65535A description of the form. Supports HTML.
65535Instructions for completing the form. Supports HTML.
65535The date the resource was created. Stored in UTC.
The date the resource was updated. Stored in UTC.
Was this page helpful?