POST
/api/v1/documents/{slug}/embedsResolve embedded items
What you may see of each Markdrop item embedded in a page you can read. Each item is checked with its own access: one you can't open comes back without its title, excerpt or link.
Token optionalOr edit secret60 per minute per IP
Guide: Embed and mention
Code samples and Try itPath parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Headers
#X-Read-PasswordstringThe password of a password-protected document.
X-Edit-SecretstringThe document's edit secret (
sk_…), for a document published without an account. See Edit key.X-Markdrop-WorkspacestringA workspace's id: answer only if the document is in that workspace, else
404. Workspace domains send it; you rarely need it.
Request body
#application/json, required
slugsarray of stringRequiredAddresses of the embedded items, up to 100. Up to 100 items.
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.