Skip to main content
POST
/
documents
/
{url}
Upload a new document to a workspace
curl --request POST \
  --url https://api.reqlick.com/documents/{url} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form domain=rqk.sh \
  --form key=null \
  --form name= \
  --form isPublic=true \
  --form 'description=Turn your files into shareable links and connect effortlessly' \
  --form 'title=Instant File Sharing Link with Reqlick' \
  --form image=/_static/thumbnail.png \
  --form expiresAt=null \
  --form password=null \
  --form ios=null \
  --form android=null \
  --form utm_source=null \
  --form utm_medium=null \
  --form utm_campaign=null \
  --form utm_term=null \
  --form utm_content=null \
  --form ref=null \
  --form file=@example-file \
  --form card=@example-file
{
  "document_id": "<string>",
  "link_id": "<string>",
  "link_url": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

url
string
required

Query Parameters

subscriptionId
string
required

Body

multipart/form-data
file
file
card
file
domain
string
default:rqk.sh
key
string
name
string | null
default:""
isPublic
boolean | null
description
string
default:Turn your files into shareable links and connect effortlessly
title
string | null
default:Instant File Sharing Link with Reqlick
image
string | null
default:/_static/thumbnail.png
expiresAt
string<date-time> | null
password
string | null
ios
string | null
android
string | null
utm_source
string | null
utm_medium
string | null
utm_campaign
string | null
utm_term
string | null
utm_content
string | null
ref
string | null

Response

document_id
string