Move a keyword to another group
curl --request PATCH \
--url https://intentleads.si/api/v1/lanes/{code}/keywords \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"group": "B"
}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({group: 'B'})
};
fetch('https://intentleads.si/api/v1/lanes/{code}/keywords', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/lanes/{code}/keywords"
payload = { "group": "B" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"lane": "L1",
"keyword": "finding medical device distributors",
"group": "B"
}
Move a keyword to another group
Moves a keyword, matched on its exact text (case-insensitive), to group A, B, C or D. Group A: researching any of its keywords. Each group B-D in use adds: and also researching at least one of its keywords. A group with no live keyword yet stops the lane being checked or exported (409 group_not_live). Counts update at the lane’s next check.
Free. This doesn’t use any contacts from your plan.
PATCH
/
api
/
v1
/
lanes
/
{code}
/
keywords
Move a keyword to another group
curl --request PATCH \
--url https://intentleads.si/api/v1/lanes/{code}/keywords \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"group": "B"
}'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({group: 'B'})
};
fetch('https://intentleads.si/api/v1/lanes/{code}/keywords', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/lanes/{code}/keywords"
payload = { "group": "B" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"lane": "L1",
"keyword": "finding medical device distributors",
"group": "B"
}
Authorizations
An Intent Leads API key, e.g. il_live_ followed by 32 letters and digits. Create one on the API and CLI page of the dashboard.
Path Parameters
Lane code, e.g. L1. Case-insensitive.
Query Parameters
The keyword to move, exact text (case-insensitive).
Body
application/json
A: the lane's main keywords (researching any of them). B, C, D: the person must also research at least one keyword from each group in use.
Available options:
A, B, C, D