---
agentTools:
  projectIndex: https://hub.phantombuster.com/llms.txt
---

# /org-storage/companies-objects/save

Save one company object.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "servers": [
    {
      "description": "Phantombuster api",
      "url": "https://api.phantombuster.com/api/v2"
    },
    {
      "description": "SwaggerHub API Auto Mocking",
      "url": "https://virtserver.swaggerhub.com/Phantombuster/Phantombuster-v2/2.0.0"
    }
  ],
  "info": {
    "description": "Phantombuster API v2. Swagger api specification is located at https://github.com/phantombuster/public-gists/blob/master/swagger-api-v2.json",
    "version": "2.0.0",
    "title": "Phantombuster API v2",
    "contact": {
      "email": "contact@phantombuster.com"
    },
    "license": {
      "name": "ISC",
      "url": "https://opensource.org/licenses/ISC"
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Phantombuster-Key"
      }
    }
  },
  "security": [
    {
      "apiKeyAuth": []
    }
  ],
  "tags": [
    {
      "name": "org-storage"
    }
  ],
  "paths": {
    "/org-storage/companies-objects/save": {
      "x-beta": true,
      "post": {
        "description": "Save one company object.\n",
        "tags": [
          "org-storage"
        ],
        "responses": {
          "200": {
            "description": "Company object successfully updated or created.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "linkedinCompanyId": {
                      "type": "string"
                    },
                    "type": {
                      "type": "string"
                    },
                    "slug": {
                      "type": "string"
                    },
                    "properties": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "orgId": {
                      "description": "The org id associated with the company object",
                      "type": "string",
                      "nullable": true
                    }
                  },
                  "required": [
                    "id",
                    "linkedinCompanyId",
                    "type",
                    "slug",
                    "properties"
                  ],
                  "additionalProperties": false
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "description": "The internal id of the company object",
                    "type": "string"
                  },
                  "linkedinCompanyId": {
                    "description": "The external id of the company scraped",
                    "type": "string"
                  },
                  "type": {
                    "type": "string",
                    "description": "The type of company object",
                    "maxLength": 500
                  },
                  "slug": {
                    "type": "string",
                    "description": "The slug of the company object",
                    "maxLength": 470
                  },
                  "properties": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "The properties of the object"
                  },
                  "orgId": {
                    "description": "The org id associated with the company object",
                    "type": "string"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "linkedinCompanyId",
                  "type",
                  "slug",
                  "properties"
                ]
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 255,
      "2": 11,
      "3": 121,
      "4": 188,
      "5": 102,
      "6": 19,
      "7": 16,
      "8": 145,
      "9": 137,
      "10": 142,
      "11": 64
    }
  }
}
```