POST
/api
curl \
--request POST 'https://s.jqshuv.com/api' \
--header "Authorization with Header: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"redirect":"string","shortcode":"string","expire":42.0}'
Request examples
{
"redirect": "string",
"shortcode": "string",
"expire": 42.0
}
Response examples (201)
{
"shortcode": "string",
"redirect": "string",
"status": "string"
}
Response examples (400)
{
"status": "shortcode_too_long"
}
Response examples (401)
{
"status": "unauthorized"
}
Response examples (403)
{
"status": "shortcode_blocked"
}
Response examples (409)
{
"status": "shortcode_already_exists"
}