API → ShortlinksCreate 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": "OiXFgWD3hAJZNm3kKPoNNJVqcdN",
"restrict_to_org": true,
"url": "https://Ekeusia.avGuZJdZjpM.com/1Z/U0cEXCK"
}'
201 Created
Response{
"key": "5",
"url": "https://QGo.CntkVeEz93.com/9/uW7bqXF"
}