Introduction
Generating your API key
You can get your API key from the Account Setting in the CreativeReality™️ Studio. The key provided in the studio is in this format: API_USERNAME:API_PASSWORD
Important NoteFor security reasons, the API Key is revealed only once. Your API Key is secret and private.
Please store it in a secure place. Do not share your key with anyone else.
Using your API Key
Provide your API Key along with every API request using Authorization HTTP header:
| Key | Value |
|---|---|
Authorization | Basic API_USERNAME:API_PASSWORD |
Authorization: Basic API_USERNAME:API_PASSWORDcurl -X POST --location "https://api.d-id.com/animations" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Basic API_USERNAME:API_PASSWORD"
-d "{ \"source_url\": \"https://public/path/to/image.jpg\" }"You can also use your key here in the API Docs to try the code examples next to each endpoint.
Simply add your API Key separated to username (API_USERNAME) : password (API_PASSWORD) in the Authorization field above each code example
Secure CommunicationAll API requests must be made over HTTPS.
Unsecured HTTP connections will be refused.
Support
Have any questions? We're here to help! Go to the Help Center or send us a message.
Contact Support