POST
/
admin
/
v0
/
calendar_events
Create a calendar event
curl --request POST \
  --url https://api.tightknit.dev/admin/v0/calendar_events \
  --header 'Authorization: Bearer <token>' \
  --header 'content-type: <content-type>' \
  --data '{
  "allow_public_guest_list": false,
  "description": {
    "blocks": [
      {
        "type": "rich_text",
        "elements": [
          {
            "type": "rich_text_section",
            "elements": [
              {
                "text": "This is the Slack message content.",
                "type": "text"
              }
            ]
          }
        ]
      }
    ],
    "text": "This is the event description."
  },
  "enable_registration_button": false,
  "end_date": "2025-01-07T15:00:00-07:00",
  "external_speakers": "John Doe, Jane Doe",
  "is_unlisted": false,
  "link": "https://example.com/my-event",
  "location": "1 Market Street, San Francisco, CA",
  "luma_event_id": "https://lu.ma/event/evt-6pGPLeDBObis0G4",
  "publish_to_site": false,
  "triggers_webhooks": false,
  "recap": {
    "blocks": [
      {
        "type": "rich_text",
        "elements": [
          {
            "type": "rich_text_section",
            "elements": [
              {
                "text": "This is the Slack message content.",
                "type": "text"
              }
            ]
          }
        ]
      }
    ],
    "text": "This is the event recap."
  },
  "recording_link": "https://www.youtube.com/watch?v=abc123",
  "webhook_custom_metadata": "third-party-event-id",
  "show_end_date": true,
  "slug": "my-event",
  "start_date": "2025-01-07T15:00:00-07:00",
  "status": "published",
  "title": "My Event",
  "use_registration_btn_as_link": false,
  "publish_to_slack_channels": [
    "C1234567A",
    "C1234567B"
  ],
  "hosts": {
    "slack_user_ids": [
      "U1234567A"
    ]
  },
  "speakers": {
    "slack_user_ids": [
      "U1234567A"
    ]
  },
  "cover_image_file_id": "97d5c5d6-d036-4223-9bd3-876a0cf47751"
}'
{
  "success": true,
  "data": {
    "calendar_event_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

content-type
enum<string>
required
Available options:
application/json

Body

application/json

Response

201
application/json

Creates the calendar event

The response is of type object.