Add assignees to an issue

POST {{baseUrl}}/repos/:owner/:repo/issues/:issue_number/assignees

Adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced.

Request Body

{"assignees"=>["<string>", "<string>"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: Created

{&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDU6SXNzdWUx&quot;,&quot;url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/issues/1347&quot;,&quot;repository_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World&quot;,&quot;labels_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}&quot;,&quot;comments_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/issues/1347/comments&quot;,&quot;events_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/issues/1347/events&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat/Hello-World/issues/1347&quot;,&quot;number&quot;:1347,&quot;state&quot;:&quot;open&quot;,&quot;title&quot;:&quot;Found a bug&quot;,&quot;body&quot;:&quot;I&#39;m having a problem with this.&quot;,&quot;user&quot;:{&quot;login&quot;:&quot;octocat&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/octocat_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/octocat&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/octocat/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/octocat/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/octocat/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/octocat/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/octocat/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/octocat/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/octocat/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/octocat/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/octocat/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false},&quot;labels&quot;:[{&quot;id&quot;:208045946,&quot;node_id&quot;:&quot;MDU6TGFiZWwyMDgwNDU5NDY=&quot;,&quot;url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/labels/bug&quot;,&quot;name&quot;:&quot;bug&quot;,&quot;description&quot;:&quot;Something isn&#39;t working&quot;,&quot;color&quot;:&quot;f29513&quot;,&quot;default&quot;:true}],&quot;assignee&quot;:{&quot;login&quot;:&quot;octocat&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/octocat_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/octocat&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/octocat/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/octocat/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/octocat/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/octocat/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/octocat/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/octocat/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/octocat/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/octocat/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/octocat/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false},&quot;assignees&quot;:[{&quot;login&quot;:&quot;octocat&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/octocat_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/octocat&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/octocat/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/octocat/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/octocat/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/octocat/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/octocat/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/octocat/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/octocat/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/octocat/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/octocat/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false},{&quot;login&quot;:&quot;hubot&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/hubot_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/hubot&quot;,&quot;html_url&quot;:&quot;https://github.com/hubot&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/hubot/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/hubot/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/hubot/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/hubot/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/hubot/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/hubot/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/hubot/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/hubot/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/hubot/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:true},{&quot;login&quot;:&quot;other_user&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/other_user_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/other_user&quot;,&quot;html_url&quot;:&quot;https://github.com/other_user&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/other_user/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/other_user/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/other_user/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/other_user/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/other_user/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/other_user/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/other_user/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/other_user/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/other_user/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false}],&quot;milestone&quot;:{&quot;url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/milestones/1&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat/Hello-World/milestones/v1.0&quot;,&quot;labels_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/milestones/1/labels&quot;,&quot;id&quot;:1002604,&quot;node_id&quot;:&quot;MDk6TWlsZXN0b25lMTAwMjYwNA==&quot;,&quot;number&quot;:1,&quot;state&quot;:&quot;open&quot;,&quot;title&quot;:&quot;v1.0&quot;,&quot;description&quot;:&quot;Tracking milestone for version 1.0&quot;,&quot;creator&quot;:{&quot;login&quot;:&quot;octocat&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/octocat_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/octocat&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/octocat/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/octocat/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/octocat/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/octocat/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/octocat/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/octocat/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/octocat/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/octocat/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/octocat/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false},&quot;open_issues&quot;:4,&quot;closed_issues&quot;:8,&quot;created_at&quot;:&quot;2011-04-10T20:09:31Z&quot;,&quot;updated_at&quot;:&quot;2014-03-03T18:58:10Z&quot;,&quot;closed_at&quot;:&quot;2013-02-12T13:22:01Z&quot;,&quot;due_on&quot;:&quot;2012-10-09T23:39:01Z&quot;},&quot;locked&quot;:true,&quot;active_lock_reason&quot;:&quot;too heated&quot;,&quot;comments&quot;:0,&quot;pull_request&quot;:{&quot;url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/pulls/1347&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat/Hello-World/pull/1347&quot;,&quot;diff_url&quot;:&quot;https://github.com/octocat/Hello-World/pull/1347.diff&quot;,&quot;patch_url&quot;:&quot;https://github.com/octocat/Hello-World/pull/1347.patch&quot;},&quot;closed_at&quot;:null,&quot;created_at&quot;:&quot;2011-04-22T13:33:48Z&quot;,&quot;updated_at&quot;:&quot;2011-04-22T13:33:48Z&quot;,&quot;author_association&quot;:&quot;collaborator&quot;}