Skip to main content
POST
Post Site To Site Link

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Example:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Path Parameters

project_id
string
required
Required string length: 20 - 37
Examples:

"prj_1CTWZQGKE1S0VAXA"

"prj_1E0QTWB22SBX34D1"

Body

application/json

The type of the site-to-site link. Use GET /projects/{project_id}/supported_site_types to discover which site types can link to each other in your project.

Example:

"parent_of"

source_site_id
string
required

The ID of the source site in a site-to-site link. For a parent_of link, this is the parent site.

Required string length: 20 - 37
Examples:

"ste_1G5775S5R1S0MGA9"

"ste_1E21KYYG3SBX13Q7"

target_site_id
string
required

The ID of the target site in a site-to-site link. For a parent_of link, this is the child site.

Required string length: 20 - 37
Examples:

"ste_1G5775S5R1S0MGA9"

"ste_1E21KYYG3SBX13Q7"

Response

Successful Response

id
string
required
Required string length: 20 - 37
Examples:

"sts_1F2RV47XW1S0GFMP"

"sts_1E0MQPFNYSBXEXW4"

The way the link was created.

Available options:
explicit,
spatial_matching

The type of the site-to-site link. Use GET /projects/{project_id}/supported_site_types to discover which site types can link to each other in your project.

Example:

"parent_of"

project_id
string
required
Required string length: 20 - 37
Examples:

"prj_1CTWZQGKE1S0VAXA"

"prj_1E0QTWB22SBX34D1"

source_site_id
string
required

The ID of the source site in a site-to-site link. For a parent_of link, this is the parent site.

Required string length: 20 - 37
Examples:

"ste_1G5775S5R1S0MGA9"

"ste_1E21KYYG3SBX13Q7"

target_site_id
string
required

The ID of the target site in a site-to-site link. For a parent_of link, this is the child site.

Required string length: 20 - 37
Examples:

"ste_1G5775S5R1S0MGA9"

"ste_1E21KYYG3SBX13Q7"