cURL
curl --request POST \ --url https://api.privy.io/v1/apps/{app_id}/allowlist \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --header 'privy-app-id: <privy-app-id>' \ --data ' { "type": "email", "value": "[email protected]" } '
{ "id": "abc123", "type": "email", "value": "[email protected]", "appId": "clxyz456", "acceptedAt": null }
Add a new entry to the allowlist for an app. The allowlist must be enabled.
Basic Auth header with your app ID as the username and your app secret as the password.
ID of your Privy app.
The ID of the app.
Allowlist invite input for an email address.
email
The created allowlist entry.
An allowlist entry for an app.
Was this page helpful?