sellerLeads
Use this query to pull a list of leads you referred to Opendoor and get the latest information/status for them.
Example
Section titled “Example”This is an example query that would ask for all available fields to be returned. You can try this query out by pasting it into the GraphQL playground. Make sure to update your query variables at the bottom of the editor!
query GetSellerLeads($after: String, $limit: Int, $filter: SellerLeadsFilter) { sellerLeads(after: $after, limit: $limit, filter: $filter) { cursor leads { trackingId source sellerInputId createdAt qualifiedAt market virtualAssessments { completedAt } address { street state postalCode city } customer { email fullName phoneNumber } denied { deniedAt code explanation } offers { totalValue feeValue createdAt sentAt receivedAt viewedAt updatedAt expiredAt withdrawnAt acceptedAt enteredContractAt contingenciesReleasedAt closedAt } } }}Definition
Section titled “Definition”sellerLeads( limit: Int after: String filter: SellerLeadsFilter): SellerLeadsResponse!Arguments
Section titled “Arguments”| Argument | Type | Description |
|---|---|---|
limit | Int | Number of leads to return in each query transaction. Max accepted limit is 250. Default is 20. |
after | String | The cursor that points to the beginning of the next batch of leads. This should be empty for the first transaction and then should use the cursor from the previous response if one is present. |
filter | SellerLeadsFilter | The filter criteria to narrow the response by lead creation and last updated dates. See SellerLeadsFilter for more details. |
Return Type
Section titled “Return Type”Returns SellerLeadsResponse!.