cURL
curl --request POST \ --url https://api.perscom.io/{version}/categories/{category}/forms \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "slug": "<string>", "success_message": "<string>", "is_public": false, "description": "<string>", "instructions": "<string>" }'
{ "data": { "id": 123, "submission_status_id": 123, "name": "<string>", "slug": "<string>", "success_message": "<string>", "is_public": false, "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.
Bearer <token>
<token>
The API version to use.
v1
v2
fields
submissions
submissions.*
tags
OK
The response is of type object.
object
Was this page helpful?