Base URL
All API requests use the following base URL:Quick start
Get a token
The fastest way to get started is to create an API token from Settings > API Tokens in your Privy dashboard. See API Tokens for details.Alternatively, create an OAuth application under Settings > Apps to use the OAuth client credentials flow.
What you can do
| Endpoint | Description |
|---|---|
GET /v1/contacts | List contacts with filtering and pagination |
POST /v1/contacts | Create a new contact |
PATCH /v1/contacts | Update a contact’s name, tags, or custom fields |
POST /v1/contacts/unsubscribe | Unsubscribe a contact from all email marketing |
DELETE /v1/contacts | Remove a contact from your list |
Next steps
API Tokens
Generate a token and start making requests in minutes.
Authentication
Set up OAuth credentials and learn about scopes.
Rate Limits
Understand request limits and how to handle them.
Errors
Learn about error codes and response format.