Documents API

Create

POST /api/documents/find_or_create.json

### Request

Headers



Route

POST /api/documents/find_or_create.json

Body

{"documents":[{"text":"text1","source":"example1"},{"text":"text2","source":"example2"}],"email":"researcher72@university.edu","auth_token":"YtwzZxBCsdsnp2RjC8UA"}

Response

Headers

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

Status

200 OK

Body

{
  "ids": [
    513,
    514
  ]
}