1

Generate API Keys in the Console

  1. Go to the Devdraft Console and navigate to Settings → App Settings.
  2. Click New API Key to create a new key.
  3. Set the required scope for your API key.
Only select the scope(s) that apply to your use case. Granting unnecessary permissions can increase security risks.
  1. Copy your API Key and API Secret. Store them securely—you will not be able to view the secret again.
2

Use Your API Keys to Access Devdraft APIs

Use the API Key and Secret to authenticate your requests. All API requests must include the following headers:
x-client-key: YOUR_API_KEY
x-client-secret: YOUR_API_SECRET
The base URL for all API requests is:
https://api.devdraft.ai/v0
You’re ready to start building with Devdraft! Explore the API reference for available endpoints and example requests.