Skip to content
Guides
Platform & IdentityOrganizations

Create organization

POST/v1/organizations

Create organization. A successful request returns HTTP 200 with the documented response body.

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Header Parameters

Authorization*string

OAuth 2.0 bearer token.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/v1/organizations" \  -H "Authorization: Bearer <token>" \  -H "Content-Type: application/json" \  -d '{    "name": "Example resource",    "storeName": "Example resource",    "firstName": "Andrea",    "lastName": "Ramos",    "organizationId": "7204558912004325301",    "countryCode": "PE",    "currencyCode": "PEN",    "languageCode": "es",    "timeZone": "America/Lima"  }'
{  "id": "7204558912004325301",  "name": "Example resource",  "slug": "example-resource",  "email": "andrea@example.com",  "stores": [    {      "id": "7204558912004325301",      "name": "Example resource",      "storeType": "b2C",      "status": "active",      "provisioningStatus": "provisioning",      "slug": "example-resource",      "domain": "example",      "logo": "example"    }  ],  "status": "active",  "createdOn": "2026-08-01T15:30:00Z",  "phone": "+51987654321"}