Get Document

This endpoint returns information for a Frase Document. You must know the unique Document iD, and have permission to access it.

Endpoint:

https://api.frase.io/api/v1/get_document_id

Request:

This is a POST request.

You must include your API key as a "token" field in your request header.

The request body takes the following arguments:

Argument Description
doc_id the ID of your document. string

Request Body Example:

{
   "doc_id" : "112892"
}

Response

If successful, the response will include the following fields:

Field Description
doc_owner user ID. integer
user_name user email. integer
date_created date document was created
last_edited date document was last edited
title document title
query target search query for document
html document full html