- public = 1
- private = 2
- authorized = 3
you do not need to log in to create a link or follow it
request body in postman
{
"url":"https://www.youtube.com/",
"alias_url":"youtube",
"type_id":1
}
in postman
or
you need to log in to create private and authorized links
request body in postman
authorized:
{
"url":"https://www.youtube.com/",
"alias_url":"youtube",
"type_id":3
}
private:
{
"url":"https://www.youtube.com/",
"alias_url":"youtube",
"type_id":2
}
in postman
or