Uploads an image to Gomry’s own storage and returns a permanent public URL.This is the write-then-reference counterpart to the image fields elsewhere in
the API: cover_img on an event and the photo fields on an experience only ever
accept a URL you already have hosted. This endpoint does the hosting.This endpoint does NOT attach the image to anything. Take the url it
returns and set it yourself with PATCH /v1/events/{eventId} (cover_img) or
PATCH /v1/experiences/{experience_id} (photos).Requires the events:writeor the experiences:write scope. There is no
separate uploads scope: uploading is only useful in service of one of those
two resources.
The returned URL is permanent, public and unauthenticated — anyone with the
link can open it, and there is no delete endpoint. Only upload images you
intend to publish.
Pass an Idempotency-Key header (max 255 chars) to make retries safe. The first
request performs the upload; subsequent requests with the same key within 24
hours replay the original response verbatim and add an Idempotent-Replay: true
response header. Keys are scoped per API key.
Base64-encoded image data. A data:<mime>;base64, prefix is tolerated and
stripped.Max 6,000,000 characters of base64 (~4.4MB encoded, ~3.3MB decoded). The cap
is on the encoded STRING because the request body limit applies to the JSON
we receive; the decoded image is separately capped at 4MB.
{"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":"6ae895ac0e678b1f73a120dc","collectionId":"e68883c3-7de7-4ef8-8cc6-4a39d6498073","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae895ac0e678b1f73a120dc"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ae8cac0fd92378ebc2edf83","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/uploads/upload-image","slug":"/api-reference/uploads/upload-image","pageMetadata":{"title":"Upload Image","api":"POST /uploads/images","description":"Upload an image to Gomry's storage and get back a hosted URL","href":"/api-reference/uploads/upload-image"},"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: \"Upload an image to Gomry’s storage and get back a hosted URL\"\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={code:`code`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Heading,ParamField,ResponseField,Table,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Uploads an image to Gomry’s own storage and returns a permanent public URL.`}),`\n`,_jsxs(_components.p,{children:[`This is the write-then-reference counterpart to the image fields elsewhere in\nthe API: `,_jsx(_components.code,{children:`cover_img`}),` on an event and the photo fields on an experience only ever\naccept a URL you already have hosted. This endpoint does the hosting.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This endpoint does NOT attach the image to anything.`}),` Take the `,_jsx(_components.code,{children:`url`}),` it\nreturns and set it yourself with `,_jsx(_components.code,{children:`PATCH /v1/events/{eventId}`}),` (`,_jsx(_components.code,{children:`cover_img`}),`) or\n`,_jsx(_components.code,{children:`PATCH /v1/experiences/{experience_id}`}),` (photos).`]}),`\n`,_jsxs(_components.p,{children:[`Requires the `,_jsx(_components.code,{children:`events:write`}),` `,_jsx(_components.strong,{children:`or`}),` the `,_jsx(_components.code,{children:`experiences:write`}),` scope. There is no\nseparate `,_jsx(_components.code,{children:`uploads`}),` scope: uploading is only useful in service of one of those\ntwo resources.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The returned URL is permanent, public and unauthenticated — anyone with the\nlink can open it, and there is no delete endpoint. Only upload images you\nintend to publish.`})}),`\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 retries safe. The first\nrequest performs the upload; subsequent requests with the same key within 24\nhours replay the original response verbatim and add an `,_jsx(_components.code,{children:`Idempotent-Replay: true`}),`\nresponse header. Keys are scoped per API key.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`image_base64`,type:`string`,required:true,id:`param-image-base64`,children:[_jsxs(_components.p,{children:[`Base64-encoded image data. A `,_jsx(_components.code,{children:`data:\u003cmime>;base64,`}),` prefix is tolerated and\nstripped.`]}),_jsx(_components.p,{children:`Max 6,000,000 characters of base64 (~4.4MB encoded, ~3.3MB decoded). The cap\nis on the encoded STRING because the request body limit applies to the JSON\nwe receive; the decoded image is separately capped at 4MB.`})]}),`\n`,_jsx(ParamField,{body:`content_type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`MIME type of the image. One of `,_jsx(_components.code,{children:`image/jpeg`}),`, `,_jsx(_components.code,{children:`image/png`}),`, `,_jsx(_components.code,{children:`image/webp`}),`,\n`,_jsx(_components.code,{children:`image/gif`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url`,children:_jsxs(_components.p,{children:[`The hosted URL of the uploaded image. Use this as `,_jsx(_components.code,{children:`cover_img`}),` or a photo URL.`]})}),`\n`,_jsx(ResponseField,{name:`content_type`,type:`string`,id:`param-content-type-1`,children:_jsx(_components.p,{children:`The stored MIME type.`})}),`\n`,_jsx(ResponseField,{name:`size_bytes`,type:`integer`,id:`param-size-bytes`,children:_jsx(_components.p,{children:`Size of the decoded image in bytes.`})}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`201 Created`}),` on success.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Error`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Invalid JSON body`})}),_jsx(_components.td,{children:`The request body was not valid JSON.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Validation failed`})}),_jsxs(_components.td,{children:[`Missing or malformed `,_jsx(_components.code,{children:`image_base64`}),` / `,_jsx(_components.code,{children:`content_type`}),`, or base64 over the length cap.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsxs(_components.td,{children:[`The API key has neither `,_jsx(_components.code,{children:`events:write`}),` nor `,_jsx(_components.code,{children:`experiences:write`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`413`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`The decoded image exceeds the 4MB limit.`})]})]})]})]})}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":"Upload Image","api":"POST /uploads/images","description":"Upload an image to Gomry's storage and get back a hosted URL","href":"/api-reference/uploads/upload-image"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,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);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Uploads an image to Gomry’s own storage and returns a permanent public URL.`}),`\n`,_jsxs(_components.p,{children:[`This is the write-then-reference counterpart to the image fields elsewhere in\nthe API: `,_jsx(_components.code,{children:`cover_img`}),` on an event and the photo fields on an experience only ever\naccept a URL you already have hosted. This endpoint does the hosting.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`This endpoint does NOT attach the image to anything.`}),` Take the `,_jsx(_components.code,{children:`url`}),` it\nreturns and set it yourself with `,_jsx(_components.code,{children:`PATCH /v1/events/{eventId}`}),` (`,_jsx(_components.code,{children:`cover_img`}),`) or\n`,_jsx(_components.code,{children:`PATCH /v1/experiences/{experience_id}`}),` (photos).`]}),`\n`,_jsxs(_components.p,{children:[`Requires the `,_jsx(_components.code,{children:`events:write`}),` `,_jsx(_components.strong,{children:`or`}),` the `,_jsx(_components.code,{children:`experiences:write`}),` scope. There is no\nseparate `,_jsx(_components.code,{children:`uploads`}),` scope: uploading is only useful in service of one of those\ntwo resources.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`The returned URL is permanent, public and unauthenticated — anyone with the\nlink can open it, and there is no delete endpoint. Only upload images you\nintend to publish.`})}),`\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 retries safe. The first\nrequest performs the upload; subsequent requests with the same key within 24\nhours replay the original response verbatim and add an `,_jsx(_components.code,{children:`Idempotent-Replay: true`}),`\nresponse header. Keys are scoped per API key.`]}),`\n`,_jsx(Heading,{level:`2`,id:`request-body`,children:`Request Body`}),`\n`,_jsxs(ParamField,{body:`image_base64`,type:`string`,required:true,id:`param-image-base64`,children:[_jsxs(_components.p,{children:[`Base64-encoded image data. A `,_jsx(_components.code,{children:`data:\u003cmime>;base64,`}),` prefix is tolerated and\nstripped.`]}),_jsx(_components.p,{children:`Max 6,000,000 characters of base64 (~4.4MB encoded, ~3.3MB decoded). The cap\nis on the encoded STRING because the request body limit applies to the JSON\nwe receive; the decoded image is separately capped at 4MB.`})]}),`\n`,_jsx(ParamField,{body:`content_type`,type:`string`,required:true,id:`param-content-type`,children:_jsxs(_components.p,{children:[`MIME type of the image. One of `,_jsx(_components.code,{children:`image/jpeg`}),`, `,_jsx(_components.code,{children:`image/png`}),`, `,_jsx(_components.code,{children:`image/webp`}),`,\n`,_jsx(_components.code,{children:`image/gif`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`response`,children:`Response`}),`\n`,_jsx(ResponseField,{name:`url`,type:`string`,id:`param-url`,children:_jsxs(_components.p,{children:[`The hosted URL of the uploaded image. Use this as `,_jsx(_components.code,{children:`cover_img`}),` or a photo URL.`]})}),`\n`,_jsx(ResponseField,{name:`content_type`,type:`string`,id:`param-content-type-1`,children:_jsx(_components.p,{children:`The stored MIME type.`})}),`\n`,_jsx(ResponseField,{name:`size_bytes`,type:`integer`,id:`param-size-bytes`,children:_jsx(_components.p,{children:`Size of the decoded image in bytes.`})}),`\n`,_jsxs(_components.p,{children:[`Returns `,_jsx(_components.code,{children:`201 Created`}),` on success.`]}),`\n`,_jsx(Heading,{level:`2`,id:`errors`,children:`Errors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Status`}),_jsx(_components.th,{children:`Error`}),_jsx(_components.th,{children:`When`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Invalid JSON body`})}),_jsx(_components.td,{children:`The request body was not valid JSON.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`400`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`Validation failed`})}),_jsxs(_components.td,{children:[`Missing or malformed `,_jsx(_components.code,{children:`image_base64`}),` / `,_jsx(_components.code,{children:`content_type`}),`, or base64 over the length cap.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`403`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`insufficient_scope`})}),_jsxs(_components.td,{children:[`The API key has neither `,_jsx(_components.code,{children:`events:write`}),` nor `,_jsx(_components.code,{children:`experiences:write`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`413`})}),_jsx(_components.td,{children:`—`}),_jsx(_components.td,{children:`The decoded image exceeds the 4MB limit.`})]})]})]}),`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`8`,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:`8`,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:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://www.gomry.com/api/v1/uploads/images`}),_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:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$GOMRY_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_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:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: upload-poster-2026-03-01\"`}),_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:` \"image_base64\": \"iVBORw0KGgoAAAANSUhEUgAA...\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"content_type\": \"image/png\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`201`,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:` \"url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://storage.googleapis.com/gomry/uploads/org_abc123/9f2c1e.png\"`}),_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:` \"content_type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"image/png\"`}),_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:` \"size_bytes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`248192`})]}),`\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":"Upload Image","api":"POST /uploads/images","description":"Upload an image to Gomry's storage and get back a hosted URL","href":"/api-reference/uploads/upload-image"}}}},"mdxExtracts":{"tableOfContents":[{"title":"Idempotency","slug":"idempotency","depth":2,"children":[]},{"title":"Request Body","slug":"request-body","depth":2,"children":[]},{"title":"Response","slug":"response","depth":2,"children":[]},{"title":"Errors","slug":"errors","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=\"8\">\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:#0A3069;--shiki-dark:#CE9178\"> https://www.gomry.com/api/v1/uploads/images\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\"> \"Authorization: Bearer \u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#9CDCFE\">$GOMRY_API_KEY\u003c/span>\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:#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\"> -H\u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"Idempotency-Key: upload-poster-2026-03-01\"\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\"> \"image_base64\": \"iVBORw0KGgoAAAANSUhEUgAA...\",\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> \"content_type\": \"image/png\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\"> }'\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=\"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\"> \"url\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"https://storage.googleapis.com/gomry/uploads/org_abc123/9f2c1e.png\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"content_type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"image/png\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"size_bytes\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">248192\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":"Upload Image","path":"/uploads/images","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":{"image_base64":[{"type":"string","description":"Base64-encoded image data. A `data:\u003cmime>;base64,` prefix is tolerated and stripped. Max 6,000,000 characters of base64 (~4.4MB encoded, ~3.3MB decoded). The cap is on the encoded STRING because the request body limit applies to the JSON we receive; the decoded image is separately capped at 4MB.","required":true}],"content_type":[{"type":"string","description":"MIME type of the image. One of `image/jpeg` , `image/png` , `image/webp` , `image/gif` .","required":true}]}}],"examples":{"example":{"value":{"image_base64":"\u003cstring>","content_type":"\u003cstring>"}}}}}},"response":{"200":{"application/json":{"schemaArray":[{"type":"object","properties":{"url":[{"type":"string","description":"The hosted URL of the uploaded image. Use this as `cover_img` or a photo URL."}],"content_type":[{"type":"string","description":"The stored MIME type."}],"size_bytes":[{"type":"integer","description":"Size of the decoded image in bytes."}]}}],"examples":{"example":{"value":{"url":"\u003cstring>","content_type":"\u003cstring>","size_bytes":123}}}}}},"deprecated":false}},"jsLinks":[],"subdomain":"gomry","siteName":"Gomry API","title":"Upload Image - Gomry API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-18T16:09:10.887Z","originalFileLocation":"api-reference/uploads/upload-image.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=\"Upload an image to Gomry\u0026#x27;s storage and get back a hosted URL\">\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=\"Upload Image - Gomry API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Upload an image to Gomry\u0026#x27;s storage and get back a hosted URL\">\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/uploads/upload-image\">\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=Uploads\u0026amp;title=Upload+Image\u0026amp;description=Upload+an+image+to+Gomry%27s+storage+and+get+back+a+hosted+URL\u0026amp;theme=09718fab176c688eeda09506\u0026amp;signature=0107694edd246543ebc46df11bbdfba563b2f25e5e024d9592fd2c078dfd4287\">\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=\"Upload Image - Gomry API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Upload an image to Gomry\u0026#x27;s storage and get back a hosted URL\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gomry.mintlify.app/_mintlify/api/og/v2?division=Uploads\u0026amp;title=Upload+Image\u0026amp;description=Upload+an+image+to+Gomry%27s+storage+and+get+back+a+hosted+URL\u0026amp;theme=09718fab176c688eeda09506\u0026amp;signature=0107694edd246543ebc46df11bbdfba563b2f25e5e024d9592fd2c078dfd4287\">\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/uploads/upload-image\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/uploads/upload-image.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/uploads/upload-image#webpage\",\"url\":\"https://docs.gomry.com/api-reference/uploads/upload-image\",\"name\":\"Upload Image\",\"description\":\"Upload an image to Gomry's storage and get back a hosted URL\",\"dateModified\":\"2026-09-18T16:09:10.887Z\",\"isPartOf\":{\"@id\":\"https://docs.gomry.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gomry.com/api-reference/uploads/upload-image#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gomry.com/api-reference/uploads/upload-image#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Gomry API\",\"item\":\"https://docs.gomry.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Upload Image\",\"item\":\"https://docs.gomry.com/api-reference/uploads/upload-image\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.gomry.com/api-reference/uploads/upload-image#apireference\",\"headline\":\"Upload Image\",\"name\":\"Upload Image\",\"description\":\"Upload an image to Gomry's storage and get back a hosted URL\",\"url\":\"https://docs.gomry.com/api-reference/uploads/upload-image\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gomry.com/api-reference/uploads/upload-image#webpage\"},\"dateModified\":\"2026-09-18T16:09:10.887Z\",\"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}","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}","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","description":"Recent events in exactly the shape a subscription receives","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":"Upload Image - 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"]}