Skip to main content
POST
/
events
/
{id}
/
preregister
Register a user for event preregister
curl --request POST \
  --url https://channels-service-alpha.fourvenues.com/events/{id}/preregister \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "fullname": "John Doe",
  "email": "john@example.com",
  "phone": "+34600000000",
  "birthdate": "1990-01-01",
  "country": "Spain",
  "state": "Madrid",
  "zipCode": "28001",
  "personalDocument": "12345678A",
  "personalDocumentType": "dni",
  "remarketing": false,
  "remarketing_sms": false
}
'
{
  "data": {
    "_id": "prereg-user-123"
  },
  "success": true
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

The id of the event.

Body

application/json

Attendee data for preregister registration.

fullname
string
required

Full name of the attendee.

Maximum string length: 255
Example:

"John Doe"

email
string<email>
required

Email address of the attendee.

Maximum string length: 255
Example:

"john@example.com"

phone
string

Phone number. May be required depending on the event preregister configuration.

Maximum string length: 255
Example:

"+34600000000"

birthdate
string<date>

Birth date in ISO 8601 format.

Example:

"1990-01-01"

gender
enum<string>

Gender code.

Available options:
0,
1,
2
country
string
Maximum string length: 255
Example:

"Spain"

state
string
Maximum string length: 255
Example:

"Madrid"

zipCode
string
Maximum string length: 255
Example:

"28001"

personalDocument
string
Maximum string length: 255
Example:

"12345678A"

personalDocumentType
enum<string>
Available options:
dni,
nie,
passport,
other,
Example:

"dni"

remarketing
boolean
default:false

Whether the attendee opts in to email remarketing.

remarketing_sms
boolean
default:false

Whether the attendee opts in to SMS remarketing.

Response

Created

data
object
success
boolean
Example:

true