Skip to main content
POST
/
v1
/
events
/
attendees
/
register
Event Attendee Registration
curl --request POST \
  --url https://dev.api.mufi.app/v1/events/attendees/register \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "jsmith@example.com",
  "reference_id": "<string>",
  "registered_at": 123,
  "checked_in_at": 123
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "registered_at": 123,
  "checked_in_at": 123,
  "user": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "jsmith@example.com",
    "referenceId": "<string>",
    "isActivated": true,
    "activatedOn": "2023-11-07T05:31:56Z"
  },
  "event": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "reference_id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "name": "<string>",
    "description": "<string>",
    "start_date": 123,
    "end_date": 123,
    "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  }
}

Authorizations

Authorization
string
header
required

A JWT Access Token obtained from Google Cloud.

Body

application/json

The request body must include the event ID and the user ID, reference ID, or email. Timestamp fields are optional and can be used to update the registration or attendance timestamp.

event_id
string<uuid>
required
user_id
string<uuid>
email
string<email>
reference_id
string | null

An optional ID of the reference object in your database. This can be used to query events by reference object.

registered_at
integer | null

Timestamp as Unix timestamp in seconds

Required range: x > 0
checked_in_at
integer | null

Timestamp as Unix timestamp in seconds

Required range: x > 0

Response

Registration successful. This either creates a record or updates the registration/attendance timestamp.

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
event_id
string<uuid>
required
user
object
required
event
object
required
registered_at
integer | null

Timestamp as Unix timestamp in seconds

Required range: x > 0
checked_in_at
integer | null

Timestamp as Unix timestamp in seconds

Required range: x > 0