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

# Create contact

> Create a contact. Requires the contacts:write scope.



## OpenAPI

````yaml openapi-v2.json post /contacts
openapi: 3.0.3
info:
  title: Productlane API
  description: Productlane API v2.
  version: 2.0.0
servers:
  - url: https://productlane.com/api/v2
security: []
paths:
  /contacts:
    post:
      tags:
        - contacts
      summary: Create contact
      description: Create a contact. Requires the contacts:write scope.
      operationId: contacts-create
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                  maxLength: 254
                name:
                  type: string
                  minLength: 1
                  maxLength: 255
                image_url:
                  type: string
                  format: uri
                  nullable: true
                  description: >-
                    Avatar URL. Omit to auto-resolve from Gravatar; `null`
                    stores no avatar.
                is_subscribed:
                  type: boolean
                  description: >-
                    Receives changelog and per-project/issue update emails.
                    Defaults to `true`.
                company_id:
                  type: string
                  minLength: 1
                  maxLength: 255
                  description: >-
                    Productlane company id. Mutually exclusive with
                    `company_name` and `company_external_id`.
                company_name:
                  type: string
                  minLength: 1
                  maxLength: 255
                  description: >-
                    Resolves a company by exact name. Errors if multiple
                    companies share the name.
                company_external_id:
                  type: string
                  minLength: 1
                  maxLength: 255
                  description: Resolves a company by an entry in its `external_ids` array.
              required:
                - email
              additionalProperties: false
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  email:
                    type: string
                  name:
                    type: string
                    nullable: true
                  image_url:
                    type: string
                    nullable: true
                  company_id:
                    type: string
                    nullable: true
                  is_subscribed:
                    type: boolean
                  external_ids:
                    type: object
                    properties:
                      intercom:
                        type: string
                      front:
                        type: string
                      zendesk:
                        type: string
                      hubspot:
                        type: string
                      plain:
                        type: string
                      productboard:
                        type: string
                      slack_channel:
                        type: string
                    additionalProperties: false
                  created_at:
                    type: string
                  updated_at:
                    type: string
                required:
                  - id
                  - email
                  - name
                  - image_url
                  - company_id
                  - is_subscribed
                  - external_ids
                  - created_at
                  - updated_at
                additionalProperties: false
        default:
          $ref: '#/components/responses/error'
      security:
        - Authorization: []
components:
  responses:
    error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
              code:
                type: string
              issues:
                type: array
                items:
                  type: object
                  properties:
                    message:
                      type: string
                  required:
                    - message
                  additionalProperties: false
            required:
              - message
              - code
            additionalProperties: false
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer

````