Authentication

All requests to the Render API must authenticate using an API key. Create and manage API keys from your Account Settings page in the Render Dashboard:

API keys limit access to resources within a specific workspace, so you can grant each key only the permissions it needs:

For more details on API keys and their permissions, see API keys.

⚠️

API keys are secret credentials!

Don’t publicly post your API key, commit it to version control, or otherwise share it with anyone outside your organization.

If you believe an API key has been compromised, revoke it in the Render Dashboard and create a new one.

Providing an API key

You include your API key in each request via the Authorization HTTP header:

Authorization: Bearer API_KEY_GOES_HERE

Consult your HTTP library's documentation for the recommended way to set this header.

To test your key, call a Render API endpoint it has permission to access.

For example, a key with Read access to services can call the List services endpoint. Replace API_KEY_GOES_HERE with your key and run the following:

curl --request GET \
     --url 'https://api.render.com/v1/services?limit=20' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer API_KEY_GOES_HERE'

If your API key is valid, the request returns a 200 response and an array of services.