Skip to main content
POST
Create a new index

Authorizations

Authorization
string
header
required

Basic authentication using an API key, e.g. {Authorization: Bearer 75z0bb4fbdf97b7e4111ff6c0015471094155f91}. You can find your API key within the Settings page of the Affinda web app. You can obtain an API key by signing up for a free trial.

Body

application/json

Index to create

name
string
required

Unique index name

Example:

"my-index"

docType
enum<string>
Available options:
resumes,
job_descriptions

Response

Returns the created index

name
string
required

Unique index name

Example:

"my-index"

docType
enum<string>
required
Available options:
resumes,
job_descriptions
user
object
required
read-only

The user who created this index