Skip to main content
POST
/
antigens
Create Antigen
curl --request POST \
  --url https://api.example.com/antigens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "sequence": "<string>",
  "description": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "sequence": "<string>",
  "description": "<string>",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload to add a new antigen target to a project.

project_id
string<uuid>
required
name
string
required
Required string length: 1 - 120
sequence
string
required
description
string | null

Response

Successful Response

An antigen as returned by the API.

id
string<uuid>
required
project_id
string<uuid>
required
name
string
required
sequence
string
required
description
string | null
required
created_at
string<date-time>
required