Marketo Landing Page Redirect Rules API

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

GitHub OpenAPI

Operations 6

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/redirectRules.json List landing page redirect rules · Get Landing Page Redirect Rules #
Ask an LLM
“Which landing page redirects are set up on my instance?”
“Can I find the redirect rule that sends traffic from one page to another?”
Tell an agent
List landing page redirect rules.
Show redirect rules that point to landing page {page}.
POST /rest/asset/v1/redirectRules.json Create a landing page redirect rule · Create Landing Page Redirect Rule #
Ask an LLM
“How do I send visitors from one landing page to another?”
“Can I redirect traffic from a branded domain path to a different landing page?”
Tell an agent
Redirect {from} to {to} on {hostname}.
Create a new landing page redirect rule for {hostname}.
GET /rest/asset/v1/redirectRule/{id}.json Get a landing page redirect rule · Get Landing Page Redirect Rule by Id #
Ask an LLM
“What does a specific landing page redirect rule look like?”
“Can I fetch one redirect rule by its ID?”
Tell an agent
Get landing page redirect rule {id}.
Show the from and to paths of redirect rule {id}.
POST /rest/asset/v1/redirectRule/{id}.json Update a landing page redirect rule · Update Landing Page Redirect Rule #
Ask an LLM
“Can I change the destination of an existing landing page redirect?”
“How do I edit a redirect rule that already exists?”
Tell an agent
Change redirect rule {id} to send traffic from {from} to {to}.
Point existing redirect rule {id} at {to}.
POST /rest/asset/v1/redirectRule/{id}/delete.json Delete a landing page redirect rule · Delete Landing Page Redirect Rule #
Ask an LLM
“How do I remove an old redirect rule from a landing page?”
“Can I delete a redirect rule by its ID?”
Tell an agent destructive · confirm first
Delete landing page redirect rule {id}.
Remove the redirect rule {id} from its landing page.
GET /rest/asset/v1/landingPageDomains.json List landing page domains and aliases · Get Landing Page Domains #
Ask an LLM
“Which domains and aliases are used for landing pages?”
“What landing page domains are configured on my instance?”
Tell an agent
List landing page domains and aliases.
Show landing page domains, {max} at a time.

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-landing-page-redirect-rules-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-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:
    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
    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
    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'
    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
    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
    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
    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'
    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