curl -X POST https://connect.eventtia.com/api/v3/m2m-auth \
-H "Content-Type: application/json" \
-d '{
"client_id": "$CLIENT_ID",
"client_secret": "$CLIENT_SECRET"
}'
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"scope": "events:* attendees:* checkpoints:* webhooks:*",
"expires_in": "2026-06-16T18:00:00Z",
"token_type": "Bearer"
}
curl -X POST https://connect.eventtia.com/api/v3/events \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"data": {
"type": "events",
"attributes": {
"name": "ICORI 2026",
"event_uri": "icori-2026",
"start_date": "2026-05-22T09:00:00",
"end_date": "2026-05-22T18:00:00",
"timezone": "America/Bogota"
}
}
}'
curl -X POST https://connect.eventtia.com/api/v3/events/12345/attendees \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"data": {
"type": "attendees",
"attributes": {
"email": "[email protected]",
"first_name": "Maya",
"last_name": "Khan",
"attendee_type_id": 42,
"custom_fields": {
"company": "Atlas Research",
"dietary_restrictions": "vegetarian"
}
}
}
}'
curl -X POST https://connect.eventtia.com/api/v3/account-webhooks \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"target_url": "https://hooks.yourcompany.com/eventtia",
"trigger": "attendee_created",
"administrative_area_ids": [3, 7]
}'
curl -X POST https://connect.eventtia.com/api/v3/checkpoints/9/check-in \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"attendee_uuid": "8c5e2-..."
}'