An association between a candidate and a corresponding tag for which the candidate has
Create a candidate tag
POSThttps://endorsed.ai/api/v1/candidate_tags
Creates a new candidate tag and returns the candidate tag's UUID id. Tags are also unique by the following fields (candidate_id, tag_id, and creation_method) as these fields serve as a composite key in addition to the unique id field.
Headers
Name
Type
Description
Authorization*
string
Authorization header containing the Bearer Access Token from the /auth/tokens endpoint. Example: Bearer <ACCESS_TOKEN>
Content-Type
string
Must be application/json. If not set, defaults to application/json
Request Body
Name
Type
Description
candidate_id*
string
The Candidate UUID from the /candidates entity resource.
tag_id*
string
The Tag UUID from the /tags entity resource.
creation_method*
string
The type of the method the candidate tag was created by:
{
"is_error": true,
"error": {
"code": "INTERNAL_SERVER_ERROR",
"issues": [
{
"message": "An unexpected error occurred on our end. Please try again later, and if the problem persists, contact our support team"
}
]
}
}
{
"is_error": true,
"error": {
"code": "INTERNAL_SERVER_ERROR",
"issues": [
{
"message": "An unexpected error occurred on our end. Please try again later, and if the problem persists, contact our support team"
}
]
}
}
Examples:
curl -X GET "${BASE_URL}/api/v1/candidate_tags/b49fe98f-859d-4da1-92ac-d0a83c2816fa" \
-H "Authorization: Bearer ${ACCESS_TOKEN}"
{
"is_error": true,
"error": {
"code": "INTERNAL_SERVER_ERROR",
"issues": [
{
"message": "An unexpected error occurred on our end. Please try again later, and if the problem persists, contact our support team"
}
]
}
}