Tags
A generic tag that could be be applied to candidates
Create a tag
POST
https://endorsed.ai/api/v1/tags
Creates a new tag and returns the tag's UUID id. Tags are also unique by the following fields (tag_type
, is_standardized
, and name
) as these fields serve as a composite key in addition to the unique id
field.
Headers
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
tag_type*
string
The type of the tag:
preferred_role_title
,
experience_based_role_title
, or
specialty_name
is_standardized*
boolean
Whether the tag is a organization-wide standardized tag (as opposed to generated by users).
name*
string
The name of the tag
description
string
Human-readable description of the tag
{
"is_error": false,
"result": {
"id": "ec8e6d58-65f5-44e5-998C-6b50701164fd"
}
}
Examples:
curl -X POST "${BASE_URL}/api/v1/tags" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}" \
-d '{
"tag_type": "specialty_name",
"is_standardized": true,
"name": "Videographer",
"description": "Adept in filming and operating camera equipment"
}'
Get an existing tag
GET
https://endorsed.ai/api/v1/tags/{id}
Get an existing tag by it's UUID id.
Path Parameters
id*
string
UUID id of the tag
Headers
Authorization*
string
Authorization header containing the Bearer Access Token from the /auth/tokens
endpoint. Example: Bearer <ACCESS_TOKEN>
{
"is_error": false,
"result": {
"id": "ec8e6d58-65f5-44e5-998C-6b50701164fd",
"tag_type": "specialty_name",
"is_standardized": true,
"name": "Videographer",
"description": "Adept in filming and operating camera equipment",
"created_at": "2023-09-25T22:06:01.000Z"
}
}
Examples:
curl -X GET "${BASE_URL}/api/v1/tags/ec8e6d58-65f5-44e5-998c-6b50701164fd" \
-H "Authorization: Bearer ${ACCESS_TOKEN}"
Delete an existing tag
DELETE
https://endorsed.ai/api/v1/tags/{id}
Deletes an existing tag by it's UUID id.
Path Parameters
id*
string
UUID id of the tag
Headers
Authorization*
string
Authorization header containing the Bearer Access Token from the /auth/tokens
endpoint. Example: Bearer <ACCESS_TOKEN>
{
"is_error": false,
"result": {
"id": "ec8e6d58-65f5-44e5-998C-6b50701164fd"
}
}
Examples:
curl -X DELETE "${BASE_URL}/api/v1/tags/ec8e6d58-65f5-44e5-998c-6b50701164fd" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${ACCESS_TOKEN}"
Last updated