Getting started
Create an API key in Drip and make your first call.
You need a Market Intel or Enterprise plan. The Market Intel trial works too.
Create a key
- Sign in to Drip.
- Open Profile → Integrations → Connect via API.
- Give the key a name you'll recognize later.
- Copy the key and store it somewhere safe. You won't be able to see it again.
Keys start with drip_live_. Send yours on every call:
Authorization: Bearer $DRIP_API_KEYKeep the key in an environment variable on your server, such as DRIP_API_KEY. Don't put it in browser code, a shared document, or source control.
Make your first call
List the workspaces your key can access:
curl "https://api.joindrip.ai/v1/workspaces" \
-H "Authorization: Bearer $DRIP_API_KEY"const response = await fetch("https://api.joindrip.ai/v1/workspaces", {
headers: { Authorization: `Bearer ${process.env.DRIP_API_KEY}` },
});
if (!response.ok) {
throw new Error(`Drip API returned ${response.status}`);
}
const { workspaces } = await response.json();The response lists each workspace with its id, name, and type:
{
"workspaces": [
{ "id": 123, "name": "Your workspace", "type": "home" }
]
}Next steps
- Use a workspace's
idin later calls. If you have more than one workspace, some calls need it. See Choosing a workspace. - Every response includes headers that show where you are against your limits. See Rate limits.