Get Started
Authentication
Authenticate image requests with a publishable key.
Parsew image requests use a publishable API key with the pk_ prefix.
Getting a key
- Sign up at parsew.com.
- Create an organization in the dashboard.
- Open API Keys.
- Create a key and copy it when prompted.
Using a key
Pass the key in the token query parameter:
<img src="https://logo.parsew.com/stripe.com?token=pk_your_key" alt="Stripe" />The TypeScript client adds it automatically:
import { ParsewBrands } from '@parsew/sdk/client'
const images = new ParsewBrands({ token: 'pk_your_key' })
const url = images.url('stripe.com')Allowed domains
Publishable keys are designed for image tags and frontend code. Add every browser origin that should be allowed to use the key. You can use *.example.com to allow all subdomains.
Requests made from a browser with an unlisted origin are rejected. Server-side requests without an origin are allowed.
Publishable does not mean unrestricted. Configure allowed domains before putting a key into production.