Skip to main content
POST
/bitbucket/pullrequests

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
pull
string
required
Minimum string length: 1
timeout
integer
default:300
Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:BitbucketPullRequest
pull_title
string
default:""
text
string | null
state
string
default:""
is_draft
boolean
default:false
comment_count
integer
default:0
task_count
integer
default:0
close_source_branch
boolean
default:false
created_at
string
default:""
updated_at
string
default:""
author
object | null
closed_by
object | null
merge_commit_hash
string | null
reason
string
default:""
source_branch
string
default:""
source_commit_hash
string
default:""
source_repository_alias
string | null
destination_branch
string
default:""
destination_commit_hash
string
default:""
destination_repository_alias
string | null
reviewers
object[]
participants
object[]
web_url
string
default:""