Quickstart API

Creez une cle API, envoyez votre premiere requete, puis configurez un webhook.

1. Creer une cle API

curl -X POST https://api.workload.com/api/v1/api-keys \
  -H "Authorization: Bearer YOUR_ADMIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"My integration","scopes":["projects:read","projects:write"]}'

2. Lister les projets

curl https://api.workload.com/api/v1/projects \
  -H "Authorization: Bearer YOUR_API_KEY"