Portabase Logo
Portabase DashboardAPIOrganizations

Create an organization

POST
/organizations

Authorization

apiKeyAuth
headerx-api-key<token>

API key generated from the Portabase dashboard. Pass as the x-api-key header.

Request Body

application/json
  1. body
name*string
Length1 <= length
slug?string
Length1 <= length

Response Body

Organization created

application/json
  1. response
data*
Example Request
curl -X POST 'https://portabase.example.com/api/v1/organizations' \  -H 'Content-Type: application/json' \  -d '{  "name": "Acme Inc"}'
Example Response
{  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "slug": "string",    "logo": "string",    "metadata": "string",    "updatedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "deletedAt": "2019-08-24T14:15:22Z"  }}