Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Organizations

Create an organization (caller becomes owner)

Requires a signed-in dashboard session token; API keys cannot call this endpoint.

POST
/v1/orgs
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/orgs" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{
  "organizationId": "string",
  "role": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}