POST /?api=1application/x-www-form-urlencoded or multipart/form-dataurl target URLOptional fields
namepasswordpermanent1, true, yes, or on to keep the link after first use.responsejson for a JSON response.Responses
text/plain response body containing only the short link.{"link":"https://...","name":"example","target":"https://...","permanent":true}application/json response with an error message.curl -F "name=example" -F "url=https://example.com/some/path" -F "permanent=1" -F "response=json" "https://share.mad-gamer.com/?api=1"