Skip to main content
POST
/
createQueue
Create a new merge queue.
curl --request POST \
  --url https://api.trunk.io/v1/createQueue \
  --header 'Content-Type: application/json' \
  --header 'x-api-token: <api-key>' \
  --data '
{
  "repo": {
    "host": "<string>",
    "owner": "<string>",
    "name": "<string>"
  },
  "targetBranch": "<string>",
  "concurrency": 2147483648
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.trunk.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-api-token
string
header
required

Body

application/json
repo
object
required
targetBranch
string
required
mode
enum<string>
Available options:
single,
parallel
concurrency
integer
Required range: 1 <= x <= 4294967295

Response

OK