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

# Show Contact

> Get a contact belonging to the account using ID



## OpenAPI

````yaml /api-reference/openapi/EvoAI-CRM-Service/contacts.yaml get /api/v1/contacts/{id}
openapi: 3.0.4
info:
  title: Evolution Foundation - CRM Service - Contacts
  description: Management of contacts, conversations, inboxes, labels and macros
  version: 1.1.0
servers:
  - url: https://api.evoai.app
    description: Production server
  - url: http://localhost:3000
    description: Development server
    variables:
      port:
        default: '3000'
  - url: '{customUrl}'
    description: Custom server
    variables:
      customUrl:
        default: https://your-instance.com
        description: Enter your server URL
security: []
paths:
  /api/v1/contacts/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
        description: ID of the contact
    get:
      summary: Show Contact
      description: Get a contact belonging to the account using ID
      operationId: contactDetails
      responses:
        '200':
          description: Contact retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    $ref: '#/components/schemas/extended_contact'
                  meta:
                    type: object
                    properties:
                      timestamp:
                        type: string
                        format: date-time
                        description: Response timestamp
                        example: '2024-01-15T10:30:00Z'
                  message:
                    type: string
                    description: Success message
                    example: Contact retrieved successfully
              example:
                success: true
                data:
                  id: 550e8400-e29b-41d4-a716-446655440000
                  name: John Doe
                  email: john@example.com
                  phone_number: '+5574999999999'
                  identifier: john-doe-123
                  account_id: 123e4567-e89b-12d3-a456-426614174000
                  custom_attributes: {}
                  created_at: '2024-01-15T10:30:00Z'
                  updated_at: '2024-01-15T10:30:00Z'
                meta:
                  timestamp: '2024-01-15T10:30:00Z'
                message: Contact retrieved successfully
        '400':
          description: Bad Request (invalid data)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                validation_error:
                  summary: Invalid request parameters
                  value:
                    success: false
                    error:
                      code: VALIDATION_ERROR
                      message: Invalid request parameters
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/contacts/{id}
                      method: GET
        '401':
          description: Unauthorized (invalid or missing token)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                invalid_token:
                  summary: Invalid or missing token
                  value:
                    success: false
                    error:
                      code: INVALID_TOKEN
                      message: Invalid token
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/contacts/{id}
                      method: GET
        '403':
          description: Forbidden (insufficient permissions)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                forbidden:
                  summary: Access forbidden
                  value:
                    success: false
                    error:
                      code: FORBIDDEN
                      message: You do not have permission to access this resource
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/contacts/{id}
                      method: GET
        '404':
          description: Not Found (resource not found)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                contact_not_found:
                  summary: Contact not found
                  value:
                    success: false
                    error:
                      code: NOT_FOUND
                      message: Contact not found
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/contacts/{id}
                      method: GET
        '500':
          description: Internal Server Error (internal server error)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                internal_error:
                  summary: Internal server error
                  value:
                    success: false
                    error:
                      code: INTERNAL_ERROR
                      message: Internal server error
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/contacts/{id}
                      method: GET
      security:
        - userApiKey: []
components:
  schemas:
    extended_contact:
      allOf:
        - $ref: '#/components/schemas/contact_full'
        - type: object
          description: Extended contact with full details (alias for contact_full)
    ErrorResponse:
      type: object
      required:
        - success
        - error
        - meta
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: VALIDATION_ERROR
            message:
              type: string
              example: Validation failed
            details:
              type: object
              additionalProperties: true
              nullable: true
        meta:
          type: object
          required:
            - timestamp
            - path
            - method
          properties:
            timestamp:
              type: string
              format: date-time
              example: '2024-01-15T10:30:00Z'
            path:
              type: string
              example: /public/api/v1/inboxes/{inbox_identifier}/contacts
            method:
              type: string
              example: POST
    contact_full:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: 3b49511b-c35c-429c-85c3-a83feb87cbef
        name:
          type: string
          example: Maria Santos
        email:
          type: string
          nullable: true
          example: maria@empresa.com.br
        phone_number:
          type: string
          nullable: true
          example: '+5521987654321'
        identifier:
          type: string
          nullable: true
          example: DavidsonGomes
        blocked:
          type: boolean
          example: false
        type:
          type: string
          enum:
            - person
            - company
          example: person
        tax_id:
          type: string
          nullable: true
        website:
          type: string
          nullable: true
        industry:
          type: string
          nullable: true
        additional_attributes:
          type: object
          properties:
            city:
              type: string
            company:
              type: string
              example: Tech Solutions Ltda
            country:
              type: string
            location:
              type: object
              properties:
                city:
                  type: string
                country:
                  type: string
                country_code:
                  type: string
            description:
              type: string
            company_name:
              type: string
            country_code:
              type: string
            language_code:
              type: string
              example: pt-br
            username:
              type: string
            social_profiles:
              type: object
              properties:
                github:
                  type: string
                twitter:
                  type: string
                facebook:
                  type: string
                linkedin:
                  type: string
                instagram:
                  type: string
            social_telegram_user_id:
              type: integer
            social_telegram_user_name:
              type: string
        custom_attributes:
          type: object
          additionalProperties: true
        created_at:
          type: integer
          description: Unix timestamp
          example: 1765200698
        last_activity_at:
          type: integer
          nullable: true
          description: Unix timestamp of last activity
          example: 1768597854
        labels:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              title:
                type: string
              color:
                type: string
        contact_inboxes:
          type: array
          items:
            type: object
            properties:
              source_id:
                type: string
              inbox:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  name:
                    type: string
                  channel_type:
                    type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.