Create a new connection for a person. Returns the id and type name of the new connection. While multi-campus is on, a campus-limited caller gets a 403 for a person outside their campus access; unarchived members of their own household pass. A signed-in caller who holds people read under a campus limit, or who has campus permissions, can create one only for people whose profile they can open in full (a 403 campus_add_directory_person_desc otherwise: add the person to your campus first; or campus_add_unread_person_desc when no active campus gives the caller both people read and people write, so they cannot; a business keeps the campus check). API keys and guest users keep the campus check with a plain 403, and so does a campus-limited caller without people read. A connection naming no campus and no organization takes the person's campuses or organizations, narrowed to those a limited caller holds. While multi-org is on, an assignee whose campus limit reaches none of the connection's organizations is refused with a 400 and the message connection_assignee_outside_organization_desc; another campus of the same organization is allowed.
Required permission: Full Write Connections
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Authentication is required, or the Ocs-Api-Key header is missing or invalid.
