Pipelines

Get list of pipelines by Company ID

SecuritybearerAuth
Request
query Parameters
company
required
string
Example: company=54fb80af-576c-4fdc-ba4f-b596c83f15a1
limit
number
Default: 10
Example: limit=10
offset
number
Default: 0
Example: offset=3
Responses
200

Response object of pipelines requests

401

No or invalid API key provided to the request

404

Could not find the company or the user does not have permissions to retrieve data

500

Error occurred while retrieving pipelines

get/pipelines
Request samples
curl -i -X GET \
  'https://api.kinsta.com/v2/pipelines?company=54fb80af-576c-4fdc-ba4f-b596c83f15a1&limit=10&offset=3' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Response samples
application/json
{
  • "company": {
    }
}

Create preview app

SecuritybearerAuth
Request
path Parameters
id
required
string <uuid>
Example: 54fb80af-576c-4fdc-ba4f-b596c83f15a1
Request Body schema: application/json
required
branch
required
string
pull_request_number
number
Responses
200

Preview app created successfully

401

No or invalid API key provided to the request

500

Error occurred while creating a preview app

post/pipelines/{id}/create-preview-app
Request samples
application/json
{
  • "branch": "main",
  • "pull_request_number": 14
}
Response samples
application/json
{
  • "app": {
    }
}