Getting Started

First steps with DocuTray

Getting Started

This guide will help you get started with DocuTray quickly.

Creating an Account

To start using DocuTray, you need to create an account by following these steps:

  1. Visit the registration page at https://app.docutray.com/register

DocuTray Registration Page

  1. Complete the required fields:
    • Full Name: Enter your first and last name
    • Email: Use a valid email address
    • Password: Create a secure password (minimum 8 characters)
    • Confirm Password: Repeat the password for verification

Completed Registration Form

  1. Click the "Register" button

  2. You will receive a confirmation email at the provided address. Open this email and click the verification link.

Verification Email

  1. Done! Once your account is verified, you can log in and start using DocuTray.

If you already have an account, you can go directly to the login page.

Creating an API Key

After creating your account, you can generate an API Key to integrate DocuTray with your applications by following these steps:

  1. Log in to your DocuTray account at https://app.docutray.com/login

  2. Select the organization you want to work with

  3. Navigate to "Account" > "API Keys" in the navigation menu

API Keys Menu

  1. Click the "New API Key" button

  2. Enter a descriptive name for your API Key and click "Create"

Create New API Key

  1. Copy the generated API Key and store it in a safe place. Important: This will be the only time you can see the complete key.

Copy API Key

You can now use this API Key to authenticate your requests to the DocuTray API.

Your First Conversion

Once you have your API Key, you can process your first document with a simple API call.

Supported File Formats

DocuTray supports the following file formats:

  • Images: JPEG, PNG, GIF, BMP, WebP
  • Documents: PDF (up to 100MB)

Making the API Call

curl -X POST https://app.docutray.com/api/convert \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "image=@invoice.pdf" \
  -F "document_type_code=invoice"

The API will return extracted data in JSON format according to your document type schema:

{
  "data": {
    "numero_factura": "F-2024-001",
    "fecha_emision": "2024-01-15",
    "rfc_emisor": "XAXX010101000",
    "razon_social_emisor": "Empresa Ejemplo S.A. de C.V.",
    "subtotal": 1000,
    "iva": 160,
    "total": 1160
  }
}

Tip: For large files or batch processing, use the async conversion endpoint which processes documents in the background and allows you to check the status later.

Next Steps

Now that you've completed your first conversion, explore these resources:

  • Document Types - Browse available document types and their schemas
  • API Reference - Complete API documentation with all endpoints
  • Webhooks - Set up webhooks to receive conversion results automatically
  • Guides - Step-by-step tutorials for common use cases

On this page