REST API
Setup
Prerequisites
Before you begin, make sure you have set up your Privy app and obtained your app ID from the Privy Dashboard.
Base URL
All requests to the Privy API must be made to the following base URL:
HTTPS is required for all requests. HTTP requests will be rejected.
Authentication
All API endpoints require authentication using Basic Auth and a Privy App ID header. Include the following headers with every request:
Basic Auth header with your app ID as the username and your app secret as the password.
Your Privy app ID as a string.
Requests missing either of these headers will be rejected by Privy’s middleware.
Your Privy app ID and app secret can be found in the App settings > Basics tab for your app.
Examples
Was this page helpful?