The RallyMind Blog

Generate Landing Pages via API

May 26, 2017

Once you have your campaign content and Master Template setup, you will have access to a "Theme ID", which can then be used when publishing new Landing Pages.

As part of the API call to create a new landing page, you can include Business, Location, and Site (Landing Page) details.

Here is an example of a simple request using basic information:

POST /api/v2/sites/

  "theme_id": 43927,
    "base_directory": "/take-control/",
    "logo_image": {
      "type": "logo",
      "external_url": ""
        "city": "San Francisco",
        "contact_email": "",
        "country": "US",
        "phones": [
            "number": "(415) 924-8901",
            "type": "phone"
        "postal_code": "47708",
        "state": "CA",
        "street": "20 NW 1st Street Suite 610"
  "published": true

The Landing Page is generated within seconds and should be visible under it's URL (in this case

More about our API

The RallyMind/DevHub API is a REST-style API that uses JSON for serialization and OAuth 2 for authentication. For more details about our API you can visit our Github documentation