An API key lets your application authenticate requests to Picsart. Keep the key secret and use it only in trusted server-side code.
Get an API key
- Open the API key guide.
- Follow its link to the API keys page in the console.
- Create a key for your application.
- Save the key in an environment variable or a secrets manager.
The console shows a new key once. Do not include it in browser code, mobile app code, public repositories, or screenshots.
Use the correct authentication method
The current API Platform uses Authorization: Bearer <key>. Its base URL is https://api.picsart.com.
Existing Creative APIs v1 integrations use the X-Picsart-API-Key header. Follow the documentation for your endpoint. Do not change only the host or header when you migrate an integration.
The gen-ai CLI uses browser sign-in. Follow the CLI guide for that method.
If a key is exposed
- Revoke the exposed key in the console.
- Create a replacement key.
- Update the secret in each affected application.
- Test one request from each application.
Remove the exposed value from shared files and logs. Do not rely on deletion alone. Someone might have copied the key.
Need help?
Contact Picsart Support with the subject API key access - Help Center. Please include:
- The endpoint or tool name.
- The date, approximate time, and time zone.
- The error message with private data removed.
Do not send your API key, password, or access token.