Skip to main content

Introduction

The deployERP API is a RESTful interface that allows you to programmatically manage your Odoo infrastructure. Build custom integrations, automate deployments, and manage resources at scale.

Base URL

Quick Start

1

Get API Key

Generate an API key from your dashboard settings
2

Make First Request

Test your connection with a simple GET request
3

Explore Endpoints

Browse available endpoints and operations

Example Request

Core Concepts

Resources

The API provides access to these primary resources:

Request Format

All requests must include:
  • Authorization header with Bearer token
  • Content-Type header set to application/json
  • JSON body for POST/PUT/PATCH requests

Response Format

Authentication

API Keys

Generate and manage API keys from your dashboard:
  1. Navigate to Settings → API Keys
  2. Click “Generate New Key”
  3. Set key permissions and expiry
  4. Store the key securely
API keys are shown only once. Store them securely and never commit them to version control.

Using API Keys

Include your API key in the Authorization header:

Key Permissions

API keys can have different permission levels:

Rate Limiting

API requests are subject to rate limits:

Rate Limit Headers

Handling Rate Limits

When rate limited, you’ll receive:

Pagination

List endpoints support pagination:

Query Parameters

Paginated Response

Filtering

Filter results using query parameters:

Webhooks

Configure webhooks to receive real-time notifications:

Webhook Events

Webhook Payload

Error Handling

Error Response Format

Common Error Codes

Idempotency

Ensure safe retries with idempotency keys:

API Versioning

The API uses URL versioning:
  • Current version: v1
  • Version in URL: https://api.deployerp.com/v1/...
  • Deprecation notice: 6 months minimum

SDKs & Libraries

Official SDKs available:

Python SDK

Node.js SDK

PHP SDK

Go SDK

API Playground

Test API endpoints directly in your browser:

API Playground

Interactive API testing environment with live responses

Best Practices

Always paginate when fetching lists to avoid timeouts and reduce load.
When rate limited, wait progressively longer between retries.
Use environment variables or secret management systems.
Check response status and implement proper error handling.
Instead of polling, use webhooks for event-driven updates.

Support

Need help with the API?