Assign a person to a card
Puts a person on the card. They must be a member of the organization. Assigning someone already on the card changes nothing. An assignee cannot approve the card in review.
Requires the board:card:write scope.
Authorization
Parameters
Path parameters
cardIDstring requiredThe card's ID.
Request body required
user_idstring required
Responses
204
The person is on the card.
400
The body is not JSON for this endpoint, or carries a field it does not
know (INVALID_BODY), or a field breaks a rule (VALIDATION_ERROR;
the message says which).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
The card is not one the caller can see (NOT_FOUND), or the person is not in this organization (USER_NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
503
The person's membership of the organization could not be checked right now (MEMBERSHIP_CHECK_UNAVAILABLE). Retry shortly.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X POST 'https://evohub.io/api/v1/board/cards/crd_9f2e4d6c8b0a1e3f5d7c9b1a3e5f7d90/assignees' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"user_id": "usr_6c1d2e3f-4a5b-4c6d-8e7f-9a0b1c2d3e4f"
}'
