API → Users → Create a shortlink for a user
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
Returns
- 201 Created
successful creation
Name
Type
Req.
post
/user/shortlinks$ curl -X POST "https://api.zoo.dev/user/shortlinks" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"password": "46W8URQ",
"restrict_to_org": false,
"url": "https://m4ici.T.com//XoI0f"
}'
201 Created
Response{
"key": "",
"url": "https://Ve16Q.WcffQu.com/WZWWUunq/vOIe"
}