Objects

Create Relationship Definition

Define a relationship from this object to another custom object or to contacts, companies or deals.

Schema administration: needs objects:manage and Admin access. A refusal's detail is {code, message}: slug_conflict / schema_change_in_progress (409), not_found (404, the target), source_not_found (404), unsupported_target (422).

post/objects/{object_slug}/relationships

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/objects/{object_slug}/relationships
  • Auth: HTTP bearer

Path parameters

object_slugstring required

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

api_slugstring required
source_labelstring required
target_labelstring required
source_manyboolean
target_manyboolean

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.