Sign in

Create API key for a company

documented

Generate a new API key for a company.

POST /rest/v2/agency/companies/{company_id}/api_keysAgencyno 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/{{$company_id}}/api_keys" \
  -X POST \
  -H "x-api-key: {{WOODPECKER_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"label": "{{$label}}"}'