API Reference

Explore all available endpoints, authentication methods, and usage examples for DevPort's developer tools and services.

Quick Start Guide

Getting Started

Explore how to install the API client library and authenticate your requests.

npm install devport-client

Requirements

Use any programming language with HTTP support. JavaScript, Python, and Go clients are officially supported.

Support

Need help? Join our Discord community for direct support.

Authentication

API Keys

All requests must include an x-api-key header or apiKey query parameter.

Parameter Type Description
x-api-key Header Your API key for authentication
apiKey Query Alternative parameter in URL

Public API Endpoints

Base URL

https://devport.api/v1

Try with Sandbox

Request tokens and test APIs using the interactive sandbox API browser

Endpoints

Projects

GET /projects

Retrieve the list of projects with filters and pagination.

Request


{
  "limit": 50,
  "page": 1,
  "sort": "modified_at desc"
}
                        

Response

{
  "data": [
    {
      "id": "proj_001",
      "name": "Project Alpha",
      "created_at": "2022-12-29T11:00:00Z"
    }
  ]
}
                        

POST /projects

Create a new project with basic metadata.

Request Body


{
  "name": "My DevPort Project",
  "description": "Sample for DevPort API documentation"
}
                            

Response


{
  "project_id": "project_xyz123",
  "created_at": "2025-09-19T16:30"
}
                            

Full API List

GET /projects/{id}

View project details

POST /projects/{id}/deploy

Trigger deployment