Search AWS connected partners by name
POST https://api.suger.cloud/org/{orgId}/cosell/partner/AWS/searchPartner
Search the org's connected AWS partners by name. Returns matching partner connections — each item has `id`, `name`, and `awsAccountId` — usable as `partnerId` when creating an outbound AWS co-sell referral. AWS-only. For Azure / GCP, partner selection happens through different mechanisms. Use this when: user is drafting an AWS co-sell referral and needs to pick which connected partner to share with.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
query | query | string | yes | Search query (partner name) |
limit | query | integer | no | Maximum results (default 20, max 100) |
Responses
200 — OK
Content-Type: application/json
structs.PartnerConnectionSearchResult fields:
| Field | Type | Required | Description |
|---|---|---|---|
awsAccountId | string | no | AwsAccountId is the AWS account ID of the partner. |
id | string | no | ID is the unique identifier for the partner connection. |
name | string | no | Name is the display name of the partner. |
400 — Bad Request
Content-Type: application/json · Schema: ErrorResponse
ErrorResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
code | ErrorCode | no | |
info | object | no | |
message | string | no |
500 — Internal Server Error
Content-Type: application/json · Schema: ErrorResponse
ErrorResponse fields:
| Field | Type | Required | Description |
|---|---|---|---|
code | ErrorCode | no | |
info | object | no | |
message | string | no |
View as Markdown · Interactive API reference
Spotted something wrong or out of date on this page? Tell us and we'll correct it.