Marketo Static Lists API

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

Operations 13

GET /rest/asset/v1/staticList/{id}.json Get Static List by Id #
POST /rest/asset/v1/staticList/{id}.json Update Static List Metadata #
GET /rest/asset/v1/staticLists.json Get Static Lists #
POST /rest/asset/v1/staticLists.json Create Static List #
GET /rest/asset/v1/staticList/byName.json Get Static List by Name #
POST /rest/asset/v1/staticList/{id}/delete.json Delete Static List #
GET /rest/v1/list/{listId}/leads.json Get Leads By List Id #
GET /rest/v1/lists.json Get Lists #
GET /rest/v1/lists/{listId}.json Get List by Id #
GET /rest/v1/lists/{listId}/leads.json Get Leads By List Id #
POST /rest/v1/lists/{listId}/leads.json Add to List #
DELETE /rest/v1/lists/{listId}/leads.json Remove from List #
GET /rest/v1/lists/{listId}/leads/ismember.json Member of List #

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-static-lists-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. 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:
    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
    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
    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
    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
    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'
    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
    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'
    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
    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'
    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
    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'
    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.
    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
    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'
    ListOperationRequest:
      type: object
      required:
      - input
      properties:
        input:
          type: array
          description: List of leads for input
          items:
            $ref: '#/components/schemas/LeadInputData'
    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
x-refined-from:
- marketo-asset-openapi-original.json
- marketo-lead-database-openapi-original.json