Creates a new event in your organization. A default “General Admission”
ticket class is created automatically with the price (or free flag) from
the request body so the event is immediately bookable.Requires the events:write scope.
Pass an Idempotency-Key header (max 255 chars) to make POST retries safe. The first request executes the create; subsequent requests with the same key within 24 hours replay the original response verbatim — including the original status code — and add an Idempotent-Replay: true response header. Keys are scoped per API key, so two integrations can use the same key value without collision.Two concurrent requests with the same key return 409 idempotent_request_in_progress to the second caller.
Physical address, OR a virtual meeting URL (https://...). When a URL
is provided the event is flagged as virtual and the URL is stored as
the meeting link.
The same place as location, structured. Optional and additive — location
stays required and remains the display line.Supply this when you know the parts. Events are grouped by city on discovery
pages and need coordinates to appear on a map, and neither can be recovered
from a single formatted address string.
Absorb the Gomry service fee into the ticket price instead of adding it at checkout.
Defaults to false (the buyer pays the fee on top).Settable at create so the event is never briefly live at a price that includes the fee
on top — a price you never quoted, on a public page.This is the event-wide default. An individual ticket class can override it with its
own remove_service_fees, so one event can absorb the fee on some tiers and pass it on
for others — see Create Ticket Class.
Cover image URL for the event page banner (max 2,000 chars). Must already be
hosted — use Upload Image to upload
bytes and get a URL back.Settable at create so the event is never briefly public wearing a platform
placeholder — the same reason remove_service_fees is accepted here. Omit it
and Gomry assigns one of its own cover photos.
{ "error": "insufficient_scope", "message": "This API key does not have 'write' access to 'events'.", "required_scope": "events:write"}
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Gomry API","colors":{"primary":"#000000","light":"#FFFFFF","dark":"#FFFFFF"},"logo":{"light":"https://mintcdn.com/gomry/jDJp3Wqzn5wDGgQC/images/logo-light.png?fit=max\u0026auto=format\u0026n=jDJp3Wqzn5wDGgQC\u0026q=85\u0026s=f219d76acf24de2d111ed934cfcb6606","dark":"https://mintcdn.com/gomry/jDJp3Wqzn5wDGgQC/images/logo-dark.png?fit=max\u0026auto=format\u0026n=jDJp3Wqzn5wDGgQC\u0026q=85\u0026s=72b9aee24c65cf76a8c0f17f88337855"},"favicon":"https://mintcdn.com/gomry/jDJp3Wqzn5wDGgQC/favicon.ico?fit=max\u0026auto=format\u0026n=jDJp3Wqzn5wDGgQC\u0026q=85\u0026s=a81575b3950229a1b14b4260130ce0bf","api":{"mdx":{"auth":{"method":"key","name":"X-API-KEY"},"server":"https://www.gomry.com/api/v1"}},"navbar":{"links":[{"href":"https://www.gomry.com","label":"Dashboard"}]},"footer":{"socials":{"website":"https://gomry.com","linkedin":"https://www.linkedin.com/company/gomry"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gomry","hasAudioNarration":false,"actualSubdomain":"gomry","customDomains":["docs.gomry.com"],"gitSource":{"type":"github","owner":"gomryhq","repo":"gomry","deployBranch":"master","contentDirectory":"docs/api-reference","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae12b08fdd8d33d7ee5e1af","collectionId":"ac7a70bb-9059-4864-ad06-2d862cdd6c29","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae12b08fdd8d33d7ee5e1af"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae895ac0e678b1f73a120dc","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Documentation","count":93},{"language":"default","tag":"Platform API","count":65},{"language":"default","tag":"Commerce API","count":16},{"language":"default","tag":"Retail Vendor API","count":12},{"language":"default","tag":"Getting Started","count":8},{"language":"default","tag":"Checkout Sessions","count":7},{"language":"default","tag":"Contacts","count":6},{"language":"default","tag":"Webhooks","count":6},{"language":"default","tag":"Attendees","count":5},{"language":"default","tag":"Events","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/events/create-event","slug":"/api-reference/events/create-event","pageMetadata":{"title":"Create Event","api":"POST /events","description":"Create a new event in your organization","href":"/api-reference/events/create-event"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Create a new event in your organization\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Expandable,Heading,ParamField,ResponseField}=_components;if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`create-event`,children:`Create Event`}),`\n`,_jsx(_components.p,{children:`Creates a new event in your organization. A default “General Admission”\nticket class is created automatically with the price (or free flag) from\nthe request body so the event is immediately bookable.`}),`\n`,_jsxs(_components.p,{children:[`Requires the `,_jsx(_components.code,{children:`events:write`}),` scope.`]}),`\n`,_jsx(Heading,{level:`2`,id:`idempotency`,children:`Idempotency`}),`\n`,_jsxs(_components.p,{children:[`Pass an `,_jsx(_components.code,{children:`Idempotency-Key`}),` header (max 255 chars) to make POST retries safe. The first request executes the create; subsequent requests with the same key within 24 hours replay the original response verbatim — including the original status code — and add an `,_jsx(_components.code,{children:`Idempotent-Replay: true`}),` response header. Keys are scoped per API key, so two integrations can use the same key value without collision.`]}),`\n`,_jsxs(_components.p,{children:[`Two concurrent requests with the same key return `,_jsx(_components.code,{children:`409 idempotent_request_in_progress`}),` to the second caller.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Event name (max 200 chars).`})}),`\n`,_jsx(ParamField,{body:`start`,type:`object`,required:true,id:`param-start`,children:_jsxs(Expandable,{children:[_jsxs(ParamField,{body:`utc`,type:`string`,required:true,id:`param-utc`,children:[`ISO-8601 datetime, or a local `,_jsx(_components.code,{children:`YYYY-MM-DDTHH:mm`}),` string interpreted in `,_jsx(_components.code,{children:`timezone`}),`.`]}),_jsxs(ParamField,{body:`timezone`,type:`string`,id:`param-timezone`,children:[`IANA timezone (e.g. `,_jsx(_components.code,{children:`America/New_York`}),`). Defaults to UTC.`]})]})}),`\n`,_jsx(ParamField,{body:`end`,type:`object`,required:true,id:`param-end`,children:_jsxs(Expandable,{children:[_jsxs(ParamField,{body:`utc`,type:`string`,required:true,id:`param-utc-1`,children:[`Same formats as `,_jsx(_components.code,{children:`start.utc`}),`. Must be after `,_jsx(_components.code,{children:`start`}),`.`]}),_jsxs(ParamField,{body:`timezone`,type:`string`,id:`param-timezone-1`,children:[`Must match `,_jsx(_components.code,{children:`start.timezone`}),` if provided.`]})]})}),`\n`,_jsx(ParamField,{body:`location`,type:`string`,required:true,id:`param-location`,children:_jsxs(_components.p,{children:[`Physical address, OR a virtual meeting URL (`,_jsx(_components.code,{children:`https://...`}),`). When a URL\nis provided the event is flagged as virtual and the URL is stored as\nthe meeting link.`]})}),`\n`,_jsxs(ParamField,{body:`venue`,type:`object`,id:`param-venue`,children:[_jsxs(_components.p,{children:[`The same place as `,_jsx(_components.code,{children:`location`}),`, structured. Optional and additive — `,_jsx(_components.code,{children:`location`}),`\nstays required and remains the display line.`]}),_jsxs(_components.p,{children:[`Supply this when you know the parts. Events are grouped by `,_jsx(_components.code,{children:`city`}),` on discovery\npages and need coordinates to appear on a map, and neither can be recovered\nfrom a single formatted address string.`]}),_jsxs(Expandable,{children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-1`,children:`Venue name (max 200 chars).`}),_jsx(ParamField,{body:`address`,type:`string`,id:`param-address`,children:`Street address (max 500 chars).`}),_jsx(ParamField,{body:`city`,type:`string`,id:`param-city`,children:`City (max 120 chars). Used to group the event on discovery pages.`}),_jsx(ParamField,{body:`state`,type:`string`,id:`param-state`,children:`State or region (max 120 chars).`}),_jsx(ParamField,{body:`country`,type:`string`,id:`param-country`,children:`Country (max 120 chars).`}),_jsx(ParamField,{body:`postal_code`,type:`string`,id:`param-postal-code`,children:`Postal code (max 32 chars).`}),_jsxs(ParamField,{body:`latitude`,type:`number`,id:`param-latitude`,children:[`Between -90 and 90. Required, with `,_jsx(_components.code,{children:`longitude`}),`, to place the event on a map.`]}),_jsx(ParamField,{body:`longitude`,type:`number`,id:`param-longitude`,children:`Between -180 and 180.`}),_jsx(ParamField,{body:`place_id`,type:`string`,id:`param-place-id`,children:`Google Place ID (max 256 chars) — the most durable way to identify a venue.`})]})]}),`\n`,_jsx(ParamField,{body:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`ISO-4217 currency code. Defaults to the organization’s currency.`})}),`\n`,_jsx(ParamField,{body:`capacity`,type:`integer`,id:`param-capacity`,children:_jsxs(_components.p,{children:[`Maximum number of tickets that can be sold. `,_jsx(_components.code,{children:`0`}),` or omitted means unlimited.`]})}),`\n`,_jsx(ParamField,{body:`ticket_price`,type:`number`,id:`param-ticket-price`,children:_jsxs(_components.p,{children:[`Price for the default General Admission ticket class. `,_jsx(_components.code,{children:`0`}),` or omitted means free.`]})}),`\n`,_jsx(ParamField,{body:`require_approval`,type:`boolean`,id:`param-require-approval`,children:_jsxs(_components.p,{children:[`Whether registrations require organizer approval. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ParamField,{body:`is_private`,type:`boolean`,id:`param-is-private`,children:_jsxs(_components.p,{children:[`Whether the event is hidden from public listings. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`remove_service_fees`,type:`boolean`,id:`param-remove-service-fees`,children:[_jsxs(_components.p,{children:[`Absorb the Gomry service fee into the ticket price instead of adding it at checkout.\nDefaults to `,_jsx(_components.code,{children:`false`}),` (the buyer pays the fee on top).`]}),_jsx(_components.p,{children:`Settable at create so the event is never briefly live at a price that includes the fee\non top — a price you never quoted, on a public page.`}),_jsxs(_components.p,{children:[`This is the `,_jsx(_components.strong,{children:`event-wide default`}),`. An individual ticket class can override it with its\nown `,_jsx(_components.code,{children:`remove_service_fees`}),`, so one event can absorb the fee on some tiers and pass it on\nfor others — see `,_jsx(_components.a,{href:`/api-reference/ticket-classes/create-ticket-class`,children:`Create Ticket Class`}),`.`]})]}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Long-form description shown on the event page.`})}),`\n`,_jsxs(ParamField,{body:`cover_img`,type:`string`,id:`param-cover-img`,children:[_jsxs(_components.p,{children:[`Cover image URL for the event page banner (max 2,000 chars). Must already be\nhosted — use `,_jsx(_components.a,{href:`/api-reference/uploads/upload-image`,children:`Upload Image`}),` to upload\nbytes and get a URL back.`]}),_jsxs(_components.p,{children:[`Settable at create so the event is never briefly public wearing a platform\nplaceholder — the same reason `,_jsx(_components.code,{children:`remove_service_fees`}),` is accepted here. Omit it\nand Gomry assigns one of its own cover photos.`]})]}),`\n`,_jsx(ParamField,{body:`space_identifier`,type:`string`,id:`param-space-identifier`,children:_jsxs(_components.p,{children:[`Space the event belongs to. Defaults to `,_jsx(_components.code,{children:`GENERAL`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns the created event with `,_jsx(_components.code,{children:`201 Created`}),`.`]}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(_components.p,{children:[`Same schema as `,_jsx(_components.a,{href:`/api-reference/events/get-event`,children:`Get Event`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Event","api":"POST /events","description":"Create a new event in your organization","href":"/api-reference/events/create-event"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`1`,id:`create-event`,children:`Create Event`}),`\n`,_jsx(_components.p,{children:`Creates a new event in your organization. A default “General Admission”\nticket class is created automatically with the price (or free flag) from\nthe request body so the event is immediately bookable.`}),`\n`,_jsxs(_components.p,{children:[`Requires the `,_jsx(_components.code,{children:`events:write`}),` scope.`]}),`\n`,_jsx(Heading,{level:`2`,id:`idempotency`,children:`Idempotency`}),`\n`,_jsxs(_components.p,{children:[`Pass an `,_jsx(_components.code,{children:`Idempotency-Key`}),` header (max 255 chars) to make POST retries safe. The first request executes the create; subsequent requests with the same key within 24 hours replay the original response verbatim — including the original status code — and add an `,_jsx(_components.code,{children:`Idempotent-Replay: true`}),` response header. Keys are scoped per API key, so two integrations can use the same key value without collision.`]}),`\n`,_jsxs(_components.p,{children:[`Two concurrent requests with the same key return `,_jsx(_components.code,{children:`409 idempotent_request_in_progress`}),` to the second caller.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsx(ParamField,{body:`name`,type:`string`,required:true,id:`param-name`,children:_jsx(_components.p,{children:`Event name (max 200 chars).`})}),`\n`,_jsx(ParamField,{body:`start`,type:`object`,required:true,id:`param-start`,children:_jsxs(Expandable,{children:[_jsxs(ParamField,{body:`utc`,type:`string`,required:true,id:`param-utc`,children:[`ISO-8601 datetime, or a local `,_jsx(_components.code,{children:`YYYY-MM-DDTHH:mm`}),` string interpreted in `,_jsx(_components.code,{children:`timezone`}),`.`]}),_jsxs(ParamField,{body:`timezone`,type:`string`,id:`param-timezone`,children:[`IANA timezone (e.g. `,_jsx(_components.code,{children:`America/New_York`}),`). Defaults to UTC.`]})]})}),`\n`,_jsx(ParamField,{body:`end`,type:`object`,required:true,id:`param-end`,children:_jsxs(Expandable,{children:[_jsxs(ParamField,{body:`utc`,type:`string`,required:true,id:`param-utc-1`,children:[`Same formats as `,_jsx(_components.code,{children:`start.utc`}),`. Must be after `,_jsx(_components.code,{children:`start`}),`.`]}),_jsxs(ParamField,{body:`timezone`,type:`string`,id:`param-timezone-1`,children:[`Must match `,_jsx(_components.code,{children:`start.timezone`}),` if provided.`]})]})}),`\n`,_jsx(ParamField,{body:`location`,type:`string`,required:true,id:`param-location`,children:_jsxs(_components.p,{children:[`Physical address, OR a virtual meeting URL (`,_jsx(_components.code,{children:`https://...`}),`). When a URL\nis provided the event is flagged as virtual and the URL is stored as\nthe meeting link.`]})}),`\n`,_jsxs(ParamField,{body:`venue`,type:`object`,id:`param-venue`,children:[_jsxs(_components.p,{children:[`The same place as `,_jsx(_components.code,{children:`location`}),`, structured. Optional and additive — `,_jsx(_components.code,{children:`location`}),`\nstays required and remains the display line.`]}),_jsxs(_components.p,{children:[`Supply this when you know the parts. Events are grouped by `,_jsx(_components.code,{children:`city`}),` on discovery\npages and need coordinates to appear on a map, and neither can be recovered\nfrom a single formatted address string.`]}),_jsxs(Expandable,{children:[_jsx(ParamField,{body:`name`,type:`string`,id:`param-name-1`,children:`Venue name (max 200 chars).`}),_jsx(ParamField,{body:`address`,type:`string`,id:`param-address`,children:`Street address (max 500 chars).`}),_jsx(ParamField,{body:`city`,type:`string`,id:`param-city`,children:`City (max 120 chars). Used to group the event on discovery pages.`}),_jsx(ParamField,{body:`state`,type:`string`,id:`param-state`,children:`State or region (max 120 chars).`}),_jsx(ParamField,{body:`country`,type:`string`,id:`param-country`,children:`Country (max 120 chars).`}),_jsx(ParamField,{body:`postal_code`,type:`string`,id:`param-postal-code`,children:`Postal code (max 32 chars).`}),_jsxs(ParamField,{body:`latitude`,type:`number`,id:`param-latitude`,children:[`Between -90 and 90. Required, with `,_jsx(_components.code,{children:`longitude`}),`, to place the event on a map.`]}),_jsx(ParamField,{body:`longitude`,type:`number`,id:`param-longitude`,children:`Between -180 and 180.`}),_jsx(ParamField,{body:`place_id`,type:`string`,id:`param-place-id`,children:`Google Place ID (max 256 chars) — the most durable way to identify a venue.`})]})]}),`\n`,_jsx(ParamField,{body:`currency`,type:`string`,id:`param-currency`,children:_jsx(_components.p,{children:`ISO-4217 currency code. Defaults to the organization’s currency.`})}),`\n`,_jsx(ParamField,{body:`capacity`,type:`integer`,id:`param-capacity`,children:_jsxs(_components.p,{children:[`Maximum number of tickets that can be sold. `,_jsx(_components.code,{children:`0`}),` or omitted means unlimited.`]})}),`\n`,_jsx(ParamField,{body:`ticket_price`,type:`number`,id:`param-ticket-price`,children:_jsxs(_components.p,{children:[`Price for the default General Admission ticket class. `,_jsx(_components.code,{children:`0`}),` or omitted means free.`]})}),`\n`,_jsx(ParamField,{body:`require_approval`,type:`boolean`,id:`param-require-approval`,children:_jsxs(_components.p,{children:[`Whether registrations require organizer approval. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsx(ParamField,{body:`is_private`,type:`boolean`,id:`param-is-private`,children:_jsxs(_components.p,{children:[`Whether the event is hidden from public listings. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})}),`\n`,_jsxs(ParamField,{body:`remove_service_fees`,type:`boolean`,id:`param-remove-service-fees`,children:[_jsxs(_components.p,{children:[`Absorb the Gomry service fee into the ticket price instead of adding it at checkout.\nDefaults to `,_jsx(_components.code,{children:`false`}),` (the buyer pays the fee on top).`]}),_jsx(_components.p,{children:`Settable at create so the event is never briefly live at a price that includes the fee\non top — a price you never quoted, on a public page.`}),_jsxs(_components.p,{children:[`This is the `,_jsx(_components.strong,{children:`event-wide default`}),`. An individual ticket class can override it with its\nown `,_jsx(_components.code,{children:`remove_service_fees`}),`, so one event can absorb the fee on some tiers and pass it on\nfor others — see `,_jsx(_components.a,{href:`/api-reference/ticket-classes/create-ticket-class`,children:`Create Ticket Class`}),`.`]})]}),`\n`,_jsx(ParamField,{body:`description`,type:`string`,id:`param-description`,children:_jsx(_components.p,{children:`Long-form description shown on the event page.`})}),`\n`,_jsxs(ParamField,{body:`cover_img`,type:`string`,id:`param-cover-img`,children:[_jsxs(_components.p,{children:[`Cover image URL for the event page banner (max 2,000 chars). Must already be\nhosted — use `,_jsx(_components.a,{href:`/api-reference/uploads/upload-image`,children:`Upload Image`}),` to upload\nbytes and get a URL back.`]}),_jsxs(_components.p,{children:[`Settable at create so the event is never briefly public wearing a platform\nplaceholder — the same reason `,_jsx(_components.code,{children:`remove_service_fees`}),` is accepted here. Omit it\nand Gomry assigns one of its own cover photos.`]})]}),`\n`,_jsx(ParamField,{body:`space_identifier`,type:`string`,id:`param-space-identifier`,children:_jsxs(_components.p,{children:[`Space the event belongs to. Defaults to `,_jsx(_components.code,{children:`GENERAL`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsxs(_components.p,{children:[`Returns the created event with `,_jsx(_components.code,{children:`201 Created`}),`.`]}),`\n`,_jsx(ResponseField,{name:`data`,type:`object`,id:`param-data`,children:_jsxs(_components.p,{children:[`Same schema as `,_jsx(_components.a,{href:`/api-reference/events/get-event`,children:`Get Event`}),`.`]})}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-API-KEY: your_api_key\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Summer Launch Party\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"start\": { \"utc\": \"2026-07-15T18:00\", \"timezone\": \"America/New_York\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"end\": { \"utc\": \"2026-07-15T22:00\", \"timezone\": \"America/New_York\" },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"location\": \"Convention Center, New York\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"capacity\": 250,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"ticket_price\": 0`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://www.gomry.com/api/v1/events\"`})}),`\n`]})})})}),`\n`,_jsxs(ResponseExample,{children:[_jsx(CodeBlock,{filename:`201`,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AbCdEfGhIjKlMnOpQrSt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Summer Launch Party\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"active\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"registration_status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"usd\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"capacity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`250`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tickets_sold\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"start\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"utc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-07-15T22:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"America/New_York\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"end\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"utc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-07-16T02:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"timezone\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"America/New_York\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"venue\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Convention Center, New York\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"address\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Convention Center, New York\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"state\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"created_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-05-24T10:00:00.000Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"updated_at\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-05-24T10:00:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`400`,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"end must be after start\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`403`,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"insufficient_scope\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"This API key does not have 'write' access to 'events'.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"required_scope\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"events:write\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Event","api":"POST /events","description":"Create a new event in your organization","href":"/api-reference/events/create-event"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Create Event","slug":"create-event","depth":1,"children":[]},{"title":"Idempotency","slug":"idempotency","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"cURL","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"shellscript\">\u003ccode language=\"shellscript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#953800;--shiki-dark:#DCDCAA\">curl\u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -X\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> POST\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"X-API-KEY: your_api_key\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Content-Type: application/json\"\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\"> -d\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> '{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"name\": \"Summer Launch Party\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"start\": { \"utc\": \"2026-07-15T18:00\", \"timezone\": \"America/New_York\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"end\": { \"utc\": \"2026-07-15T22:00\", \"timezone\": \"America/New_York\" },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"location\": \"Convention Center, New York\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"capacity\": 250,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"ticket_price\": 0\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\u003c/span>\u003cspan style=\"color:#CF222E;--shiki-dark:#D7BA7D\"> \\\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"https://www.gomry.com/api/v1/events\"\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"201","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"16\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AbCdEfGhIjKlMnOpQrSt\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Summer Launch Party\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"active\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"registration_status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"open\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"usd\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"capacity\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">250\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"tickets_sold\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"start\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"utc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-07-15T22:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"timezone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"America/New_York\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"end\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"utc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-07-16T02:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"timezone\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"America/New_York\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"venue\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: { \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Convention Center, New York\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"address\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Convention Center, New York\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"city\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"state\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">, \u003c/span>\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\">\"country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#569CD6\">null\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"created_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-05-24T10:00:00.000Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"updated_at\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-05-24T10:00:00.000Z\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"400","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"3\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"end must be after start\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"403","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"error\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"insufficient_scope\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"message\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"This API key does not have 'write' access to 'events'.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"required_scope\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"events:write\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}},"endpoint":{"title":"Create Event","path":"/events","servers":[{"url":"https://www.gomry.com/api/v1"}],"method":"post","request":{"security":[{"title":"API Key Auth","parameters":{"header":{"X-API-KEY":{"type":"apiKey"}},"query":{},"cookie":{}}}],"parameters":{"query":{},"header":{},"cookie":{},"path":{}},"body":{"application/json":{"schemaArray":[{"type":"object","properties":{"name":[{"type":"string","description":"Event name (max 200 chars).","required":true}],"start":[{"type":"object","properties":{"utc":[{"type":"string","description":"ISO-8601 datetime, or a local `YYYY-MM-DDTHH:mm` string interpreted in `timezone` .","required":true}],"timezone":[{"type":"string","description":"IANA timezone (e.g. `America/New_York` ). Defaults to UTC."}]},"required":true}],"end":[{"type":"object","properties":{"utc":[{"type":"string","description":"Same formats as `start.utc` . Must be after `start` .","required":true}],"timezone":[{"type":"string","description":"Must match `start.timezone` if provided."}]},"required":true}],"location":[{"type":"string","description":"Physical address, OR a virtual meeting URL ( `https://...` ). When a URL is provided the event is flagged as virtual and the URL is stored as the meeting link.","required":true}],"venue":[{"type":"object","properties":{"name":[{"type":"string","description":"Venue name (max 200 chars)."}],"address":[{"type":"string","description":"Street address (max 500 chars)."}],"city":[{"type":"string","description":"City (max 120 chars). Used to group the event on discovery pages."}],"state":[{"type":"string","description":"State or region (max 120 chars)."}],"country":[{"type":"string","description":"Country (max 120 chars)."}],"postal_code":[{"type":"string","description":"Postal code (max 32 chars)."}],"latitude":[{"type":"number","description":"Between -90 and 90. Required, with `longitude` , to place the event on a map."}],"longitude":[{"type":"number","description":"Between -180 and 180."}],"place_id":[{"type":"string","description":"Google Place ID (max 256 chars) — the most durable way to identify a venue."}]},"description":"The same place as `location` , structured. Optional and additive — `location` stays required and remains the display line. Supply this when you know the parts. Events are grouped by `city` on discovery pages and need coordinates to appear on a map, and neither can be recovered from a single formatted address string."}],"currency":[{"type":"string","description":"ISO-4217 currency code. Defaults to the organization’s currency."}],"capacity":[{"type":"integer","description":"Maximum number of tickets that can be sold. `0` or omitted means unlimited."}],"ticket_price":[{"type":"number","description":"Price for the default General Admission ticket class. `0` or omitted means free."}],"require_approval":[{"type":"boolean","description":"Whether registrations require organizer approval. Defaults to `false` ."}],"is_private":[{"type":"boolean","description":"Whether the event is hidden from public listings. Defaults to `false` ."}],"remove_service_fees":[{"type":"boolean","description":"Absorb the Gomry service fee into the ticket price instead of adding it at checkout. Defaults to `false` (the buyer pays the fee on top). Settable at create so the event is never briefly live at a price that includes the fee on top — a price you never quoted, on a public page. This is the event-wide default . An individual ticket class can override it with its own `remove_service_fees` , so one event can absorb the fee on some tiers and pass it on for others — see Create Ticket Class ."}],"description":[{"type":"string","description":"Long-form description shown on the event page."}],"cover_img":[{"type":"string","description":"Cover image URL for the event page banner (max 2,000 chars). Must already be hosted — use Upload Image to upload bytes and get a URL back. Settable at create so the event is never briefly public wearing a platform placeholder — the same reason `remove_service_fees` is accepted here. Omit it and Gomry assigns one of its own cover photos."}],"space_identifier":[{"type":"string","description":"Space the event belongs to. Defaults to `GENERAL` ."}]}}],"examples":{"example":{"value":{"name":"\u003cstring>","start":{"utc":"\u003cstring>","timezone":"\u003cstring>"},"end":{"utc":"\u003cstring>","timezone":"\u003cstring>"},"location":"\u003cstring>","venue":{"name":"\u003cstring>","address":"\u003cstring>","city":"\u003cstring>","state":"\u003cstring>","country":"\u003cstring>","postal_code":"\u003cstring>","latitude":123,"longitude":123,"place_id":"\u003cstring>"},"currency":"\u003cstring>","capacity":123,"ticket_price":123,"require_approval":true,"is_private":true,"remove_service_fees":true,"description":"\u003cstring>","cover_img":"\u003cstring>","space_identifier":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"data":[{"type":"object","properties":{},"description":"Same schema as Get Event ."}]}}],"examples":{"example":{"value":{"data":{}}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"gomry","siteName":"Gomry API","title":"Create Event - Gomry API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-25T03:37:39.978Z","originalFileLocation":"api-reference/events/create-event.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create a new event in your organization\">\u003cmeta data-mint-head name=\"application-name\" content=\"Gomry API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Event - Gomry API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create a new event in your organization\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gomry API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gomry.com/api-reference/events/create-event\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gomry.mintlify.app/_mintlify/api/og/v2?division=Events\u0026amp;title=Create+Event\u0026amp;description=Create+a+new+event+in+your+organization\u0026amp;theme=09718fab176c688eeda09506\u0026amp;signature=d6f29e042ac79384dd8700c50c909574ca56d16e8368286b922123cc868e4de6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Event - Gomry API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create a new event in your organization\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gomry.mintlify.app/_mintlify/api/og/v2?division=Events\u0026amp;title=Create+Event\u0026amp;description=Create+a+new+event+in+your+organization\u0026amp;theme=09718fab176c688eeda09506\u0026amp;signature=d6f29e042ac79384dd8700c50c909574ca56d16e8368286b922123cc868e4de6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/gomry/bqp84X4_mSd9jp4X/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Gomry API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#000000\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gomry.com/api-reference/events/create-event\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/events/create-event.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gomry.com/#organization\",\"name\":\"Gomry API\",\"url\":\"https://docs.gomry.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gomry/jDJp3Wqzn5wDGgQC/images/logo-light.png?fit=max\u0026auto=format\u0026n=jDJp3Wqzn5wDGgQC\u0026q=85\u0026s=f219d76acf24de2d111ed934cfcb6606\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gomry.com#website\",\"name\":\"Gomry API\",\"url\":\"https://docs.gomry.com\",\"publisher\":{\"@id\":\"https://docs.gomry.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gomry.com/api-reference/events/create-event#webpage\",\"url\":\"https://docs.gomry.com/api-reference/events/create-event\",\"name\":\"Create Event\",\"description\":\"Create a new event in your organization\",\"dateModified\":\"2026-09-25T03:37:39.978Z\",\"isPartOf\":{\"@id\":\"https://docs.gomry.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gomry.com/api-reference/events/create-event#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gomry.com/api-reference/events/create-event#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Events\",\"item\":\"https://docs.gomry.com/api-reference/events/list-events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Event\",\"item\":\"https://docs.gomry.com/api-reference/events/create-event\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gomry.com/api-reference/events/create-event#apireference\",\"headline\":\"Create Event\",\"name\":\"Create Event\",\"description\":\"Create a new event in your organization\",\"url\":\"https://docs.gomry.com/api-reference/events/create-event\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gomry.com/api-reference/events/create-event#webpage\"},\"dateModified\":\"2026-09-25T03:37:39.978Z\",\"publisher\":{\"@id\":\"https://docs.gomry.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gomry.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Gomry API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Gomry API","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Platform API","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Authentication","href":"/authentication"},{"title":"Scopes","href":"/scopes"},{"title":"Errors","href":"/errors"},{"title":"Rate Limits","href":"/rate-limits"},{"title":"Pagination","href":"/pagination"}]},{"group":"MCP Server","pages":[{"title":"MCP Server","href":"/mcp/introduction"},{"title":"Setup","href":"/mcp/setup"},{"title":"Available Tools","href":"/mcp/tools"}]},{"group":"Organization","pages":[{"title":"Get Organization","api":"GET /organization","href":"/api-reference/organization/get-organization"}]},{"group":"Spaces","pages":[{"title":"List Spaces","api":"GET /spaces","href":"/api-reference/spaces/list-spaces"},{"title":"Get Space","api":"GET /spaces/{spaceIdentifier}","href":"/api-reference/spaces/get-space"},{"title":"Create Space","api":"POST /spaces","href":"/api-reference/spaces/create-space"},{"title":"Update Space","api":"PATCH /spaces/{spaceIdentifier}","href":"/api-reference/spaces/update-space"},{"title":"Set Tax Details","api":"PUT /spaces/{spaceIdentifier}/tax-details","href":"/api-reference/spaces/set-tax-details"}]},{"group":"Events","pages":[{"title":"List Events","api":"GET /events","href":"/api-reference/events/list-events"},{"title":"Get Event","api":"GET /events/{eventId}","description":"Retrieve details of a single event","href":"/api-reference/events/get-event"},{"title":"Create Event","api":"POST /events","href":"/api-reference/events/create-event"},{"title":"Update Event","api":"PATCH /events/{event_id}","description":"Partially update an event in your organization","href":"/api-reference/events/update-event"},{"title":"Delete Event","api":"DELETE /events/{eventId}","href":"/api-reference/events/delete-event"}]},{"group":"Experiences","pages":[{"title":"List Experiences","api":"GET /experiences","href":"/api-reference/experiences/list-experiences"},{"title":"Get Experience","api":"GET /experiences/{experienceId}","href":"/api-reference/experiences/get-experience"},{"title":"Create Experience","api":"POST /experiences","href":"/api-reference/experiences/create-experience"},{"title":"Update Experience","api":"PATCH /experiences/{experience_id}","href":"/api-reference/experiences/update-experience"},{"title":"Delete Experience","api":"DELETE /experiences/{experienceId}","href":"/api-reference/experiences/delete-experience"}]},{"group":"Recurrences","pages":[{"title":"List Recurrences","api":"GET /experiences/{experience_id}/recurrences","href":"/api-reference/recurrences/list-recurrences"},{"title":"Get Recurrence","api":"GET /experiences/{experience_id}/recurrences/{recurrence_id}","href":"/api-reference/recurrences/get-recurrence"},{"title":"Create Recurrence","api":"POST /experiences/{experience_id}/recurrences","href":"/api-reference/recurrences/create-recurrence"},{"title":"Update Recurrence","api":"PATCH /experiences/{experience_id}/recurrences/{recurrence_id}","href":"/api-reference/recurrences/update-recurrence"},{"title":"Delete Recurrence","api":"DELETE /experiences/{experience_id}/recurrences/{recurrence_id}","href":"/api-reference/recurrences/delete-recurrence"}]},{"group":"Attendees","pages":[{"title":"List Attendees","api":"GET /events/{eventId}/attendees","href":"/api-reference/attendees/list-attendees"},{"title":"Get Attendee","api":"GET /events/{eventId}/attendees/{attendeeId}","href":"/api-reference/attendees/get-attendee"},{"title":"Create Attendee","api":"POST /events/{eventId}/attendees","href":"/api-reference/attendees/create-attendee"},{"title":"Update Attendee","api":"PATCH /events/{eventId}/attendees/{attendeeId}","href":"/api-reference/attendees/update-attendee"},{"title":"Delete Attendee","api":"DELETE /events/{eventId}/attendees/{attendeeId}","href":"/api-reference/attendees/delete-attendee"}]},{"group":"Contacts","pages":[{"title":"List Contacts","api":"GET /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Get Contact","api":"GET /contacts/{contactId}","href":"/api-reference/contacts/get-contact"},{"title":"Create Contact","api":"POST /contacts","href":"/api-reference/contacts/create-contact"},{"title":"Update Contact","api":"PATCH /contacts/{contactId}","href":"/api-reference/contacts/update-contact"},{"title":"Delete Contact","api":"DELETE /contacts/{contactId}","href":"/api-reference/contacts/delete-contact"},{"title":"List Contact Applications","api":"GET /contacts/{contactId}/applications","href":"/api-reference/contacts/list-contact-applications"}]},{"group":"Ticket Classes","pages":[{"title":"List Ticket Classes","api":"GET /events/{eventId}/ticket-classes","href":"/api-reference/ticket-classes/list-ticket-classes"},{"title":"Get Ticket Class","api":"GET /events/{eventId}/ticket-classes/{ticketClassId}","href":"/api-reference/ticket-classes/get-ticket-class"},{"title":"Create Ticket Class","api":"POST /events/{eventId}/ticket-classes","href":"/api-reference/ticket-classes/create-ticket-class"},{"title":"Update Ticket Class","api":"PATCH /events/{eventId}/ticket-classes/{ticketClassId}","href":"/api-reference/ticket-classes/update-ticket-class"},{"title":"Delete Ticket Class","api":"DELETE /events/{eventId}/ticket-classes/{ticketClassId}","href":"/api-reference/ticket-classes/delete-ticket-class"}]},{"group":"Forms","pages":[{"title":"List Forms","api":"GET /forms","href":"/api-reference/forms/list-forms"},{"title":"Get Form","api":"GET /forms/{formId}","href":"/api-reference/forms/get-form"}]},{"group":"Applications","pages":[{"title":"List Applications","api":"GET /applications","href":"/api-reference/applications/list-applications"},{"title":"Get Application","api":"GET /applications/{applicationId}","href":"/api-reference/applications/get-application"},{"title":"Update Application","api":"PATCH /applications/{applicationId}","href":"/api-reference/applications/update-application"}]},{"group":"Custom Fields","pages":[{"title":"List Custom Fields","api":"GET /custom-fields","href":"/api-reference/custom-fields/list-custom-fields"},{"title":"Get Custom Field","api":"GET /custom-fields/{fieldId}","href":"/api-reference/custom-fields/get-custom-field"}]},{"group":"Lists","pages":[{"title":"List Lists","api":"GET /lists","href":"/api-reference/lists/list-lists"},{"title":"Get List","api":"GET /lists/{listId}","href":"/api-reference/lists/get-list"},{"title":"List Contacts in a List","api":"GET /lists/{listId}/contacts","href":"/api-reference/lists/list-list-contacts"}]},{"group":"Payments","pages":[{"title":"List Payments","api":"GET /payments","href":"/api-reference/payments/list-payments"},{"title":"Get Payment","api":"GET /payments/{paymentId}","href":"/api-reference/payments/get-payment"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks"},{"title":"Create Webhook Subscription","api":"POST /webhooks","href":"/api-reference/webhooks/create-webhook"},{"title":"List Webhook Subscriptions","api":"GET /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Get Webhook Subscription","api":"GET /webhooks/{webhookId}","href":"/api-reference/webhooks/get-webhook"},{"title":"Delete Webhook Subscription","api":"DELETE /webhooks/{webhookId}","href":"/api-reference/webhooks/delete-webhook"},{"title":"List Webhook Samples","api":"GET /webhooks/samples","href":"/api-reference/webhooks/list-webhook-samples"}]},{"group":"Uploads","pages":[{"title":"Upload Image","api":"POST /uploads/images","href":"/api-reference/uploads/upload-image"}]}]},{"tab":"Commerce API","pages":[{"title":"Commerce API","href":"/commerce/introduction"}]},{"tab":"Retail Vendor API","pages":[{"title":"Retail Vendor API","href":"/vendor-api/introduction"}]}]},{"anchor":"Support","icon":"envelope","href":"mailto:support@gomry.com"}]},"basePath":"","title":"Create Event - Gomry API","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js"]}