Getting Started

Learn how to integrate DevUtils APIs into your applications and start building powerful developer tools.

What is DevUtils

DevUtils provides a suite of developer APIs for common tasks like capturing screenshots, generating PDFs, and inspecting webhooks. Our APIs are designed to be simple, fast, and reliable.

  • Screenshot API - Capture any webpage as PNG, JPEG, or WebP
  • HTML to PDF API - Convert URLs or HTML to PDF documents
  • Webhook Inspector - Debug webhooks with temporary inspection URLs

Base API URL

All API requests should be made to the following base URL:

https://api.devutils.io/v1

All endpoints require HTTPS. HTTP requests will be rejected.

Authentication

DevUtils uses API keys to authenticate requests. Include your API key in the Authorization header of every request:

Authorization: Bearer YOUR_API_KEY

Keep your API key secure. Do not share it in public repositories or client-side code. See our authentication guide for best practices.

Creating API Keys

To create your first API key:

  1. Sign in to your DevUtils dashboard
  2. Navigate to API Keys in the sidebar
  3. Click "Create New Key" and give it a descriptive name
  4. Copy your new API key and store it securely

Important: API keys are only shown once when created. Make sure to copy and store your key before closing the dialog.

Your First Request

Let's capture a screenshot of a webpage. Replace YOUR_API_KEY with your actual API key:

cURLbash
curl -X POST https://api.devutils.io/v1/screenshot \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

A successful response returns the screenshot URL:

Responsejson
{
  "success": true,
  "data": {
    "image_url": "https://cdn.devutils.io/screenshots/abc123.png",
    "width": 1920,
    "height": 1080,
    "format": "png"
  }
}

Available APIs

Explore our API endpoints: