Skip to main content
POST
/
projects
Create project
curl --request POST \
  --url https://stage-api.neurapulse.com/projects \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "fitForDutyResponse": "<string>"
}
'
{
  "name": "<string>",
  "fitForDutyResponse": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "dateCreated": "2023-11-07T05:31:56Z",
  "lastModified": "2023-11-07T05:31:56Z",
  "state": "Draft"
}

Authorizations

x-api-key
string
header
required

API key generated in the Portal (Workspace Settings → API Keys).

Body

Project data to create.

name
string
required

The name of the project.

Maximum string length: 50
fitForDutyResponse
string
required

Define actions for high-risk results. For example, you can write 'Interview the test taker', or enter a URL.

Maximum string length: 1000

Response

OK

name
string
required

The name of the project.

Maximum string length: 50
fitForDutyResponse
string
required

Define actions for high-risk results. For example, you can write 'Interview the test taker', or enter a URL.

Maximum string length: 1000
id
string<uuid>

The unique identifier of the project.

dateCreated
string<date-time>

The date the project was created.

lastModified
string<date-time>

The date the project was last modified.

state
enum<string>

The state of the project.

Available options:
Draft,
Active,
Inactive,
Deleted,
ActiveExpired