---
title: "Get email links"
method: GET
path: "/api/v2/email_links"
tags: ["Email Links"]
---

# Get email links

`GET /api/v2/email_links`

## Request

- Base URL: `https://developer.productive.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.productive.io/api/v2/email_links`
- Auth: none declared

Lists the links between emails and the deals, invoices, projects, tasks, companies and people the person sees.

## Query parameters

- `filter` union
  - object
    - `$op` 'or' | 'and', required
  - FilterEmailLink
    - `company_id` union
      - object
        - `eq` CompanyId (unresolved $ref)
        - `not_eq` CompanyId (unresolved $ref)
        - `contains` CompanyId (unresolved $ref)
        - `not_contain` CompanyId (unresolved $ref)
      - CompanyId (unresolved $ref)
    - `deal_id` union
      - object
        - `eq` DealId (unresolved $ref)
        - `not_eq` DealId (unresolved $ref)
        - `contains` DealId (unresolved $ref)
        - `not_contain` DealId (unresolved $ref)
      - DealId (unresolved $ref)
    - `email_id` union
      - object
        - `eq` EmailId (unresolved $ref)
        - `not_eq` EmailId (unresolved $ref)
        - `contains` EmailId (unresolved $ref)
        - `not_contain` EmailId (unresolved $ref)
      - EmailId (unresolved $ref)
    - `id` union
      - object
        - `eq` Id (unresolved $ref)
        - `not_eq` Id (unresolved $ref)
        - `contains` Id (unresolved $ref)
        - `not_contain` Id (unresolved $ref)
      - Id (unresolved $ref)
    - `invoice_id` union
      - object
        - `eq` InvoiceId (unresolved $ref)
        - `not_eq` InvoiceId (unresolved $ref)
        - `contains` InvoiceId (unresolved $ref)
        - `not_contain` InvoiceId (unresolved $ref)
      - InvoiceId (unresolved $ref)
    - `person_id` union
      - object
        - `eq` PersonId (unresolved $ref)
        - `not_eq` PersonId (unresolved $ref)
        - `contains` PersonId (unresolved $ref)
        - `not_contain` PersonId (unresolved $ref)
      - PersonId (unresolved $ref)
    - `project_id` union
      - object
        - `eq` ProjectId (unresolved $ref)
        - `not_eq` ProjectId (unresolved $ref)
        - `contains` ProjectId (unresolved $ref)
        - `not_contain` ProjectId (unresolved $ref)
      - ProjectId (unresolved $ref)
    - `task_id` union
      - object
        - `eq` TaskId (unresolved $ref)
        - `not_eq` TaskId (unresolved $ref)
        - `contains` TaskId (unresolved $ref)
        - `not_contain` TaskId (unresolved $ref)
      - TaskId (unresolved $ref)

## Response `200`

Collection email link

- object
  - `data` object[]
    - `attributes` object
      - `created_at` CreatedAt (unresolved $ref)
      - `linked_id` LinkedId (unresolved $ref)
      - `linked_type` LinkedType (unresolved $ref)
    - `relationships` object
      - `creator` union: A JSON:API single relationship — links to one related resource or `null`.
        - SingleLinkageNullable
          - `data` Resource, required: A JSON:API resource identifier object containing the resource type and ID.
            - `id` string, required: The unique identifier of the resource.
            - `type` string, required: The resource type name (e.g. `tasks`, `people`, `deals`).
        - NotIncluded: Placeholder for a relationship that was not sideloaded in this response.
          - `meta` object, required: Metadata indicating the sideload status of this relationship.
            - `included` false, required: Whether the related resource was included in the sideloaded data. Always `false` for this variant.
      - `email` union: A JSON:API single relationship — links to one related resource or `null`.
        - SingleLinkageNullable
          - `data` Resource, required: A JSON:API resource identifier object containing the resource type and ID.
            - `id` string, required: The unique identifier of the resource.
            - `type` string, required: The resource type name (e.g. `tasks`, `people`, `deals`).
        - NotIncluded: Placeholder for a relationship that was not sideloaded in this response.
          - `meta` object, required: Metadata indicating the sideload status of this relationship.
            - `included` false, required: Whether the related resource was included in the sideloaded data. Always `false` for this variant.
      - `organization` union: A JSON:API single relationship — links to one related resource or `null`.
        - SingleLinkageNullable
          - `data` Resource, required: A JSON:API resource identifier object containing the resource type and ID.
            - `id` string, required: The unique identifier of the resource.
            - `type` string, required: The resource type name (e.g. `tasks`, `people`, `deals`).
        - NotIncluded: Placeholder for a relationship that was not sideloaded in this response.
          - `meta` object, required: Metadata indicating the sideload status of this relationship.
            - `included` false, required: Whether the related resource was included in the sideloaded data. Always `false` for this variant.
  - `included` unknown[]
    - unknown
  - `meta` Meta: Pagination and response metadata returned with every collection endpoint.
    - `current_page` integer: The current page number in this paginated response (1-based).
    - `max_page_size` integer: Maximum number of records allowed per page for this endpoint.
    - `organization_features` object: Feature flags and capabilities enabled for the current organization, used for UI rendering.
    - `page_size` integer: Number of records returned per page in this response.
    - `settings` object: Organization or user settings relevant to this resource's display.
    - `total_count` integer: Total number of records matching the current query across all pages.
    - `total_pages` integer: Total number of pages available for the current query and page size.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `408`: Request Timeout
- `423`: Locked
- `429`: Too Many Requests
- `500`: Internal Server Error

## Changes

- **2026-11-02** `fa3060fd0144`: 7 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `408`
  - …3 more
- **2026-10-27** `f11a8740641a`: 1 info
  - endpoint added
  - …this revision’s changelog is incomplete

[Operation history](https://skmtc.dev/productive/apis/api-documentation/changes/api/v2/email_links/get.md)

---

[API](https://skmtc.dev/productive/apis/api-documentation.md) - [All operations](https://skmtc.dev/productive/apis/api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/productive/apis/api-documentation/revisions/e7bdfdf6cba3?raw)
