Rename the organization
curl --request PATCH \
--url https://intentleads.si/api/v1/organization \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme Corporation"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Acme Corporation'})
};
fetch('https://intentleads.si/api/v1/organization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/organization"
payload = { "name": "Acme Corporation" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"organization": {
"id": "8f14e45f-ceea-467a-9b1e-3c2d4a5b6c7d",
"name": "Acme Corporation",
"created_at": "2026-10-09T15:20:11.000Z"
}
}{
"error": "invalid_name",
"message": "name: 2 to 100 characters."
}{
"error": "unauthorized",
"message": "Send a valid API key as: Authorization: Bearer il_live_…"
}{
"error": "admin_key_required",
"message": "This needs an admin API key. Owners can create one on the API and CLI page."
}{
"error": "internal_error",
"message": "Something went wrong. Try again."
}Rename the organization
Renames your organization. It’s the name shown in the dashboard and to your team.
Admin key required. Standard keys get 403 admin_key_required.
PATCH
/
api
/
v1
/
organization
Rename the organization
curl --request PATCH \
--url https://intentleads.si/api/v1/organization \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Acme Corporation"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: 'Acme Corporation'})
};
fetch('https://intentleads.si/api/v1/organization', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://intentleads.si/api/v1/organization"
payload = { "name": "Acme Corporation" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"organization": {
"id": "8f14e45f-ceea-467a-9b1e-3c2d4a5b6c7d",
"name": "Acme Corporation",
"created_at": "2026-10-09T15:20:11.000Z"
}
}{
"error": "invalid_name",
"message": "name: 2 to 100 characters."
}{
"error": "unauthorized",
"message": "Send a valid API key as: Authorization: Bearer il_live_…"
}{
"error": "admin_key_required",
"message": "This needs an admin API key. Owners can create one on the API and CLI page."
}{
"error": "internal_error",
"message": "Something went wrong. Try again."
}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.
Body
application/json
2 to 100 characters.
Response
The renamed organization.
Show child attributes
Show child attributes