Welcome
It’s easy to get started with the Reality Defender API. With a couple simple lines of code, you can upload files or submit social media URLs to Reality Defender!Authentication
The Reality Defender API uses a secure and straightforward authentication mechanism via the X-API-KEY header. Every API request must include your unique API key in this header to authenticate and authorize your access to the platform’s features and resources. You will need access to the Reality Defender web platform to generate an API key. Navigate to our API key settings to create a key.API keys are linked to a user. Organization administrators can view uploads
from all users, but only uploads for a given user show up by default in the
Dashboard.
Request a signed URL
You must request a signed URL to which you will upload your file.Upload a file to the signed URL
Next, upload a file to the signed URL that you received in the prior step.Submit a social media URL
Alternatively, instead of uploading a file, you can submit a social media URL for analysis. Send the URL to the social upload endpoint, then continue with Request a result below using the returnedrequestId.
Supported social platforms include Facebook, Instagram, Twitter/X, YouTube, TikTok, and Threads.