EndpointsCreate Field
Endpoints

Create Field

curl -X POST "/api/fields" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -d '{
  "field_name": "John Doe",
  "data_name": "John Doe",
  "type": "text",
  "is_required": true
}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "field_name": "John Doe",
  "data_name": "John Doe",
  "type": "text",
  "is_required": true
}
POST
/fields
POST
Security Scheme
Bearer Token (JWT)
Bearer Tokenstring
Required

Bearer token (JWT) - just enter the token, "Bearer" prefix will be added automatically

Content-Typestring
Required

The media type of the request body

Options: application/json
Request Preview
Response

Response will appear here after sending the request

Authentication

bearerAuth
header
Authorizationstring
Required

Bearer token (JWT). Authentication token required.

Body

application/json
typestring
Required
Allowed values:textnumberdateboolean

Responses

Was this page helpful?
Built with Documentation.AI

Last updated 5 days ago