Adds a document and tags the profile in it. Parameters can be posted as form data or JSON.


Requires POST.


Name Type Description Required
date Date Document's date in JSON form false
description String Document's description false
file String Base64 encoded file to create document from false
labels String Document's comma separated labels false
source_url String Source URL for the document false
text String Text to create document from false
title String Document's title true

Returned Fields

Name Type Description
content_type String Document's original content type
created_on String Document's creation date
date Date Document's date
description String Document's description
guid String Old globally unique identifier
id String Document's id
labels Array of Strings Document's labels in a comma separated list
page_count Number Number of pages in the document
sizes DocumentImageSizeMap URLs to the document's sizes
source_url String Source URL for the document
title String Document's title
url String Document's API URL
Note: Blank fields will not be returned to save bandwidth.