🌎
Geoflow Docs
  • 🌎Welcome to Geoflow
  • 🔍Overview
    • Visitor Data Properties
  • ⭐Features
    • Geo Visibility
      • Define Multiple Conditions
      • Match All Conditions
      • Partially Match Condition
      • Reverse Condition Value
      • Custom Classes
    • Geo Form
      • Autofill Form Fields
      • Auto-Populate Select Fields
    • Geo Text
    • Geo Style
    • Geo Script
    • Script Extensions
      • Performance
      • Marketing Parameters
    • Optional Settings
      • Script Tag Data Attributes
      • Meta Tags
  • ⚙️Advanced
    • Code Snippets
    • Methods
      • run
      • getData
      • updateData
      • displayData
      • clearData
      • checkCondition
      • select
    • Callbacks
    • Events
    • REST API
      • Get Visitor IP
      • Get Visitor Data
      • Add Website
      • Delete Website
      • Update Website
      • List Websites
      • Get Website
  • 📄Legal
    • License Agreement
Powered by GitBook
  1. Advanced
  2. REST API

Add Website

Add a single website to your account.

POST https://getgeoflow.com/beta/api/add-website/:accountID

Add a single website to your Geoflow account by passing a valid URL (including https) and the Webflow site ID. Optionally provide a name for your website, otherwise one will be randomly generated for you.

Path Parameters

Name
Type
Description

accountID*

String

Your Account ID

Headers

Name
Type
Description

Content-Type*

String

application/json

Authorization*

String

Bearer <TOKEN>

Request Body

Name
Type
Description

websiteURL*

String

Valid Website URL with HTTPS

websiteID*

String

Your Webflow Site ID

websiteName

String

Your Website Name

{
    "status": 201,
    "message": "Success",
    "description": "Your website was successfully added to your Geoflow account."
}
{
    "status": 401,
    "message": "Unauthorized",
    "description": "No API key was provided or you do not have access to this resource. Please provide a valid Geoflow REST API key or contact support."
}
{
    "status": 429,
    "message": "Too Many Requests",
    "description": "You have sent too many requests in a given amount of time. Please wait before sending more requests."
}
{
    "status": 404,
    "message": "Not Found",
    "description": "The endpoint you are trying to access does not exist or has been moved, or an invalid account ID was added as a parameter. Please refer to the Geoflow REST API documentation for further information or contact support."
}
{
    "status": 405,
    "message": "Method Not Allowed",
    "description": "The HTTP method used is not supported for this endpoint. Please refer to the Geoflow REST API documentation for further information or contact support."
}
{
    "status": 500,
    "message": "Internal Server Error",
    "description": "An unexpected error occurred on the server. The Geoflow API may be down or encountering another issue. Please try again later or contact support."
}

Developer Warning: Never share your API key with anyone or add it to client-side code. Where possible, use environment variables in your backend to keep your API key secure.

PreviousGet Visitor DataNextDelete Website

Last updated 1 year ago

Was this helpful?

⚙️
Page cover image