Copy Page
uploadthefile API documentation
Pages
Create a page
Update a page in place
List pages
Get a page
Rename a page
Delete a page
Unzip & host a page
List a hosted site's files
Apply a batch of file changes
Replace one file
Delete one file
Get page password state
Set page password
Remove page password
Get page expiry
Set page expiry
Get email-gate config
Configure email-gate
Disable email-gate
List or export captured emails
Erase captured emails
Get page display mode
Set page display mode
Get PDF chat availability
Enable PDF chat
Disable PDF chat
Bulk delete pages
Short links
List short links
Create a short link
Bulk update short links
Get a short link
Update a short link
Delete a short link
Get link click history
Domains
List custom domains
Connect a custom domain
Search domain availability
Rebind a domain to a different page
Disconnect a domain
Account
Get account, limits, and usage
Team
List team members
Invite a team member
Revoke a team member
Change a team member's role
Resend a pending invite
AI connectors
Authorization server metadata
Protected resource metadata (MCP endpoint)
Protected resource metadata (RFC 9728 §3.1 path-insertion form)
Register an OAuth client
Authorization endpoint (consent screen)
Consent decision (internal, not a public integration point)
Token endpoint
Revocation endpoint
MCP endpoint
Subjects
List subjects
Create or get a subject
Get a subject
Update a subject
Delete (tombstone) a subject
Subject tokens
Mint a subject token
Revoke a subject's tokens
Sites
List a subject's sites
Create a site for a subject
Get a site
Apply a batch of file changes
Delete a site
List a site's files
Read one file's content
Usage
Per-subject usage for a period
Webhooks
List webhook endpoints
Register a webhook endpoint
Get a webhook endpoint
Update a webhook endpoint
Delete a webhook endpoint
Rotate an endpoint's signing secret
List deliveries (the delivery log)
Replay a delivery
Poll event history (no endpoint required)
Schemas
UploadCreateForm
PlatformSubject
UploadUpdateForm
SubjectCreateRequest
SubdomainName
SubjectPatchRequest
RenamePageRequest
SubjectMintRequest
CreateLinkRequest
SubjectEnvelope
UpdateLinkRequest
SubjectListEnvelope
BulkDeletePagesRequest
SubjectDeleteEnvelope
BulkLinkActionRequest
SubjectMintEnvelope
ClickPoint
SubjectRevokeEnvelope
DisplayMode
Site
SetDisplayModeRequest
SiteCreateRequest
SetPasswordRequest
SitePatchRequest
SetEmailGateRequest
SiteFile
EmailCapture
SiteEnvelope
ConnectDomainRequest
SiteListEnvelope
RebindDomainRequest
SitePatchEnvelope
DomainConnection
SiteDeleteEnvelope
SiteFilesEnvelope
DomainSearchResult
UsageSubject
SiteFileContentEnvelope
LinkCode
UsageSubjectsEnvelope
ExpiryOption
WebhookEventType
ApiPage
WebhookEndpoint
ShortLink
WebhookEndpointCreateRequest
AccountInfo
WebhookEndpointPatchRequest
TeamMember
WebhookEndpointEnvelope
SeatUsage
WebhookEndpointSecretEnvelope
InviteMemberRequest
WebhookEndpointListEnvelope
UpdateMemberRoleRequest
WebhookEndpointDeleteEnvelope
ResendCooldownError
WebhookDelivery
UploadResult
WebhookDeliveryListEnvelope
HostResult
WebhookReplayEnvelope
DeleteResult
WebhookEvent
UpgradeNudge
WebhookEventListEnvelope
UploadResultEnvelope
Error
PageEnvelope
PagesListEnvelope
HostEnvelope
DeleteEnvelope
ProjectFile
LinkEnvelope
ProjectFilesEnvelope
LinksListEnvelope
AccountEnvelope
TeamMembersEnvelope
TeamMemberEnvelope
RevokeMemberEnvelope
BulkAffectedEnvelope
BulkDeletedEnvelope
PagePasswordStateEnvelope
ClickSeriesEnvelope
PagePasswordResultEnvelope
EmailGateStateEnvelope
EmailGateUpdatedEnvelope
EmailGateDisabledEnvelope
CapturesEnvelope
DisplayModeStateEnvelope
DisplayModeResultEnvelope
DeleteCapturesRequest
CapturesDeletedEnvelope
DomainConnectionEnvelope
DomainDeletedEnvelope
ChatAvailabilityEnvelope
DomainSearchEnvelope
DomainsListEnvelope
OAuthError
OAuthAuthorizationServerMetadata
OAuthProtectedResourceMetadata
OAuthClientRegistrationRequest
OAuthClientRegistrationResponse
OAuthTokenRequest
OAuthTokenResponse
UploadCreateForm
Copy Page
{
"file"
:
"string"
,
"name"
:
"mysite"
,
"subdomain"
:
"mysite"
,
"domain"
:
"mysite"
,
"host"
:
"1"
}