Skip to main content
POST
/
organisations
/
{orgId}
/
workspaces
/
{workspaceId}
/
solutions
/
{solutionId}
/
relationships
/
{action}
Manage solution relationships
curl --request POST \
  --url https://api.meetsquad.ai/organisations/{orgId}/workspaces/{workspaceId}/solutions/{solutionId}/relationships/{action} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "opportunityIds": [
    "a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d"
  ]
}
'

Authorizations

Authorization
string
header
required

JWT authentication for organization-scoped endpoints.

Path Parameters

orgId
string
required

Organization ID

workspaceId
string
required

Workspace ID

solutionId
string
required

Solution ID

action
enum<string>
required

Action to perform on relationships

Available options:
add,
remove

Body

application/json

Request body for managing solution relationships

opportunityIds
string[]

Array of opportunity IDs to associate with the solution

Example:
["a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d"]

Response

Relationships successfully modified