GitHub
Create GitHub Pull Request
Open a new pull request from a head branch into a base branch.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| ownerstring · required | string | required | — |
| repostring · required | string | required | — |
| titlestring · required | string | required | — |
| bodystring · optional | string | optional | — |
| headstring · required | string | required | The branch containing the changes to merge. Or bind a {{variable}} holding a branch name. |
| basestring · optional | string | optional | The branch to merge the changes into (defaults to main). Or bind a {{variable}} holding a branch name. |
| draftboolean · optional | boolean | optional | — |
Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "API response data"
}
}
}