POST
/
links
/
new
/
{workspace}
curl --request POST \
  --url https://api.reqlick.com/links/new/{workspace} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form domain=rqk.sh \
  --form key=null \
  --form url=https://example.com \
  --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
{
  "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

workspace
string
required

The URL of the workspace where the short link will be created

Query Parameters

subscriptionId
string
required

The subscription ID associated with the workspace

Body

multipart/form-data

Response

200
application/json
Link or QR code link created successfully

The response is of type object.