GET
/api/v1/documents/{slug}/slug-checkCheck an address
Whether a document could move to new_slug, without changing anything: available, or a code that says why not (same, invalid, reserved, taken or folder), plus the links it would have on markdrop.in and on its workspace's domain. For people who may change its address.
Token optionalOr edit secret60 per minute per IP
Guide: Addresses
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Query parameters
#new_slugstringRequiredThe address to check. Up to 100 characters.
Headers
#X-Edit-SecretstringThe document's edit secret (
sk_…), for a document published without an account. See Edit key.
Responses
#200OK.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.