Authentication
All API requests require authentication using a Bearer token. You can generate API tokens from your dashboard settings.
Authorization: Bearer dp_live_xxxxxxxxxxxxxxxxxxxx
Keep your API tokens secure. Never expose them in client-side code or public repositories.
Base URL
All API requests should be made to the following base URL:
https://api.shipyard.dev/v1
Rate Limits
API requests are rate limited based on your plan:
| Plan | Requests/min | Requests/day |
|---|---|---|
| Free | 60 | 1,000 |
| Pro | 300 | 10,000 |
| Enterprise | Unlimited | Unlimited |
Projects
Manage your projects programmatically.
/projects
List all projects in your account.
$ curl -X GET https://api.shipyard.dev/v1/projects \
-H "Authorization: Bearer dp_live_xxx"
{
"data": [
{
"id": "prj_abc123",
"name": "my-app",
"framework": "nextjs",
"created_at": "2024-01-15T10:30:00Z"
}
],
"meta": { "total": 1, "page": 1 }
}
/projects
Create a new project.
Request Body
name
string
required
Project name (lowercase, alphanumeric, hyphens)
git_repository
string
required
Git repository URL
framework
string
Framework type (auto-detected if not specified)
Deployments
Trigger and manage deployments.
/projects/:id/deployments
List all deployments for a project.
/deployments
Trigger a new deployment.
/deployments/:id
Cancel a running deployment.
Need help with the API?
Check out our guides or reach out to our developer support team.