Sign in

Create companies

documented

Create new client companies under the agency account.

POST /rest/v2/agency/companiesAgencyno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.woodpecker.co/rest/v2/agency/companies" \
  -X POST \
  -H "x-api-key: {{WOODPECKER_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "x-company-id: {{$company_id}}" \
  -d '{"companies": [{"name": "{{$name1}}"}, {"name": "{{$name2}}"}]}'
Create companies · Woodpecker · OpenIntegrations