Skip to main content
POST
Criar evento

Authorizations

Authorization
string
header
required

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

Body

application/json

POST /api/v1/events — criação rica de evento (Management API): aceita organizador, vendedor e demais campos comerciais.

name
string
required
Maximum string length: 100
code
string | null
Maximum string length: 20
date
string<date> | null
city
string | null
Maximum string length: 100
state
string | null
Required string length: 2
document
string | null
Maximum string length: 15
organizer_id
integer | null
salesperson_person_id
integer | null
expected_athletes
integer | null
Required range: 1 <= x <= 999999
status
enum<string>
Available options:
planned,
quoted,
confirmed,
published,
finished,
canceled
stage_kind
enum<string> | null
Available options:
planned,
published,
finished,
canceled

Response

JsonResource

data
EventResource · object
required