Migrate to AWS Partner Central 3.0 in 30 minutes.

Migrate now (opens in a new tab)
Skip to main content
GET
/api/lead

Returns the co-sell / marketplace leads for the tenant.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Opaque bearer token obtained from POST /api/token (password grant). Send as Authorization: Bearer <token>.

Query Parameters

PageNumber?integer

1-based page number.

PageSize?integer

Number of records per page.

SearchText?string

Free-text filter.

SortColumn?string

Column to sort by.

SortOrder?string

asc or desc.

Response Body

Success. The business payload is returned in the Data field of the standard envelope.

application/json
  1. response

Standard response envelope returned by every endpoint except the token endpoint.

Data*unknown

The business payload. Shape depends on the operation; occasionally a JSON-encoded string.

Status*string

Business outcome. Check this, not just the HTTP code.

Value in"SUCCESS""ERROR"
StatusCode?|

Optional numeric status code.

ErrorDetail?||array<any>|

Raw error detail when Status is ERROR. Not a stable contract.

ErrorMessage?string

Human-readable error message when Status is ERROR.

OperationType?|

Reserved; usually null.

RequestCorrelationID?string

Correlation id for the request, useful for support.

Example Request
curl -X GET 'https://api-demo.saasify.ai/api/lead'
Example Response
{  "Data": {    "Data": [      {        "stage": "Qualified",        "leadId": "lead_001",        "status": "Active",        "referenceId": "REF-001",        "cloudProvider": "AWS"      }    ],    "PageSize": 20,    "CurrentPageNo": 1,    "TotalDataCount": 1  },  "Status": "SUCCESS",  "StatusCode": 200,  "ErrorDetail": null,  "ErrorMessage": "",  "OperationType": null,  "RequestCorrelationID": "9f1c2d3e-4b5a-6789-0abc-def012345678"}

Was this page helpful?