Finding IDs (foreign keys)

Which endpoint returns each ID you need to call the rest of the API.

Most endpoints take IDsstore_id, review_site_id, campaign_id, plan_id and
so on. These are foreign keys that reference another resource. This page tells you which
endpoint to call to obtain each ID
.

📘

IDs are integers unless noted. Pass them in the path, body or query exactly as each

endpoint's page documents. In the Postman collection, most list/create requests have a
test script that captures the returned id into a {{…Id}} variable automatically, so
later requests are pre-filled.

Core resources

Foreign keyIdentifiesGet it from
store_idA store / locationList stores — account · List stores — partner
company_id / brand_id / account_idAn account / account (company)List accounts — partner · List child accounts — account
review_site_idA review site (publisher)Review-site catalogue · Review sites for a store
store_review_site_idA store's specific review-site linkList review sites for a store
city_idA city (address lookup)List cities
companyindustry_idAn industryList account industries
partner_idYour own partner accountReturned by Login as company.id (when bundle_id = 1)

Plans

Foreign keyIdentifiesGet it from
plan_idA planList plans — partner · List plans — account

Users

Foreign keyIdentifiesGet it from
user_idA userList users

Campaigns & templates

Foreign keyIdentifiesGet it from
campaign_idA campaignList campaigns
email_template_idAn email templateList email templates
sms_template_idAn SMS templateList SMS templates
landing_page_idA landing-page templateList landing-page templates
file_header_idA CSV automation file-header setList automation campaigns

QR codes

Foreign keyIdentifiesGet it from
qr_code_idA QR codeList QR codes
template_id (QR)A QR templateList QR templates

Reviews, responses & AI

Foreign keyIdentifiesGet it from
review_idA reviewReview-response feed
ai_response_idA stored AI responseList AI responses for a review

Reports

Foreign keyIdentifiesGet it from
competitive_report_idA competitive reportList competitive reports
insight_report_idAn insight reportSubmit insight report (returned on submit)
report_idA saved email / user reportList email reports

Widgets

Foreign keyIdentifiesGet it from
widget_type_idA widget typeList widget types

Webhooks & notifications

Foreign keyIdentifiesGet it from
webhook_subscription_idA webhook subscriptionList subscriptions
notification_idAn error notificationList error notifications

Auth & onboarding

Foreign keyIdentifiesGet it from
client_id (OAuth)An OAuth clientList OAuth clients
bulk_import_idA bulk-import jobBulk import accounts + locations (returned on upload)

Did this page help you?