Skip to main content
All API requests are made to the base URL:
https://api.upsun.com
The API follows the OpenAPI (Swagger) specification and returns HAL-style JSON over HTTPS.

Resource overview

The API is organized around these primary resources:
ResourceBase pathDescription
Organizations/organizationsCreate, list, update, and delete organizations
Projects/projectsManage projects and their settings
Environments/projects/{id}/environmentsBranch, merge, activate, and deactivate environments
Subscriptions/subscriptionsManage project subscriptions and plans
Users/usersUser profiles and account management
Members/organizations/{id}/membersOrganization membership and permissions
Invitations/organizations/{id}/invitationsInvite users to organizations

Common patterns

Pagination

List endpoints support pagination with query parameters:
ParameterDescription
page[size]Number of results per page (1–100)
page[before]Cursor for previous page
page[after]Cursor for next page

Sorting

Use the sort parameter on list endpoints. Prefix with - for descending order:
# Sort by creation date, newest first
curl -H "Authorization: Bearer $TOKEN" \
  "https://api.upsun.com/organizations?sort=-created_at"

Filtering

Most list endpoints accept filter parameters specific to the resource:
# Filter organizations by status
curl -H "Authorization: Bearer $TOKEN" \
  "https://api.upsun.com/organizations?filter[status]=active"

Quick reference

Last modified on March 6, 2026