Daylite Relationships API

The Relationships API from Daylite — 3 operation(s) for relationships.

Operations 6

GET /relationships Relationships #
POST /relationships Relationship #
GET /relationships/{id} Relationship #
PATCH /relationships/{id} Relationship #
DELETE /relationships/{id} Relationship #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/daylite:daylite-relationships-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

daylite-relationships-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: api-settings Relationships API
  version: '1'
servers:
- url: https://api.marketcircle.net/v1
security:
- sec0: []
tags:
- name: Relationships
paths:
  /relationships:
    get:
      summary: Relationships
      description: List all relationships
      operationId: relationships
      responses:
        '200':
          description: 200 OK
          content:
            application/json:
              examples:
                Result:
                  value: "[\n  {\n    \"self\": \"/v1/relationships/1001\",\n    \"source\": \"/v1/contacts/2001\",\n    \"destination\": \"/v1/contacts/6001\",\n    \"relationship_type\": \"/v1/relationship_types/7001\"\n  },\n  {\n    \"self\": \"/v1/relationships/2001\",\n    \"source\": \"/v1/companies/3001\",\n    \"destination\": \"/v1/companies/12001\",\n    \"relationship_type\": \"/v1/relationship_types/8001\"\n  }\n]"
      deprecated: false
      tags:
      - Relationships
    post:
      summary: Relationship
      description: Create a relationship between two contacts or two companies
      operationId: relationship-create
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                source_contact:
                  type: string
                  description: Reference of the source contact, e.g. `/v1/contacts/1000`.
                destination_contact:
                  type: string
                  description: Reference of the destination contact, e.g. `/v1/contacts/1001`.
                source_company:
                  type: string
                  description: Reference of the source company, e.g. `/v1/companies/1000`.
                destination_company:
                  type: string
                  description: Reference of the destination company, e.g. `/v1/companies/1001`.
                relationship_type:
                  type: string
                  description: Reference of the [relationship type](ref:relationship_type), e.g. `/v1/relationship_types/1000`. Optional; send `null` to remove it.
                details:
                  type: string
                  description: Details (max 512 characters).
      responses:
        '201':
          description: 201 Created
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"location\": \"/v1/relationships/1000\"\n}"
        '400':
          description: 400 Bad Request
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"base\": [\n    {\n      \"error\": \"can_not_be_linked_to_itself\"\n    }\n  ]\n}"
      deprecated: false
      tags:
      - Relationships
  /relationships/_search:
    post:
      summary: Relationship Search
      description: Search for relationships
      operationId: relationship-search
      parameters:
      - name: limit
        in: query
        description: Maximum number of results per page (max 250). Defaults to 50, or 10 when `full-records` is `true`.
        schema:
          type: integer
          format: int32
          default: 50
          maximum: 250
      - name: full-records
        in: query
        description: Return every attribute of each result instead of the short list form.
        schema:
          type: boolean
      - name: start
        in: query
        description: Return results whose ID is greater than or equal to this value. Use the `next` URL from the previous page rather than building this yourself.
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                source_contact:
                  type: object
                  description: Source contact reference, e.g. `/v1/contacts/1000`. Use `null` to match relationships without one.
                  properties:
                    equal:
                      type: string
                    not_equal:
                      type: string
                destination_contact:
                  type: object
                  description: Destination contact reference, e.g. `/v1/contacts/1001`. Use `null` to match relationships without one.
                  properties:
                    equal:
                      type: string
                    not_equal:
                      type: string
                source_company:
                  type: object
                  description: Source company reference, e.g. `/v1/companies/1000`. Use `null` to match relationships without one.
                  properties:
                    equal:
                      type: string
                    not_equal:
                      type: string
                destination_company:
                  type: object
                  description: Destination company reference, e.g. `/v1/companies/1001`. Use `null` to match relationships without one.
                  properties:
                    equal:
                      type: string
                    not_equal:
                      type: string
                relationship_type:
                  type: object
                  description: 'The relationship type. The operand is a [relationship type search](ref:relationship_type-search) filter, e.g. `{"any": {"forward": {"equal": "is the parent company of"}}}`. Use `blank` or `not_blank` to find relationships without or with a type.'
                  properties:
                    any:
                      type: object
                      properties:
                        forward:
                          type: object
                          description: Forward text
                          properties:
                            equal:
                              type: string
                            not_equal:
                              type: string
                            equal_ignore_case:
                              type: string
                            starts_with:
                              type: string
                            does_not_start_with:
                              type: string
                            ends_with:
                              type: string
                            does_not_end_with:
                              type: string
                            contains:
                              type: string
                            does_not_contain:
                              type: string
                            any:
                              type: array
                              items:
                                type: string
                            not_any:
                              type: array
                              items:
                                type: string
                            any_ignore_case:
                              type: array
                              items:
                                type: string
                            blank:
                              type: boolean
                              description: Value is ignored
                            not_blank:
                              type: boolean
                              description: Value is ignored
                        for_company:
                          type: object
                          description: Whether the type can be used between companies
                          properties:
                            equal:
                              type: boolean
                            not_equal:
                              type: boolean
                            blank:
                              type: boolean
                              description: Value is ignored
                            not_blank:
                              type: boolean
                              description: Value is ignored
                    blank:
                      type: boolean
                      description: Value is ignored
                    not_blank:
                      type: boolean
                      description: Value is ignored
                details:
                  type: object
                  description: Details text
                  properties:
                    equal:
                      type: string
                    not_equal:
                      type: string
                    equal_ignore_case:
                      type: string
                    starts_with:
                      type: string
                    does_not_start_with:
                      type: string
                    ends_with:
                      type: string
                    does_not_end_with:
                      type: string
                    contains:
                      type: string
                    does_not_contain:
                      type: string
                    any:
                      type: array
                      items:
                        type: string
                    not_any:
                      type: array
                      items:
                        type: string
                    any_ignore_case:
                      type: array
                      items:
                        type: string
                    blank:
                      type: boolean
                      description: Value is ignored
                    not_blank:
                      type: boolean
                      description: Value is ignored
                relationship_id:
                  type: object
                  description: The relationship's numeric ID
                  properties:
                    equal:
                      type: integer
                    not_equal:
                      type: integer
                    less_than:
                      type: integer
                    less_than_equal:
                      type: integer
                    greater_than:
                      type: integer
                    greater_than_equal:
                      type: integer
                    in_range:
                      type: array
                      items:
                        type: integer
                      minItems: 2
                      maxItems: 2
                      description: 'Two values: `[from, to]`, inclusive'
                    not_in_range:
                      type: array
                      items:
                        type: integer
                      minItems: 2
                      maxItems: 2
                      description: 'Two values: `[from, to]`, inclusive'
                    any:
                      type: array
                      items:
                        type: integer
                    not_any:
                      type: array
                      items:
                        type: integer
                    blank:
                      type: boolean
                      description: Value is ignored
                    not_blank:
                      type: boolean
                      description: Value is ignored
      responses:
        '200':
          description: 200 OK
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"results\": [\n    {\n      \"self\": \"/v1/relationships/1001\",\n      \"source\": \"/v1/contacts/2001\",\n      \"destination\": \"/v1/contacts/6001\",\n      \"relationship_type\": \"/v1/relationship_types/7001\"\n    },\n    {\n      \"self\": \"/v1/relationships/2001\",\n      \"source\": \"/v1/companies/3001\",\n      \"destination\": \"/v1/companies/12001\",\n      \"relationship_type\": \"/v1/relationship_types/8001\"\n    }\n  ],\n  \"next\": \"/v1/relationships/_search?start=2001\"\n}"
        '400':
          description: 400 Bad Request
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"error\": \"unsupported_operator\",\n  \"attribute\": \"details\",\n  \"operator\": \"less_than\",\n  \"operand\": \"M\"\n}"
      deprecated: false
      tags:
      - Relationships
  /relationships/{id}:
    get:
      summary: Relationship
      description: Show the details of a relationship
      operationId: relationship
      parameters:
      - name: id
        in: path
        description: The relationship ID
        schema:
          type: integer
          format: int32
        required: true
      responses:
        '200':
          description: 200 OK
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"self\": \"/v1/relationships/11000\",\n  \"source_contact\": \"/v1/contacts/5000\",\n  \"destination_contact\": \"/v1/contacts/6000\",\n  \"relationship_type\": \"/v1/relationship_types/1000\",\n  \"details\": \"Married in 2015\",\n  \"create_date\": \"2017-10-06T13:36:43.000Z\"\n}"
        '404':
          description: 404 Not Found
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"error\": \"relationship_not_found\"\n}"
      deprecated: false
      tags:
      - Relationships
    patch:
      summary: Relationship
      description: Update a relationship
      operationId: relationship-edit
      parameters:
      - name: id
        in: path
        description: The relationship ID
        schema:
          type: integer
          format: int32
        required: true
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                source_contact:
                  type: string
                  description: Reference of the source contact, e.g. `/v1/contacts/1000`.
                destination_contact:
                  type: string
                  description: Reference of the destination contact, e.g. `/v1/contacts/1001`.
                source_company:
                  type: string
                  description: Reference of the source company, e.g. `/v1/companies/1000`.
                destination_company:
                  type: string
                  description: Reference of the destination company, e.g. `/v1/companies/1001`.
                relationship_type:
                  type: string
                  description: Reference of the [relationship type](ref:relationship_type), e.g. `/v1/relationship_types/1000`. Optional; send `null` to remove it.
                details:
                  type: string
                  description: Details (max 512 characters).
      responses:
        '204':
          description: 204 No Content
        '400':
          description: 400 Bad Request
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"details\": [\n    {\n      \"error\": \"too_long\",\n      \"count\": 512\n    }\n  ]\n}"
        '404':
          description: 404 Not Found
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"error\": \"invalid_id\"\n}"
      deprecated: false
      tags:
      - Relationships
    delete:
      summary: Relationship
      description: Permanently delete a relationship
      operationId: relationship-delete
      parameters:
      - name: id
        in: path
        description: The relationship ID
        schema:
          type: integer
          format: int32
        required: true
      responses:
        '204':
          description: 204 No Content
        '404':
          description: 404 Not Found
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"error\": \"invalid_id\"\n}"
      deprecated: false
      tags:
      - Relationships
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: Authorization
      x-bearer-format: bearer
x-readme-fauxas: true
x-provenance:
  method: searched
  source: https://developer.daylite.app/reference
  harvested: '2026-10-26'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://developer.daylite.app/reference/appointment-create.md
  - https://developer.daylite.app/reference/appointment-delete.md
  - https://developer.daylite.app/reference/appointment-edit.md
  - https://developer.daylite.app/reference/appointment-emails.md
  - https://developer.daylite.app/reference/appointment-search.md
  - https://developer.daylite.app/reference/appointment-trash-details.md
  - https://developer.daylite.app/reference/appointment-trash.md
  - https://developer.daylite.app/reference/appointment.md
  - https://developer.daylite.app/reference/appointments.md
  - https://developer.daylite.app/reference/categories.md
  - https://developer.daylite.app/reference/category-delete.md
  - https://developer.daylite.app/reference/category-details.md
  - https://developer.daylite.app/reference/companies.md
  - https://developer.daylite.app/reference/company-create.md
  - https://developer.daylite.app/reference/company-delete.md
  - https://developer.daylite.app/reference/company-details.md
  - https://developer.daylite.app/reference/company-edit.md
  - https://developer.daylite.app/reference/company-emails.md
  - https://developer.daylite.app/reference/company-extra-fields-edit.md
  - https://developer.daylite.app/reference/company-extra-fields.md
  - https://developer.daylite.app/reference/company-image-destroy.md
  - https://developer.daylite.app/reference/company-image-update.md
  - https://developer.daylite.app/reference/company-image.md
  - https://developer.daylite.app/reference/company-search.md
  - https://developer.daylite.app/reference/company-trash-details.md
  - https://developer.daylite.app/reference/company-trash.md
  - https://developer.daylite.app/reference/company_type-details.md
  - https://developer.daylite.app/reference/company_types.md
  - https://developer.daylite.app/reference/contact-create.md
  - https://developer.daylite.app/reference/contact-delete.md
  - https://developer.daylite.app/reference/contact-details.md
  - https://developer.daylite.app/reference/contact-edit.md
  - https://developer.daylite.app/reference/contact-emails.md
  - https://developer.daylite.app/reference/contact-extra-fields-edit.md
  - https://developer.daylite.app/reference/contact-extra-fields.md
  - https://developer.daylite.app/reference/contact-image-destroy.md
  - https://developer.daylite.app/reference/contact-image-update.md
  - https://developer.daylite.app/reference/contact-image.md
  - https://developer.daylite.app/reference/contact-search.md
  - https://developer.daylite.app/reference/contact-trash-details.md
  - https://developer.daylite.app/reference/contact-trash.md
  - https://developer.daylite.app/reference/contacts.md
  - https://developer.daylite.app/reference/create-form-definition.md
  - https://developer.daylite.app/reference/create-subscription.md
  - https://developer.daylite.app/reference/delete-subscription.md
  - https://developer.daylite.app/reference/email-1.md
  - https://developer.daylite.app/reference/email-body-search.md
  - https://developer.daylite.app/reference/email-body-update.md
  - https://developer.daylite.app/reference/email-body.md
  - https://developer.daylite.app/reference/email-create.md
  - https://developer.daylite.app/reference/email-delete.md
  - https://developer.daylite.app/reference/email-metadata.md
  - https://developer.daylite.app/reference/email-search.md
  - https://developer.daylite.app/reference/email-trash-details.md
  - https://developer.daylite.app/reference/email-trash.md
  - https://developer.daylite.app/reference/email.md
  - https://developer.daylite.app/reference/emails.md
  - https://developer.daylite.app/reference/file-content-set.md
  - https://developer.daylite.app/reference/file-content.md
  - https://developer.daylite.app/reference/file-create.md
  - https://developer.daylite.app/reference/file-edit.md
  - https://developer.daylite.app/reference/file-emails.md
  - https://developer.daylite.app/reference/file-remove.md
  - https://developer.daylite.app/reference/file-search.md
  - https://developer.daylite.app/reference/file-trash-details.md
  - https://developer.daylite.app/reference/file-trash.md
  - https://developer.daylite.app/reference/file.md
  - https://developer.daylite.app/reference/files.md
  - https://developer.daylite.app/reference/form-2.md
  - https://developer.daylite.app/reference/form-definition-delete.md
  - https://developer.daylite.app/reference/form-definition-edit.md
  - https://developer.daylite.app/reference/form-definition-trash-details.md
  - https://developer.daylite.app/reference/form-definition-trash.md
  - https://developer.daylite.app/reference/form-definition.md
  - https://developer.daylite.app/reference/form-details.md
  - https://developer.daylite.app/reference/form-edit.md
  - https://developer.daylite.app/reference/form-emails.md
  - https://developer.daylite.app/reference/form-search.md
  - https://developer.daylite.app/reference/form-trash-details.md
  - https://developer.daylite.app/reference/form-trash.md
  - https://developer.daylite.app/reference/form.md
  - https://developer.daylite.app/reference/forms-list.md
  - https://developer.daylite.app/reference/get-subscription.md
  - https://developer.daylite.app/reference/group-create.md
  - https://developer.daylite.app/reference/group-edit.md
  - https://developer.daylite.app/reference/group-emails.md
  - https://developer.daylite.app/reference/group-extra-fields-edit.md
  - https://developer.daylite.app/reference/group-extra-fields.md
  - https://developer.daylite.app/reference/group-remove.md
  - https://developer.daylite.app/reference/group-search.md
  - https://developer.daylite.app/reference/group-trash-details.md
  - https://developer.daylite.app/reference/group-trash.md
  - https://developer.daylite.app/reference/group.md
  - https://developer.daylite.app/reference/groups.md
  - https://developer.daylite.app/reference/industries.md
  - https://developer.daylite.app/reference/industry-details.md
  - https://developer.daylite.app/reference/keyword-delete.md
  - https://developer.daylite.app/reference/keyword.md
  - https://developer.daylite.app/reference/keywords.md
  - https://developer.daylite.app/reference/labels.md
  - https://developer.daylite.app/reference/list-form-definitions.md
  - https://developer.daylite.app/reference/list-subscriptions.md
  - https://developer.daylite.app/reference/note-create.md
  - https://developer.daylite.app/reference/note-delete.md
  - https://developer.daylite.app/reference/note-details.md
  - https://developer.daylite.app/reference/note-edit.md
  - https://developer.daylite.app/reference/note-emails.md
  - https://developer.daylite.app/reference/note-search.md
  - https://developer.daylite.app/reference/note-trash-details.md
  - https://developer.daylite.app/reference/note-trash.md
  - https://developer.daylite.app/reference/notes.md
  - https://developer.daylite.app/reference/opportunities.md
  - https://developer.daylite.app/reference/opportunity-create.md
  - https://developer.daylite.app/reference/opportunity-delete.md
  - https://developer.daylite.app/reference/opportunity-edit.md
  - https://developer.daylite.app/reference/opportunity-emails.md
  - https://developer.daylite.app/reference/opportunity-extra-fields-edit.md
  - https://developer.daylite.app/reference/opportunity-extra-fields.md
  - https://developer.daylite.app/reference/opportunity-search.md
  - https://developer.daylite.app/reference/opportunity-trash-details.md
  - https://developer.daylite.app/reference/opportunity-trash.md
  - https://developer.daylite.app/reference/opportunity.md
  - https://developer.daylite.app/reference/opportunity_type.md
  - https://developer.daylite.app/reference/opportunity_types.md
  - https://developer.daylite.app/reference/ping.md
  - https://developer.daylite.app/reference/pipeline-stage.md
  - https://developer.daylite.app/reference/pipeline-stages.md
  - https://developer.daylite.app/reference/pipeline.md
  - https://developer.daylite.app/reference/pipelines.md
  - https://developer.daylite.app/reference/project-create.md
  - https://developer.daylite.app/reference/project-edit.md
  - https://developer.daylite.app/reference/project-emails.md
  - https://developer.daylite.app/reference/project-extra-fields-edit.md
  - https://developer.daylite.app/reference/project-extra-fields.md
  - https://developer.daylite.app/reference/project-remove.md
  - https://developer.daylite.app/reference/project-search.md
  - https://developer.daylite.app/reference/project-trash-details.md
  - https://developer.daylite.app/reference/project-trash.md
  - https://developer.daylite.app/reference/project.md
  - https://developer.daylite.app/reference/projects.md
  - https://developer.daylite.app/reference/refresh-token.md
  - https://developer.daylite.app/reference/region-details.md
  - https://developer.daylite.app/reference/regions.md
  - https://developer.daylite.app/reference/relationship-create.md
  - https://developer.daylite.app/reference/relationship-delete.md
  - https://developer.daylite.app/reference/relationship-edit.md
  - https://developer.daylite.app/reference/relationship-search.md
  - https://developer.daylite.app/reference/relationship.md
  - https://developer.daylite.app/reference/relationship_type-create.md
  - https://developer.daylite.app/reference/relationship_type-edit.md
  - https://developer.daylite.app/reference/relationship_type-search.md
  - https://developer.daylite.app/reference/relationship_type.md
  - https://developer.daylite.app/reference/relationship_types.md
  - https://developer.daylite.app/reference/relationships.md
  - https://developer.daylite.app/reference/resource-create.md
  - https://developer.daylite.app/reference/resource-delete.md
  - https://developer.daylite.app/reference/resource-details.md
  - https://developer.daylite.app/reference/resource-edit.md
  - https://developer.daylite.app/reference/resource-search.md
  - https://developer.daylite.app/reference/resources.md
  - https://developer.daylite.app/reference/role-create.md
  - https://developer.daylite.app/reference/role-delete.md
  - https://developer.daylite.app/reference/role-edit.md
  - https://developer.daylite.app/reference/role-search.md
  - https://developer.daylite.app/reference/role.md
  - https://developer.daylite.app/reference/role_type-create.md
  - https://developer.daylite.app/reference/role_type-delete.md
  - https://developer.daylite.app/reference/role_type-edit.md
  - https://developer.daylite.app/reference/role_type-search.md
  - https://developer.daylite.app/reference/role_type.md
  - https://developer.daylite.app/reference/role_types.md
  - https://developer.daylite.app/reference/roles.md
  - https://developer.daylite.app/reference/task-create.md
  - https://developer.daylite.app/reference/task-delete.md
  - https://developer.daylite.app/reference/task-edit.md
  - https://developer.daylite.app/reference/task-emails.md
  - https://developer.daylite.app/reference/task-search.md
  - https://developer.daylite.app/reference/task-trash-details.md
  - https://developer.daylite.app/reference/task-trash.md
  - https://developer.daylite.app/reference/task.md
  - https://developer.daylite.app/reference/tasks.md
  - https://developer.daylite.app/reference/team.md
  - https://developer.daylite.app/reference/teams.md
  - https://developer.daylite.app/reference/token-metadata.md
  - https://developer.daylite.app/reference/user-details.md
  - https://developer.daylite.app/reference/user-search.md
  - https://developer.daylite.app/reference/users.md
  merge:
    pages: 187
    deduped: 186
    conflicts_kept_first: 0