---
updatedAt: 2025-04-28T11:59:02.000Z
agentTools:
  projectIndex: https://developers.wingify.com/v2/llms.txt
---

# Create a user

````json
{
  "text": "Request URI for Sub Account\n```\nPOST /accounts/1/users\n```",
  "sidebar": true
}
````

```json
{
  "name": "Test via API",
  "email": "test+api@wingify.com",
  "password": "*password*",
  "confirmPassword": "*password*",
  "phone": "9999988877",
  "country": "India",
  "department": "Software Engineering",
  "title": "API Evangelist",
  "permission": "Admin"
}
```

Create User in a workspace.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api",
    "version": "4"
  },
  "servers": [
    {
      "url": "https://app.wingify.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accounts/{account_id}/users": {
      "post": {
        "summary": "Create a user",
        "description": "",
        "operationId": "create-user-in-the-current--sub-account",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Use 'current' keyword to refer to the Main Workspace or the Integer Workspace Id",
            "required": true,
            "schema": {
              "type": "string",
              "default": "current"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"_data\": {\n    \"id\": 44350,\n    \"name\": \"Test via API\",\n    \"email\": \"test+api@wingify.com\",\n    \"createdOn\": 1415876399,\n    \"permission\": \"Admin\",\n    \"phone\": \"9999988877\",\n    \"country\": \"India\",\n    \"department\": \"Software Engineering\",\n    \"title\": \"API Evangelist\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "_data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 44350,
                          "default": 0
                        },
                        "name": {
                          "type": "string",
                          "example": "Test via API"
                        },
                        "email": {
                          "type": "string",
                          "example": "test+api@wingify.com"
                        },
                        "createdOn": {
                          "type": "integer",
                          "example": 1415876399,
                          "default": 0
                        },
                        "permission": {
                          "type": "string",
                          "example": "Admin"
                        },
                        "phone": {
                          "type": "string",
                          "example": "9999988877"
                        },
                        "country": {
                          "type": "string",
                          "example": "India"
                        },
                        "department": {
                          "type": "string",
                          "example": "Software Engineering"
                        },
                        "title": {
                          "type": "string",
                          "example": "API Evangelist"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```