Marketo Static Lists API

The Static Lists API from Marketo — 3 operation(s) for static lists.

GitHub OpenAPI

Operations 13

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /rest/asset/v1/staticList/{id}.json Get a static list by ID · Get Static List by Id #
Ask an LLM
“How do I look up a static list's metadata when I know its ID?”
“Can I fetch a static list record by its asset ID?”
Tell an agent
Get static list {id}.
Show me the metadata of static list {id}.
POST /rest/asset/v1/staticList/{id}.json Update a static list's name or description · Update Static List Metadata #
Ask an LLM
“Can I rename a static list or change its description?”
“What permissions do I need to edit static list metadata?”
Tell an agent
Rename static list {id} to {name}.
Set the description of static list {id} to {description}.
GET /rest/asset/v1/staticLists.json List static lists in a folder · Get Static Lists #
Ask an LLM
“Which static lists live in a particular folder?”
“Can I list static lists updated since a certain date?”
Tell an agent
List static lists in folder {folder}.
Show static lists updated between {earliest} and {latest}.
POST /rest/asset/v1/staticLists.json Create a static list · Create Static List #
Ask an LLM
“How do I create a static list of leads?”
“What do I need to provide to create a static list, a name and folder?”
Tell an agent
Create static list {name} in folder {folder}.
Create a new static list called {name} described as {description}.
GET /rest/asset/v1/staticList/byName.json Look up a static list by name · Get Static List by Name #
Ask an LLM
“How do I find a static list when I only know its name?”
“Can I resolve a static list name to its id?”
Tell an agent
Get the static list named {name}.
Find static list {name} by name.
POST /rest/asset/v1/staticList/{id}/delete.json Delete a static list · Delete Static List #
Ask an LLM
“How do I delete a static list?”
“Can I remove a static list by its ID?”
Tell an agent destructive · confirm first
Delete static list {id}.
Remove the static list with ID {id}.
GET /rest/v1/list/{listId}/leads.json List leads in a static list · Get Leads By List Id #
Ask an LLM
“Which leads are members of a static list?”
“Can I pull a batch of lead records from a static list?”
Tell an agent
List the leads in static list {listId}.
Get {batchSize} leads from static list {listId}.
GET /rest/v1/lists.json Search static lists by name or program · Get Lists #
Ask an LLM
“Can I find static lists by name across my workspace?”
“Which static lists belong to a given program?”
Tell an agent
Find static lists named {name}.
List static lists in program {programName}.
GET /rest/v1/lists/{listId}.json Get a static list record from the lead database · Get List by Id #
Ask an LLM
“What details come back when I request a list record from the lead database by its list id?”
“Can I confirm a list exists in Marketo by looking up its listId?”
Tell an agent
Retrieve the lead database record for list {listId}.
Look up list {listId} through the v1 lists endpoint and show its record.
GET /rest/v1/lists/{listId}/leads.json List leads in a static list (v1) · Get Leads By List Id #
Ask an LLM
“Can I get the leads in a static list using the v1 endpoint?”
“What does the v1 endpoint return for a static list's members?”
Tell an agent
Using the v1 endpoint, list leads in static list {listId}.
Pull {batchSize} members of static list {listId} via v1.
POST /rest/v1/lists/{listId}/leads.json Add leads to a static list · Add to List #
Ask an LLM
“How do I add existing leads to a static list?”
“Can I add up to 300 leads at once?”
Tell an agent
Add leads {input} to static list {listId}.
Add existing leads {id} to static list {listId}.
DELETE /rest/v1/lists/{listId}/leads.json Remove leads from a static list · Remove from List #
Ask an LLM
“How do I take leads out of a static list?”
“Can I remove leads from a list by id?”
Tell an agent destructive · confirm first
Remove leads {input} from static list {listId}.
Take leads with ids {id} out of static list {listId}.
GET /rest/v1/lists/{listId}/leads/ismember.json Check which leads are in a static list · Member of List #
Ask an LLM
“How do I check whether certain leads are members of a static list?”
“Can I verify a list of leads against a static list?”
Tell an agent
Check which of leads {input} are in static list {listId}.
Verify leads {id} against static list {listId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/marketo:marketo-static-lists-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

marketo-static-lists-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Marketo Static Lists API
  version: '1.0'
  contact:
    name: Adobe Developer Relations
    url: https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/home
    email: ''
  license:
    name: API License Agreement
    url: https://experienceleague.adobe.com/en/docs/marketo-developer/marketo/api-license
  termsOfService: https://www.adobe.com/legal.html
  description: 'Operations tagged Static Lists across 2 of this provider''s published API definitions: marketo-asset-openapi-original.json, marketo-lead-database-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://localhost:8080/
tags:
- name: Static Lists
  description: Static List Controller
paths:
  /rest/asset/v1/staticList/{id}.json:
    get:
      tags:
      - Static Lists
      summary: Get Static List by Id
      description: 'Retrieves a Static List record by its id. Required Permissions: Read-Asset or Read-Write Asset'
      operationId: getStaticListByIdUsingGET
      parameters:
      - name: id
        in: path
        description: Id of the static list to retrieve
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfStaticListResponse'
    post:
      tags:
      - Static Lists
      summary: Update Static List Metadata
      description: 'Updates the metadata of a static list asset. Required Permissions: Read-Write Assets'
      operationId: updateStaticListUsingPOST
      parameters:
      - name: id
        in: path
        description: Id of static list to update
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfStaticListResponse'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateStaticListRequest'
        description: updateStaticListRequest
        required: true
    servers:
    - url: https://localhost:8080/
  /rest/asset/v1/staticLists.json:
    get:
      tags:
      - Static Lists
      summary: Get Static Lists
      description: 'Retrieves a list of Static List records. Required Permissions: Read-Asset or Read-Write Asset'
      operationId: getStaticListsUsingGET
      parameters:
      - name: folder
        in: query
        description: JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program'
        required: false
        schema:
          type: string
      - name: offset
        in: query
        description: Integer offset for paging
        required: false
        schema:
          type: integer
          format: int32
      - name: maxReturn
        in: query
        description: Maximum number of static lists to return. Max 200, default 20.
        required: false
        schema:
          type: integer
          format: int32
      - name: earliestUpdatedAt
        in: query
        description: Exclude static lists prior to this date. Must be valid ISO-8601 string. See <a href="http://developers.marketo.com/rest-api/lead-database/fields/field-types/">Datetime</a> field type description.
        required: false
        schema:
          type: string
      - name: latestUpdatedAt
        in: query
        description: Exclude static lists after this date. Must be valid ISO-8601 string. See <a href="http://developers.marketo.com/rest-api/lead-database/fields/field-types/">Datetime</a> field type description.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfStaticListResponse'
    post:
      tags:
      - Static Lists
      summary: Create Static List
      description: 'Creates a new Static List. Required Permissions: Read-Write Assets'
      operationId: createStaticListUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfStaticListResponse'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateStaticListRequest'
        description: createStaticListRequest
        required: true
    servers:
    - url: https://localhost:8080/
  /rest/asset/v1/staticList/byName.json:
    get:
      tags:
      - Static Lists
      summary: Get Static List by Name
      description: 'Retrieves a Static List record by its name. Required Permissions: Read-Asset or Read-Write Asset'
      operationId: getStaticListByNameUsingGET
      parameters:
      - name: name
        in: query
        description: Name of static list to retrieve
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfStaticListResponse'
    servers:
    - url: https://localhost:8080/
  /rest/asset/v1/staticList/{id}/delete.json:
    post:
      tags:
      - Static Lists
      summary: Delete Static List
      description: 'Deletes the designated Static List. Required Permissions: Read-Write Asset'
      operationId: deleteStaticListByIdUsingPOST
      parameters:
      - name: id
        in: path
        description: Id of the static list to delete
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfIdResponse'
    servers:
    - url: https://localhost:8080/
  /rest/v1/list/{listId}/leads.json:
    get:
      tags:
      - Static Lists
      summary: Get Leads By List Id
      description: 'Retrieves person records which are members of the given static list. Required Permissions: Read-Only Lead, Read-Write Lead'
      operationId: getLeadsByListIdUsingGET
      parameters:
      - name: listId
        in: path
        description: Id of the static list to retrieve records from
        required: true
        schema:
          type: integer
          format: int32
      - name: fields
        in: query
        description: Comma-separated list of lead fields to return for each record. If unset will return email, updatedAt, createdAt, lastName, firstName and id
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: batchSize
        in: query
        description: The batch size to return. The max and default value is 300.
        required: false
        schema:
          type: integer
          format: int32
      - name: nextPageToken
        in: query
        description: A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfLeadByListId'
    servers:
    - url: https://localhost:8080/
  /rest/v1/lists.json:
    get:
      tags:
      - Static Lists
      summary: Get Lists
      description: 'Returns a set of static list records based on given filter parameters. Required Permissions: Read-Only Lead, Read-Write Lead'
      operationId: getListsUsingGET
      parameters:
      - name: id
        in: query
        description: Comma-separated list of static list ids to return
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: name
        in: query
        description: Comma-separated list of static list names to return
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: programName
        in: query
        description: Comma-separated list of program names. If set will return all static lists that are children of the given programs
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: workspaceName
        in: query
        description: Comma-separated list of workspace names. If set will return all static lists that are children of the given workspaces
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: batchSize
        in: query
        description: The batch size to return. The max and default value is 300.
        required: false
        schema:
          type: integer
          format: int32
      - name: nextPageToken
        in: query
        description: A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfStaticList'
    servers:
    - url: https://localhost:8080/
  /rest/v1/lists/{listId}.json:
    get:
      tags:
      - Static Lists
      summary: Get List by Id
      description: 'Returns a list record by its id. Required Permissions: Read-Only Lead, Read-Write Lead'
      operationId: getListByIdUsingGET
      parameters:
      - name: listId
        in: path
        description: Id of the static list to retrieve records from
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfStaticList'
    servers:
    - url: https://localhost:8080/
  /rest/v1/lists/{listId}/leads.json:
    get:
      tags:
      - Static Lists
      summary: Get Leads By List Id
      description: 'Retrieves person records which are members of the given static list. Required Permissions: Read-Only Lead, Read-Write Lead'
      operationId: getLeadsByListIdUsingGET_1
      parameters:
      - name: listId
        in: path
        description: Id of the static list to retrieve records from
        required: true
        schema:
          type: integer
          format: int32
      - name: fields
        in: query
        description: Comma-separated list of lead fields to return for each record. If unset will return email, updatedAt, createdAt, lastName, firstName and id
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - name: batchSize
        in: query
        description: The batch size to return. The max and default value is 300.
        required: false
        schema:
          type: integer
          format: int32
      - name: nextPageToken
        in: query
        description: A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfLead'
    post:
      tags:
      - Static Lists
      summary: Add to List
      description: 'Adds a given set of person records to a target static list. There is a limit of 300 lead ids per request. Required Permissions: Read-Write Lead'
      operationId: addLeadsToListUsingPOST
      parameters:
      - name: listId
        in: path
        description: Id of target list
        required: true
        schema:
          type: integer
          format: int32
      - name: id
        in: query
        description: Comma-separated list of lead ids to add to the list
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfListOperationOutputData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListOperationRequest'
        description: Optional JSON request body for submitting leads
    delete:
      tags:
      - Static Lists
      summary: Remove from List
      description: 'Removes a given set of person records from a target static list. Required Permissions: Read-Write Lead'
      operationId: removeLeadsFromListUsingDELETE
      parameters:
      - name: listId
        in: path
        description: Id of static list to remove leads from
        required: true
        schema:
          type: integer
          format: int32
      - name: id
        in: query
        description: id
        required: true
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfListOperationOutputData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListOperationRequest'
        description: listOperationRequest
        required: true
    servers:
    - url: https://localhost:8080/
  /rest/v1/lists/{listId}/leads/ismember.json:
    get:
      tags:
      - Static Lists
      summary: Member of List
      description: 'Checks if leads are members of a given static list. Required Permissions: Read-Write Lead'
      operationId: areLeadsMemberOfListUsingGET
      parameters:
      - name: listId
        in: path
        description: Id of the static list to check against
        required: true
        schema:
          type: integer
          format: int32
      - name: id
        in: query
        description: Comma-separated list of lead ids to check
        required: false
        style: form
        explode: true
        schema:
          type: array
          items:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfListOperationOutputData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListOperationRequest'
        description: Optional JSON request body
    servers:
    - url: https://localhost:8080/
components:
  schemas:
    ResponseOfStaticListResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
        requestId:
          type: string
        result:
          type: array
          items:
            $ref: '#/components/schemas/StaticListResponse'
        success:
          type: boolean
        warnings:
          type: array
          items:
            type: string
    IdResponse:
      type: object
      required:
      - id
      properties:
        id:
          type: integer
          format: int32
          description: Id of the asset
    ResponseOfIdResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
        requestId:
          type: string
        result:
          type: array
          items:
            $ref: '#/components/schemas/IdResponse'
        success:
          type: boolean
        warnings:
          type: array
          items:
            type: string
    Folder:
      type: object
      required:
      - id
      - type
      properties:
        id:
          type: integer
          format: int32
          description: Id of the folder
        type:
          type: string
          description: Type of folder
          enum:
          - Folder
          - Program
      description: JSON representation of a folder
    UpdateStaticListRequest:
      type: object
      properties:
        description:
          type: string
          description: Description of the static list
        name:
          type: string
          description: Name of the static list
    StaticListResponse:
      type: object
      required:
      - id
      - name
      - description
      - createdAt
      - updatedAt
      - url
      - folder
      - workspace
      properties:
        id:
          type: integer
          format: int64
          description: Id of the static list
        name:
          type: string
          description: Name of the static list
        description:
          type: string
          description: Description of the static list
        createdAt:
          type: string
          format: date-time
          description: Datetime the static list was created
        updatedAt:
          type: string
          format: date-time
          description: Datetime the static list was most recently updated
        url:
          type: string
          description: Url of the static list in the Marketo UI
        folder:
          description: JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program'
          $ref: '#/components/schemas/Folder'
        workspace:
          type: string
          description: Name of the workspace
        computedUrl:
          type: string
    Error:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Error code of the error. See full list of error codes <a href="https://developers.marketo.com/rest-api/error-codes/">here</a>
        message:
          type: string
          description: Message describing the cause of the error
    CreateStaticListRequest:
      type: object
      required:
      - name
      - folder
      properties:
        description:
          type: string
          description: Description of the static list
        name:
          type: string
          description: Name of the static list
        folder:
          description: Folder object describing the parent folder
          $ref: '#/components/schemas/Folder'
    ListOperationRequest:
      type: object
      required:
      - input
      properties:
        input:
          type: array
          description: List of leads for input
          items:
            $ref: '#/components/schemas/LeadInputData'
    ResponseOfListOperationOutputData:
      type: object
      required:
      - errors
      - requestId
      - result
      - success
      - warnings
      properties:
        errors:
          type: array
          description: Array of errors that occurred if the request was unsuccessful
          items:
            $ref: '#/components/schemas/Error'
        moreResult:
          type: boolean
          example: false
          description: Boolean indicating if there are more results in subsequent pages
        nextPageToken:
          type: string
          description: Paging token given if the result set exceeded the allowed batch size
        requestId:
          type: string
          description: Id of the request made
        result:
          type: array
          description: Array of results for individual records in the operation, may be empty
          items:
            $ref: '#/components/schemas/ListOperationOutputData'
        success:
          type: boolean
          example: false
          description: Whether the request succeeded
        warnings:
          type: array
          description: Array of warnings given for the operation
          items:
            $ref: '#/components/schemas/Warning'
    LeadInputData:
      type: object
      required:
      - id
      properties:
        id:
          type: integer
          format: int64
          description: Unique integer id of a lead record
      description: Lead record containing only lead id
    Reason:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Integer code of the reason
        message:
          type: string
          description: Message describing the reason for the status of the operation
    ProgramMembership:
      type: object
      required:
      - membershipDate
      - progressionStatus
      properties:
        acquiredBy:
          type: boolean
          example: false
          description: Whether the lead was acquired by the parent program
        isExhausted:
          type: boolean
          example: false
          description: Whether the lead is currently exhausted in the stream, if applicable
        membershipDate:
          type: string
          description: Date the lead first became a member of the program
        nurtureCadence:
          type: string
          description: Cadence of the parent stream if applicable
        progressionStatus:
          type: string
          description: Program status of the lead in the parent program
        reachedSuccess:
          type: boolean
          example: false
          description: Whether the lead is in a success-status in the parent program
        stream:
          type: string
          description: Stream that the lead is a member of, if the parent program is an engagement program
    Warning:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: integer
          format: int32
          description: Integer code of the warning
        message:
          type: string
          description: Message describing the warning
    ResponseOfStaticList:
      type: object
      required:
      - errors
      - requestId
      - result
      - success
      - warnings
      properties:
        errors:
          type: array
          description: Array of errors that occurred if the request was unsuccessful
          items:
            $ref: '#/components/schemas/Error'
        nextPageToken:
          type: string
          description: Paging token given if the result set exceeded the allowed batch size
        requestId:
          type: string
          description: Id of the request made
        result:
          type: array
          description: Array of results for individual records in the operation, may be empty
          items:
            $ref: '#/components/schemas/StaticList'
        success:
          type: boolean
          example: false
          description: Whether the request succeeded
        warnings:
          type: array
          description: Array of warnings given for the operation
          items:
            $ref: '#/components/schemas/Warning'
    Lead:
      type: object
      properties:
        id:
          type: integer
          format: int32
          description: Unique integer id of a lead record
        membership:
          description: Membership data for the parent program. Only returned via Get Leads By Program Id
          $ref: '#/components/schemas/ProgramMembership'
        reason:
          description: Reason object describing why an operation did not succeed for a record
          $ref: '#/components/schemas/Reason'
        status:
          type: string
          description: Status of the operation performed on the record
      description: Lead record. Always contains id, but may have any number of other fields, depending on the fields available in the target instance.
    StaticList:
      type: object
      required:
      - createdAt
      - id
      - name
      - updatedAt
      properties:
        createdAt:
          type: string
          description: Datetime when the list was created
        description:
          type: string
          description: Description of the static list
        id:
          type: integer
          format: int32
          description: Unique integer id of the static list
        name:
          type: string
          description: Name of the static list
        programName:
          type: string
          description: Name of the program
        updatedAt:
          type: string
          description: Datetime when the list was most recently updated
        workspaceName:
          type: string
          description: Name of the parent workspace, if applicable
    ListOperationOutputData:
      type: object
      required:
      - id
      properties:
        id:
          type: integer
          format: int64
          description: Unique integer id of a lead record
        reasons:
          type: array
          description: List of reasons why an operation did not succeed. Reasons are only present in API responses and should not be submitted
          items:
            $ref: '#/components/schemas/Reason'
        status:
          type: string
          description: Status of the operation performed on the record
    ResponseOfLead:
      type: object
      required:
      - errors
      - requestId
      - result
      - success
      - warnings
      properties:
        errors:
          type: array
          description: Array of errors that occurred if the request was unsuccessful
          items:
            $ref: '#/components/schemas/Error'
        moreResult:
          type: boolean
          example: false
          description: Boolean indicating if there are more results in subsequent pages
        nextPageToken:
          type: string
          description: Paging token given if the result set exceeded the allowed batch size
        requestId:
          type: string
          description: Id of the request made
        result:
          type: array
          description: Array of results for individual records in the operation, may be empty
          items:
            $ref: '#/components/schemas/Lead'
        success:
          type: boolean
          example: false
          description: Whether the request succeeded
        warnings:
          type: array
          description: Array of warnings given for the operation
          items:
            $ref: '#/components/schemas/Warning'
    ResponseOfLeadByListId:
      type: object
      required:
      - errors
      - requestId
      - result
      - success
      - warnings
      properties:
        errors:
          type: array
          description: Array of errors that occurred if the request was unsuccessful
          items:
            $ref: '#/components/schemas/Error'
        nextPageToken:
          type: string
          description: Paging token given if the result set exceeded the allowed batch size
        requestId:
          type: string
          description: Id of the request made
        result:
          type: array
          description: Array of results for individual records in the operation, may be empty
          items:
            $ref: '#/components/schemas/Lead'
        success:
          type: boolean
          example: false
          description: Whether the request succeeded
        warnings:
          type: array
          description: Array of warnings given for the operation
          items:
            $ref: '#/components/schemas/Warning'
x-refined-from:
- marketo-asset-openapi-original.json
- marketo-lead-database-openapi-original.json