Create companies
documentedCreate new client companies under the agency account.
POST /rest/v2/agency/companiesAgencyno implementation yet0 runsNo 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}}"}]}'