Embedding Utils
Create Document Embed
Creates an embed resource associated with a particular document. The request must be authenticated with an OAuth 2.0 token that has access to the document being embedded.
post/v1/documents/{id}/embeds
Path parameters
idstring uuid required
ID of the document to be embedded.
Request body
Example request
{
"embedVersion": "snapshot-version"
}Response
OK. Returns a Document Embed Resource containing information about the newly created document embed.
Example response
{
"embedId": "ec890631-c150-461c-992f-b96533aa05f4",
"documentId": "001bd56d-1b10-4196-8ac6-45e3c22bd1c6",
"embedVersion": "snapshot-version",
"created": "2021-10-01T20:49:36.169Z",
"modified": "2021-10-01T20:49:36.169Z"
}