POST
/
v2
/
collections
/
{collectionId}
/
dossier
/
create
Create a dossier
curl --request POST \
  --url https://rest.forestreet.com/v2/collections/{collectionId}/dossier/create \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "query": "<string>"
}'
{
  "agentId": "<string>",
  "taskId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

x-api-key
string
header
required

Pass a static API key for every request, provided by your customer support.

Path Parameters

collectionId
number | null
required

The collection ID to which the new dossier belongs.

Query Parameters

teamId
integer
required

Unique identifier of the team from which a quota should be consumed.

Required range: x >= 1

Body

application/json

Response

200
application/json

Dossier created successfully

The response is of type object.