curl --request POST \
--url https://api.avidoai.com/v1/quickstarts/assignments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>' \
--data '
{
"stage": "KB_REVIEW",
"assignedTo": "user_789012",
"topicId": "789e4567-e89b-12d3-a456-426614174000"
}
'{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"applicationId": "456e4567-e89b-12d3-a456-426614174000",
"stage": "KB_REVIEW",
"assignedTo": "user_789012",
"topicId": "789e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"assignedUser": {
"id": "user_789012",
"name": "John Doe",
"email": "john@example.com",
"image": "https://example.com/avatar.jpg"
}
}
}Creates a new assignment linking a user to a topic.
curl --request POST \
--url https://api.avidoai.com/v1/quickstarts/assignments \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>' \
--data '
{
"stage": "KB_REVIEW",
"assignedTo": "user_789012",
"topicId": "789e4567-e89b-12d3-a456-426614174000"
}
'{
"data": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"orgId": "org_123456",
"applicationId": "456e4567-e89b-12d3-a456-426614174000",
"stage": "KB_REVIEW",
"assignedTo": "user_789012",
"topicId": "789e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"assignedUser": {
"id": "user_789012",
"name": "John Doe",
"email": "john@example.com",
"image": "https://example.com/avatar.jpg"
}
}
}Your unique Avido API key
Your unique Avido Application ID
Request body for creating a new assignment
The review stage this assignment belongs to
KB_REVIEW, TASKS_TOPICS_REVIEW "KB_REVIEW"
User ID to assign to
1 - 255"user_789012"
Topic ID to assign
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"789e4567-e89b-12d3-a456-426614174000"
Successfully created assignment
Successful response containing the assignment data
An assignment linking a user to a topic for a review stage
Show child attributes