site_id. List the sites your key can see and pick one by domain.
How this example works
- One call lists every site in the organization. No pagination.
- Match on
domain, which is unique and stable. Names can be edited in the dashboard. - Save the ID as
RANKRAFT_SITE_ID; it never changes.