Skip to main content
GET
/
events
/
{event}
/
registration-fields
Listar campos de inscrição
curl --request GET \
  --url http://localhost/api/v1/events/{event}/registration-fields \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 123,
      "event_id": 123,
      "key": "<string>",
      "label": "<string>",
      "type": "<string>",
      "options": [
        "<unknown>"
      ],
      "validation_rules": [
        "<unknown>"
      ],
      "help_text": "<string>",
      "is_required": true,
      "show_only_with_kit": true,
      "is_active": true,
      "sort_order": 123,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "meta": {
    "page": 123,
    "per_page": 123,
    "total": 123,
    "last_page": 123
  },
  "links": {
    "next": "<string>",
    "prev": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key do hub com escopo manage. Header: Authorization: Bearer <api_key>.

Path Parameters

event
string
required

Response

data
RegistrationFieldResource · object[]
required
meta
object
required