RecipesCreate an Organization
Create an Organization
Each organization under the same Client must have a unique documentNumber. If an entity with the same values already exists, the request will fail.
Attention
Each organization under the same Client must have a unique documentNumber. If an entity with the same values already exists, the request will fail.
Once you have obtained an access token, you can create an organization using (Create Identity) the following POST request:
Request
Section titled “Request” Request
POST /sandbox/identities HTTP/1.1
Host: api.conomyhq.com
x-api-key: {YOUR_API_KEY}
Authorization: Bearer {ACCESS_TOKEN}
conomyhq-api-version: 24-04-2025
User-Agent: MyApp/1.0
Content-Type: application/json
Accept: application/json
{
"type": "ORGANIZATION",
"name": "Operator 1",
"nickname": "Op 1",
"email": "operator1@example.com",
"phone": "+5691111111",
"documentType": "RUT",
"documentNumber": "77123126-K",
"idv": "iv-23123",
"country": "CHL",
"securityOptions": {
"twoFactorEnabled": false
},
"children": []
} Response
{
"id": "679d26c44a21df7584b38e11",
"type": "ORGANIZATION",
"name": "Operator 1",
"documentNumber": "77123126-K",
"documentType": "RUT",
"country": "CHL",
"status": "ACTIVE",
"createdAt": "2025-01-31T19:38:44Z"
}