Portfolio
The Portfolio family of queries will most likely be your most used ones. It contains fields to related portfolio resources like funnel steps.
WARNING
Even when making authenticated requests, the team id is not inferred. You will need to specify the team id in the query to make the query working.
Get portfolio by ID
This is one of the most barebones queries you can make. It will directly return the portfolio with the specified ID. If the ID does not match up with a portfolio, you will receive an error response.
graphql
query Portfolio($teamId: Int!, $portfolioId: Int!) {
portfolioV2(teamId: $teamId, portfolioId: $portfolioId) {
teamId
portfolioId
title
start
end
funnelSteps {
funnelStepId
type
title
}
}
}