> ## Documentation Index
> Fetch the complete documentation index at: https://docs.synax.app.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Criar contato

> Cria um novo contato no CRM. O company_id é preenchido automaticamente pela API Key.



## OpenAPI

````yaml /openapi.json post /contacts
openapi: 3.1.0
info:
  title: Synax API
  description: >-
    API pública do Synax para integrações externas. Usa API Keys para
    autenticação e o endpoint api-proxy para todas as operações CRUD.
  version: 2.0.0
  contact:
    name: Synax
    url: https://synax.app.br
servers:
  - url: https://api.synax.app.br/functions/v1/api-proxy
    description: Produção
security:
  - bearerApiKey: []
paths:
  /contacts:
    post:
      tags:
        - Contatos
      summary: Criar contato
      description: >-
        Cria um novo contato no CRM. O company_id é preenchido automaticamente
        pela API Key.
      operationId: createContact
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContactCreate'
      responses:
        '201':
          description: Contato criado
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Contact'
components:
  schemas:
    ContactCreate:
      type: object
      properties:
        name:
          type: string
          example: João Silva
        email:
          type: string
          format: email
        phone:
          type: string
          example: '+5511999999999'
        temperature:
          type: string
          enum:
            - cold
            - warm
            - hot
        tags:
          type: array
          items:
            type: string
        source:
          type: string
          default: api
        custom_fields:
          type: object
          additionalProperties: true
      required:
        - phone
    Contact:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        company_id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          example: João Silva
        email:
          type: string
          format: email
          example: joao@email.com
        phone:
          type: string
          example: '+5511999999999'
        temperature:
          type: string
          enum:
            - cold
            - warm
            - hot
          default: warm
        tags:
          type: array
          items:
            type: string
          example:
            - lead
            - site
        source:
          type: string
          example: api
        job_title:
          type: string
        empresa:
          type: string
        custom_fields:
          type: object
          additionalProperties: true
        do_not_contact:
          type: boolean
          default: false
        is_active:
          type: boolean
          default: true
        created_at:
          type: string
          format: date-time
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
      required:
        - phone
  securitySchemes:
    bearerApiKey:
      type: http
      scheme: bearer
      description: 'API Key gerada em Configurações > API. Formato: sk_live_...'

````