Skip to main content
POST
/
api
/
v2
/
search_engines
/
{hashid}
/
_process
Process
curl --request POST \
  --url https://{search_zone}-api.doofinder.com/api/v2/search_engines/{hashid}/_process \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "callback_url": "https://example_url.com"
}
'
{
  "href": "/api/v2/search_engines/{hashid}/_process",
  "message": "PROCESS_CREATED"
}

Authorizations

Authorization
string
header
required

Doofinder API key. Pass it as: Authorization: Token <api_key>

Path Parameters

hashid
string
required

Unique id of a search engine.

Pattern: ^[a-f0-9]{32}$

Body

application/json
callback_url
string<url>

When the tasks finishes, the systems calls to the provided URL giving the final status of the task. URL must use HTTPS. The call will be a POST, with the data result on the body.

Example:

"https://example_url.com"

Response

Tasks succesfully scheduled.

Task succesfylly scheduled.

href
string

Url to call to, gets the state of the indexation process (GET).

message
string

Result of the task created.