Documents API

Create with template properties

POST /api/documents/find_or_create.json

### Request

Headers



Route

POST /api/documents/find_or_create.json

Body

{"documents":[{"text":"text1","source":"example1","template_id":16,"template_properties":{"extra":"example text 1"}},{"text":"text2","source":"example2","template_id":16,"template_properties":{"extra":"example text 2"}}],"email":"researcher71@university.edu","auth_token":"a31g_Y7VhW_uNgCiSBMj"}

Response

Headers

Content-Type: application/json; charset=utf-8

Status

200 OK

Body

{
  "ids": [
    511,
    512
  ]
}