---
updatedAt: 2025-11-03T18:16:47.000Z
agentTools:
  projectIndex: https://docs.gupshup.io/llms.txt
---

# Add Agent

Add Agent

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "C2C-Doc",
    "version": "1.0.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://kpi.knowlarity.com"
    }
  ],
  "paths": {
    "/Basic/v1/account/agent": {
      "post": {
        "summary": "Add Agent",
        "description": "Add Agent",
        "operationId": "addAgent",
        "parameters": [
          {
            "name": "x-api-key",
            "in": "header",
            "schema": {
              "type": "string",
              "example": "{{x-api-key}}"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "country_code": {
                    "type": "string",
                    "example": "+91"
                  },
                  "email": {
                    "type": "string",
                    "example": "1agent2@gmail.com"
                  },
                  "first_name": {
                    "type": "string",
                    "example": "sakshi"
                  },
                  "last_name": {
                    "type": "string",
                    "example": "gupta"
                  },
                  "phone": {
                    "type": "string",
                    "example": "8982638105"
                  }
                }
              },
              "example": {
                "country_code": "+91",
                "email": "1agent2@gmail.com",
                "first_name": "sakshi",
                "last_name": "gupta",
                "phone": "8982638105"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```