Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.leadwaycrm.com/llms.txt

Use this file to discover all available pages before exploring further.

The “Create Redirect” API Allows adding a new url redirect to the system. Use this endpoint to create a url redirect with the specified details. Ensure that the required information is provided in the request payload.
POST https://services.leadconnectorhq.com/funnels/lookup/redirect

Autorizacion

Authorization
string
required
Bearer token generado desde el portal Leadway. Ver Autenticacion.
Version
string
default:"2021-07-28"
required
Version de la API.

Body

locationId
string
default:"6p2RxpgtMKQwO3E6IUaT"
required
domain
string
default:"example.com"
required
path
string
default:"/Hello"
required
target
string
default:"https://www.google.com"
required
action
string
default:"URL"
required
Posibles valores: ‘funnel’, ‘website’, ‘url’, ‘all’

Respuestas

data
object
required
Data containing details of the created redirect
{}
{}

Ejemplo

curl -X POST 'https://services.leadconnectorhq.com/funnels/lookup/redirect' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28' \
  -H 'Content-Type: application/json' \
  -d '{
  "locationId": "6p2RxpgtMKQwO3E6IUaT",
  "domain": "example.com",
  "path": "/Hello",
  "target": "https://www.google.com",
  "action": "URL"
}'