API reference · v1.0.0
Accounts
The accounts of your end users: give an account created without a domain its domain, and choose how Flavio works for it and the language it writes in.
- Base URL
- There is no single base URL: each partner works on its own domain, under its own brand, so your customers never see ours. We give you yours when we set you up together. The examples use app.acmeseo.com.
/api/accounts/{uuid}Update account
Changes the details of an account. An account created without a domain gets one with
domain: send it once the website is live there. Flavio starts its first scan right away
and, from then on, scans it on its own every scan_interval days (in
product_details.features of the account): there is no scan to ask for. The timeline
records each one as scan.completed.
When the first scan ends, Flavio links the pages of the plan to the ones it found, checks
what was answered with acknowledge (a page to create is resolved once found at its
path), measures Get AI readiness and opens interventions for what is missing.
Authentication
Authorizationheader · Bearer JWTThe JWT of one account (HMAC-SHA256, signed with the API Key), sent as
Authorization: Bearer <JWT>. It gives access to that account only: every operation of Flavio Agent, Webhooks, Site data and Keywords, competitors and pages, and updating the account.
Parameters
uuidpath · stringrequiredUUID of the Account to update
Request body
data.type"account"requireddata.id- stringrequired
The ID of the account to update. MUST match the
uuidparameter in the URL
data.attributes
domainstringThe domain of the website, for an account created without one. Send it once the website is live there: Flavio scans it right away, and then every
scan_intervaldays on its own. It cannot be changed once given:400if the account already has oneflavio_modestringHow Flavio works for the account. With
on_demand, the default, Flavio works when you ask it to. Withloop, Flavio also works by itself every so often: it asks for a new scan when the last one is old, asks AI assistants about the business once a month, brings in the data of the connected sources and writes the first plan when there is none. Only for accounts with Flavio.langstringThe language of the account’s user, such as
enores. Flavio writes the texts of the account in it, such as the plan and the interventions
Responses
200 OK
data.type"account"data.id- string
The unique ID for the Account. This
idis the same value returned in theuuidfield of the Account object attributes.
data.attributes
uuidstringThe unique resource identifier for this Account
promostringnullablePromotional tag of this Account
created_atstringAccount creation date / time
deleted_atstringnullableThe date / time on which this Account was deleted
suspended_atstringnullableThe date / time on which this Account was suspended
delete_datestringnullableAccount is still active but marked for deletion at this date / time.
trial_periodnumbernullableNumber of trial days
demonumberis_configuredbooleanThis is a
booleanfield that flags active user interaction of the tool. If this field istrue, the user has passed and configured the initial Wizard, marking the active usage of the product.productstringType of product
product_detailsobjectThe account’s product: its name, its features and whether it is free
Child attributes
namestringVisible name of the product
featuresobjectWhat a product includes and its limits, such as the number of keywords and competitors.
Child attributes
api_onlybooleanallow_anonymousbooleanmax_keywordsnumbernullableMaximum number of keywords allowed
max_competitorsnumbernullableMaximum number of competitors allowed
max_pagesnumberMaximum number of web pages scanned in each scan
ofs_toolbooleanmax_tasksnumbernullableMaximum number of tasks (
null: no limit)pdf_downloadbooleanWhether the results can be downloaded as a PDF
scan_intervalnumberInterval of days between each automatic scan
scan_on_demandbooleansocialbooleanmax_recipientsnumbernullableshow_wp_instructionsbooleanhave_pluginstringnullableThe plugin the product is for, such as
wordpress, ornullplugin_basenamestringnullableThe base name of that plugin, such as
marketgoo-seoadvanced_toolsbooleanadvanced_popularitybooleanmeta_suggestionsnumberAI meta description suggestions a site can ask for each day
optimize_suggestionsnumberAI page optimization suggestions a site can ask for each month
local_businessbooleanlocal_business_aiboolean
freebooleanWhether the product is free
partner_tokenstringnullableThe partner token this account is linked to
domainstringnullableThe domain for this Account web site, or
nullif the account has noneflavio_modestringHow Flavio works for the account. With
on_demand, the default, Flavio works when you ask it to. Withloop, Flavio also works by itself every so often: it asks for a new scan when the last one is old, asks AI assistants about the business once a month, brings in the data of the connected sources and writes the first plan when there is none. Only for accounts with Flavio.subscriptionobjectnullableThe account’s subscription, or
nullif it has noneChild attributes
typenumberintervalnumbergatewaystringThe payment gateway of the subscription
gateway_idstringThe subscription’s ID in the payment gateway
namestringThe name of the user
emailstringThe email of the user
ulidstringlangstringThe language of the user
siteobjectOnly when the account has a domain
Child attributes
frozen_atstringnullableThe date / time on which the site was frozen
domainstringThe domain for this site
created_atstringSite creation date / time (UTC)
checked_atstringDate / time of the last automatic scan
thumbnailstringnullableThumbnail filename. Use the following table to prefix this filename and get the correct thumbnail size and type:
Type Size Prefix path Desktop Medium (400x300) /thumbnails/desktop/medium Desktop Small (200x150) /thumbnails/desktop/small Desktop Thumbnail (100x75) /thumbnails/desktop/thumbnail Mobile Medium (320x568) /thumbnails/mobile/medium Mobile Small (160x284) /thumbnails/mobile/small Mobile Thumbnail (80x142) /thumbnails/mobile/thumbnail Mobile Lighthouse report /thumbnails/mobile/lighthouse Tablet Medium (400x300) /thumbnails/tablet/medium Tablet Small (200x150) /thumbnails/tablet/small Tablet Thumbnail (100x75) /thumbnails/tablet/thumbnail Add this thumbnail filename to the prefix path to create the final URL path to the desired thumbnail type and size. For example:
https://app.acmeseo.com/thumbnails/desktop/medium/fb8a42eaaad1eaf41f73e3643140e8f87a15f057.webpThe Lighthouse report is the Google Lighthouse report of the homepage on mobile, in JSON. Its filename is the same with the
.jsonextension instead of.webp:https://app.acmeseo.com/thumbnails/mobile/lighthouse/fb8a42eaaad1eaf41f73e3643140e8f87a15f057.jsonerrorobjectnullableOnly present when the site could not be checked: the HTTP status and the cURL code and message
Child attributes
http_statusnumbercurl_statusnumbercurl_messagestring
configobjectThe settings of the site, as your customer or your integration saved them
Child attributes
company_namestringnullableThe name of the business
is_localbooleanWhether it is a local business:
truewhencityis setcitystringnullableThe city of a local business, empty if it is not one
countrystringThe country the site targets, as a lowercase
ISO 3166-1 alpha-2codewebmaster_emailstringnullableThe email of the person in charge of the site
webmaster_namestringnullableThe name of the person in charge of the site
goalstringnullableThe main goal of the site,
customers,visibilityorloyalty(older accounts may have other values), ornullif it is not setindustrystringnullableThe industry of the business:
finance,education,tech-ecommerce,entertainment,food-services,real-estate,healthcare-wellness,travel-hospitality,home-servicesorothercmsstringThe CMS of the site, as detected in the last scan
google_oauthobjectnullableThe Google services connected to the account, or
nullif none isChild attributes
profileobjectThe property connected in each service
Child attributes
google_analyticsobjectnullableThe Google Analytics property, or
nullChild attributes
namestringThe name of the property
web_property_idstringThe ID of the property
google_search_consoleobjectnullableThe Google Search Console property, or
nullChild attributes
web_property_idstringThe URL of the property
google_businessobjectnullableThe Google Business Profile location, or
nullChild attributes
idstringThe ID of the location in Google
namestringThe name of the business on Google
account_idstringThe ID of the Google account the location belongs to
account_namestringThe name of that Google account
addressstringnullableThe address of the business, or
nullphonestringnullableThe main phone of the business, or
nullwebsitestringnullableThe website the profile links to, or
nullplace_idstringnullableThe Google Maps place ID, or
null
scopesobjectWhether your customer gave access to each service
Child attributes
google_analyticsbooleangoogle_search_consolebooleangoogle_businessboolean
need_authenticationbooleantruewhen the connection has expired or was revoked and your customer has to connect again
phone_prefixstringnullableThe international calling code of the business phone
phone_numberstringnullableThe phone number of the business
logostringnullableThe absolute URL of the business logo
openaiobjectHow many AI suggestions are left
Child attributes
meta_tries_leftintegerAI meta description suggestions left today (
meta_suggestionsof the product, every day)optimize_tries_leftintegerAI page optimization suggestions left this month (
optimize_suggestionsof the product, every month)
toolsobjectWhat was saved in the tools of the site
Child attributes
structureddataobjectnullableThe data last saved in the structured data generator (
LocalBusiness), ornull
400 Bad Request
errorsobject[]Child attributes
codenumberNumeric error code
titlestringError message title
detailstringError message detail
sourceobjectThis is the parameter that triggered the error
Child attributes
pointerstring
404 Not Found
errorsobject[]Child attributes
statusnumberHTTP status
titlestringError message title
detailstringError message detail
Request
curl -X PATCH https://app.acmeseo.com/api/accounts/{uuid} \
-H "Authorization: Bearer <JWT>" \
-H "Accept: application/vnd.marketgoo.api+json" \
-H "Content-Type: application/vnd.marketgoo.api+json" \
-d '{
"data": {
"type": "account",
"id": "{uuid}",
"attributes": {
"domain": "bloomandco.example"
}
}
}'PATCH /api/accounts/{uuid} HTTP/1.1
Host: app.acmeseo.com
Authorization: Bearer <JWT>
Accept: application/vnd.marketgoo.api+json
Content-Type: application/vnd.marketgoo.api+json
{
"data": {
"type": "account",
"id": "{uuid}",
"attributes": {
"domain": "bloomandco.example"
}
}
}Response
{
"data": {
"type": "account",
"id": "{uuid}",
"attributes": {
"uuid": "{uuid}",
"promo": "xmas-promo",
"created_at": "2026-05-19T16:52:09Z",
"deleted_at": null,
"suspended_at": null,
"delete_date": null,
"trial_period": 0,
"demo": 0,
"is_configured": true,
"product": "evolution",
"product_details": {
"name": "Pro",
"features": {
"api_only": false,
"allow_anonymous": false,
"max_keywords": 20,
"max_competitors": 4,
"max_pages": 1000,
"ofs_tool": true,
"max_tasks": null,
"pdf_download": true,
"scan_interval": 1,
"scan_on_demand": true,
"social": false,
"max_recipients": null,
"show_wp_instructions": false,
"have_plugin": null,
"plugin_basename": null,
"advanced_tools": true,
"advanced_popularity": true,
"meta_suggestions": 3,
"optimize_suggestions": 20,
"local_business": true,
"local_business_ai": true
},
"free": false
},
"partner_token": "acme-cloud",
"domain": "www.marketgoo.com",
"subscription": {
"type": 2,
"interval": 1,
"gateway": "stripe",
"gateway_id": "sub_1AbCdEfGhIjKlMnOpQrStUvW"
},
"name": "John Doe",
"email": "john@doe.com",
"ulid": "8d1f6b0c2a9e4f7d3b5c1a0e9f8d7c6b5a4e3d2c",
"lang": "en",
"site": {
"frozen_at": null,
"domain": "www.marketgoo.com",
"created_at": "2026-05-19T16:52:09Z",
"checked_at": "2026-10-29T16:52:50Z",
"thumbnail": "fb8a42eaaad1eaf41f73e3643140e8f87a15f057.webp"
}
}
}
}{
"errors": [
{
"code": 1023,
"title": "Invalid Email",
"detail": "The 'email' parameter is empty or invalid.",
"source": {
"pointer": "/data/attributes/email"
}
}
]
}{
"errors": [
{
"status": 404,
"title": "Not Found",
"detail": "The requested account ID was not found"
}
]
}No matching properties.