---
updatedAt: 2026-02-27T06:36:27.000Z
agentTools:
  projectIndex: https://developers.smsedge.io/llms.txt
---

# Create

Created a whatsapp organisation under the user. An organisation can have multiple Whatsapp Web channels and users associated with it

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "smsedge-api",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.smsedge.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "query",
        "name": "api_key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/whatsapp/organisation/create": {
      "post": {
        "summary": "Create",
        "description": "Created a whatsapp organisation under the user. An organisation can have multiple Whatsapp Web channels and users associated with it",
        "operationId": "organisationcreate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "api_key",
                  "name"
                ],
                "properties": {
                  "api_key": {
                    "type": "string",
                    "description": "Your API key for authorisation"
                  },
                  "name": {
                    "type": "string",
                    "description": "Organisation name (internal use)"
                  },
                  "webhook_url": {
                    "type": "string",
                    "description": "Where all events will be posted back to"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n   {\n      \"success\":true,\n      \"data\":{\n         \"id\":1,\n         \"name\":\"whatsapp test org\",\n         \"share_key\":\"effe6f6870d15ccf28a2f4c10a4460177c3c003e\",\n         \"webhook_url\":null\n      },\n      \"errors\":[\n         \n      ],\n      \"response\":{\n         \"code\":200,\n         \"description\":\"OK\",\n         \"date\":\"2022-06-02 12:20:39\"\n      },\n      \"api\":[\n         \n      ]\n   }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "success": {
                        "type": "boolean",
                        "example": true,
                        "default": true
                      },
                      "data": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "name": {
                            "type": "string",
                            "example": "whatsapp test org"
                          },
                          "share_key": {
                            "type": "string",
                            "example": "effe6f6870d15ccf28a2f4c10a4460177c3c003e"
                          },
                          "webhook_url": {}
                        }
                      },
                      "errors": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {}
                        }
                      },
                      "response": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "example": 200,
                            "default": 0
                          },
                          "description": {
                            "type": "string",
                            "example": "OK"
                          },
                          "date": {
                            "type": "string",
                            "example": "2022-06-02 12:20:39"
                          }
                        }
                      },
                      "api": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {}
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n   {\n      \"success\":false,\n      \"data\":null,\n      \"errors\":{\n         \"name\":[\n            \"Name cannot be blank.\"\n         ]\n      },\n      \"response\":{\n         \"code\":400,\n         \"description\":\"Bad Request\",\n         \"date\":\"2022-06-02 12:22:01\"\n      },\n      \"api\":[\n         \n      ]\n   }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "success": {
                        "type": "boolean",
                        "example": false,
                        "default": true
                      },
                      "data": {},
                      "errors": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "example": "Name cannot be blank."
                            }
                          }
                        }
                      },
                      "response": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "integer",
                            "example": 400,
                            "default": 0
                          },
                          "description": {
                            "type": "string",
                            "example": "Bad Request"
                          },
                          "date": {
                            "type": "string",
                            "example": "2022-06-02 12:22:01"
                          }
                        }
                      },
                      "api": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {}
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl --request POST \\\n     --url 'https://api.smsedge.com/whatsapp/organisation/create&share_key={share_key}&{share_key: 'Hello, world!'}&name={name}&phone={phone}' \\\n     --header 'Accept: application/json'"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```