Marketo Landing Page Redirect Rules API

The Landing Page Redirect Rules API from Marketo — 4 operation(s) for landing page redirect rules.

Operations 6

GET /rest/asset/v1/redirectRules.json Get Landing Page Redirect Rules #
POST /rest/asset/v1/redirectRules.json Create Landing Page Redirect Rule #
GET /rest/asset/v1/redirectRule/{id}.json Get Landing Page Redirect Rule by Id #
POST /rest/asset/v1/redirectRule/{id}.json Update Landing Page Redirect Rule #
POST /rest/asset/v1/redirectRule/{id}/delete.json Delete Landing Page Redirect Rule #
GET /rest/asset/v1/landingPageDomains.json Get Landing Page Domains #

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-landing-page-redirect-rules-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-landing-page-redirect-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Marketo Engage Rest API
  version: '1.0'
  title: Marketo Engage Rest Landing Page Redirect Rules API
  termsOfService: https://www.adobe.com/legal.html
  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
servers:
- url: https://localhost:8080/
tags:
- name: Landing Page Redirect Rules
  description: Landing Page Redirect Rule Controller
paths:
  /rest/asset/v1/redirectRules.json:
    get:
      tags:
      - Landing Page Redirect Rules
      summary: Get Landing Page Redirect Rules
      description: 'Retrieves a list of landing page redirect rules from the target instance. Required Permissions: Read Only Redirect Rules, Read Write Redirect Rules'
      operationId: getLandingPageRedirectRulesUsingGET
      parameters:
      - name: maxReturn
        in: query
        description: Maximum number of landing page redirect rules to return. Max 200, default 20
        schema:
          type: integer
          format: int32
      - name: offset
        in: query
        description: Integer offset for paging
        schema:
          type: integer
          format: int32
      - name: redirectTolandingPageId
        in: query
        description: Landing page id of landing page to redirect to
        schema:
          type: string
      - name: redirectToPath
        in: query
        description: Path of landing page to redirect to
        schema:
          type: string
      - name: earliestUpdatedAt
        in: query
        description: Exclude landing page redirect rules 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.
        schema:
          type: string
      - name: latestUpdatedAt
        in: query
        description: Exclude landing page redirect rules 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.
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfLandingPageRedirectRules'
    post:
      tags:
      - Landing Page Redirect Rules
      summary: Create Landing Page Redirect Rule
      description: 'Create a new landing page redirect rule. Required Permissions: Read Write Redirect Rules'
      operationId: createLandingPageRedirectRuleUsingPOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfLandingPageRedirectRules'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CreateLandingPageRedirectRuleRequest'
        description: createLandingPageRedirectRuleRequest
        required: true
  /rest/asset/v1/redirectRule/{id}.json:
    get:
      tags:
      - Landing Page Redirect Rules
      summary: Get Landing Page Redirect Rule by Id
      description: 'Retrieves the landing page redirect rule record. Required Permissions: Read Only Redirect Rules, Read Write Redirect Rules'
      operationId: getLandingPageRedirectRuleByIdUsingGET
      parameters:
      - name: id
        in: path
        description: Id of landing page redirect rule
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfLandingPageRedirectRules'
    post:
      tags:
      - Landing Page Redirect Rules
      summary: Update Landing Page Redirect Rule
      description: 'Update an existing landing page redirect rule. Required Permissions: Read Write Redirect Rules'
      operationId: updateLandingPageRedirectRuleUsingPOST
      parameters:
      - name: id
        in: path
        description: Id of landing page redirect rule
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfLandingPageRedirectRules'
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateLandingPageRedirectRuleRequest'
        description: updateLandingPageRedirectRuleRequest
        required: true
  /rest/asset/v1/redirectRule/{id}/delete.json:
    post:
      tags:
      - Landing Page Redirect Rules
      summary: Delete Landing Page Redirect Rule
      description: 'Delete a landing page redirect rule. Required Permissions: Read Write Redirect Rules'
      operationId: deleteLandingPageRedirectRuleUsingPOST
      parameters:
      - name: id
        in: path
        description: Id of landing page redirect rule
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfIdResponse'
  /rest/asset/v1/landingPageDomains.json:
    get:
      tags:
      - Landing Page Redirect Rules
      summary: Get Landing Page Domains
      description: 'Retrieves a list of landing page domain and domain aliases. Required Permissions: Read Only Redirect Rules, Read Write Redirect Rules'
      operationId: getLandingPageDomainsUsingGET
      parameters:
      - name: maxReturn
        in: query
        description: Maximum number of landing page domains and domain aliases to return. Max 200, default 20
        schema:
          type: integer
          format: int32
      - name: offset
        in: query
        description: Integer offset for paging
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseOfLandingPageDomains'
components:
  schemas:
    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
    CreateLandingPageRedirectRuleRequest:
      type: object
      required:
      - hostname
      - redirectFrom
      - redirectTo
      properties:
        hostname:
          type: string
          description: The hostname for the landing pages. Branding domain or alias. Max 255 characters
        redirectFrom:
          $ref: '#/components/schemas/RedirectFrom'
          description: JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value'
        redirectTo:
          $ref: '#/components/schemas/RedirectTo'
          description: JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value'
    RedirectFrom:
      type: object
      required:
      - type
      - value
      properties:
        type:
          type: string
          description: Type of redirect landing page
          enum:
          - landingPageId
          - path
        value:
          type: string
          description: Value for redirect landing page. If type is 'path' this must not begin with forward slash
      description: JSON representation of 'from' redirect landing page rule
    ResponseOfLandingPageDomains:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
        requestId:
          type: string
        result:
          type: array
          items:
            $ref: '#/components/schemas/LandingPageDomain'
        success:
          type: boolean
        warnings:
          type: array
          items:
            type: string
    UpdateLandingPageRedirectRuleRequest:
      type: object
      properties:
        hostname:
          type: string
          description: The hostname for the landing pages. Branding domain or alias. Max 255 characters
        redirectFrom:
          $ref: '#/components/schemas/RedirectFrom'
          description: JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value'
        redirectTo:
          $ref: '#/components/schemas/RedirectTo'
          description: JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value'
    LandingPageDomain:
      type: object
      required:
      - hostname
      - type
      properties:
        hostname:
          type: string
          description: The hostname for the landing pages
        type:
          type: string
          description: Specifies type of hostname
          enum:
          - domain
          - domain-alias
    ResponseOfLandingPageRedirectRules:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/Error'
        requestId:
          type: string
        result:
          type: array
          items:
            $ref: '#/components/schemas/LandingPageRedirectRule'
        success:
          type: boolean
        warnings:
          type: array
          items:
            type: string
    RedirectTo:
      type: object
      required:
      - type
      - value
      properties:
        type:
          type: string
          description: Type of redirect landing page
          enum:
          - landingPageId
          - url
        value:
          type: string
          description: Value for redirect landing page
      description: JSON representation of 'to' redirect landing page rule
    IdResponse:
      type: object
      required:
      - id
      properties:
        id:
          type: integer
          format: int32
          description: Id of the asset
    LandingPageRedirectRule:
      type: object
      required:
      - id
      - redirectFromUrl
      - redirectToUrl
      - hostname
      - redirectFrom
      - redirectTo
      - createdAt
      - updatedAt
      properties:
        id:
          type: integer
          format: int64
          description: Internal id for landing page redirect rule
        redirectFromUrl:
          type: string
          description: Redirect 'from' URL of the Landing Page. Combination of the hostname and redirectFrom landing page or path
        redirectToUrl:
          type: string
          description: Redirect 'to' URL of the Landing Page. Could be a Marketo landing page or non-Marketo URL.
        hostname:
          type: string
          description: The hostname for the landing pages. Branding domain or alias. Max 255 characters.
        redirectFrom:
          description: JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value'
          $ref: '#/components/schemas/RedirectFrom'
        redirectTo:
          description: JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value'
          $ref: '#/components/schemas/RedirectTo'
        createdAt:
          type: string
          format: date-time
          description: Datetime the landing page redirect rule was created
        updatedAt:
          type: string
          format: date-time
          description: Datetime the landing page redirect rule was most recently updated
    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