> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/018_rcs_and_ai_suggestions/003__get_ai_company_profile_suggestions.md).

# Get AI Company Profile Suggestions

GraphQL endpoint: `/company`

Analyzes the company website at the given URL (https\:// is assumed when the scheme is omitted) and returns AI-generated profile suggestions — legal name, about-us, contact details, addresses, social networks and webpages. Fields that could not be determined come back null or empty.

## Query

```graphql
mutation ($websiteUrl: String!) {
  getAiCompanyProfileSuggestions(websiteUrl: $websiteUrl) {
    legalName
    yearFounded
    aboutUs
    verticalType
    verticalTypeId
    organizationType
    organizationTypeId
    emails { email }
    telephoneNumbers { number countryCode }
    addresses { country city zipCode street }
    socialNetworks { type url }
    webpages { type url }
  }
}

```

## Variables

```json
{
  "websiteUrl": "https://acme.com"
}
```

## Response

```json
{
  "data": {
    "getAiCompanyProfileSuggestions": {
      "aboutUs": "We do things",
      "addresses": [
        {
          "city": "NY",
          "country": "US",
          "street": "Main 1",
          "zipCode": "10001"
        }
      ],
      "emails": [
        {
          "email": "hello@acme.com"
        }
      ],
      "legalName": "Acme Corp",
      "organizationType": null,
      "organizationTypeId": null,
      "socialNetworks": [
        {
          "type": "facebook",
          "url": "https://fb.com/acme"
        }
      ],
      "telephoneNumbers": [
        {
          "countryCode": "1",
          "number": "5551234567"
        }
      ],
      "verticalType": null,
      "verticalTypeId": null,
      "webpages": [
        {
          "type": "webpage",
          "url": "https://acme.com/about"
        }
      ],
      "yearFounded": 2001
    }
  }
}
```
