Sign in

Create custom form

documented

Create a new custom form.

POST /custom_forms.jsonCustom Formsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.samanage.com/custom_forms.json" -X POST -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"name": "{{$title}}", "description": "{{$description}}", "module": "{{$module}}", "active": true, "custom_form_fields": [{"name": "{{$field_name}}", "type": "{{$field_type}}", "required": {{$required}}}]}'