---
updatedAt: 2025-04-29T20:18:56.000Z
agentTools:
  projectIndex: https://docs.universalapi.io/llms.txt
---

# Create Consumer

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "uapi",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.prod.universalapi.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/consumers": {
      "post": {
        "summary": "Create Consumer",
        "description": "",
        "operationId": "create-consumer",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"OK\",\n    \"statusCode\": 200,\n    \"data\": {\n        \"id\": \"65c0c76e6ffc3c4419774963\",\n        \"applicationId\": \"655242641d7783d6998d4c9f\",\n        \"deploymentId\": \"641b3dbf8d018fb4c021be5d\",\n        \"name\": \"consumer_name\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "OK"
                    },
                    "statusCode": {
                      "type": "integer",
                      "example": 200,
                      "default": 0
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "65c0c76e6ffc3c4419774963"
                        },
                        "applicationId": {
                          "type": "string",
                          "example": "655242641d7783d6998d4c9f"
                        },
                        "deploymentId": {
                          "type": "string",
                          "example": "641b3dbf8d018fb4c021be5d"
                        },
                        "name": {
                          "type": "string",
                          "example": "consumer_name"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```