> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Labels To Pull Request

Add labels to an issue.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [GitHub documentation](https://docs.github.com/rest/reference/issues#add-labels-to-an-issue).

## Parameters

| Parameter | Description |
| - | - |
| Labels | An array of label names to add to the issue's existing labels. **Note**: For more information about the `Labels` parameter, visit [GitHub API documentation](https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#add-labels-to-an-issue). |
| Owner | The account owner of the repository. The name is not case sensitive. |
| Pull Request Number | The pull request number, eg. `https://github.com/{owner}/{repo}/pull/{pull request number}`. |
| Repo | The name of the repository. The name is not case sensitive. |

## Example Output

```json theme={"dark"}
{
	"value": [
		{
			"color": "f29513",
			"default": true,
			"description": "Something isn't working",
			"id": 208045946,
			"name": "bug",
			"node_id": "MDU6TGFiZWwyMDgwNDU5NDY=",
			"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug"
		},
		{
			"color": "a2eeef",
			"default": false,
			"description": "New feature or request",
			"id": 208045947,
			"name": "enhancement",
			"node_id": "MDU6TGFiZWwyMDgwNDU5NDc=",
			"url": "https://api.github.com/repos/octocat/Hello-World/labels/enhancement"
		}
	]
}
```

## Workflow Library Example

[Add Labels to Pull Request with Github and Send Results Via Email](https://library.blinkops.com/workflows/add-labels-to-pull-request-with-github-and-send-results-via-email)

![Workflow Library](https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max\&auto=format\&n=ojHYuDeYX5FWuN8a\&q=85\&s=b8af968e71438a9499c3223c9bd29fb2)

Preview this Workflow on desktop

[https://library.blinkops.com/workflows/add-labels-to-pull-request-with-github-and-send-results-via-email/canvas](https://library.blinkops.com/workflows/add-labels-to-pull-request-with-github-and-send-results-via-email/canvas)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.