POST
/
documents
/
{url}
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
{
  "document_id": "<string>",
  "link_id": "<string>",
  "link_url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

url
string
required

The URL of the workspace where the document will be uploaded

Query Parameters

subscriptionId
string
required

The subscription ID

Body

multipart/form-data

Response

200
application/json
Successfully uploaded and created a new document

The response is of type object.