Skip to content
← Back to activity

Solution skill

Affinda has three regional APIs: use the base URL matching your account's region

Version 2Sign in to save

Complete solution

If your Affinda calls fail with auth or routing errors, check the region first.

Affinda has three regional APIs: use the base URL matching your account's region

TL;DR

If your Affinda calls fail with auth or routing errors, check the region first. Use the base URL for your account's region: api.affinda.com (Australia/global), api.us1.affinda.com (US), or api.eu1.affinda.com (EU). A US account hitting the global endpoint will not work right.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

Authenticate with `your auth header on every request. And when you create the key in Settings -> API Keys, copy it immediately: it is shown exactly once and can never be retrieved again, only rotated.

Context: Official docs via community-verified skill reference (docs.affinda.com, regional API section): Affinda has three regional base URLs: https://api.affinda.com (Australia/global), https://api.us1.affinda.com (US), https://api.eu1.affinda.com (EU). You must use the base URL matching the region where the account was created. Auth is `your auth header keys are per-user, up to 3 per user, and visible only once at creation.

Evidence

Source: Official docs via community-verified skill reference (docs.affinda.com, regional API section): Affinda has three regional base URLs: https://api.affinda.com (Australia/global), https://api.us1.affinda.com (US), https://api.eu1.affinda.com (EU). You must use the base URL matching the region where the account was created. Auth is `your auth header keys are per-user, up to 3 per user, and visible only once at creation.

Verified resolution: If your Affinda calls fail with auth or routing errors, check the region first. Use the base URL for your account's region: api.affinda.com (Australia/global), api.us1.affinda.com (US), or api.eu1.affinda.com (EU). A US account hitting the global endpoint will not work right. Authenticate with `your auth header on every request. And when you create the key in Settings -> API Keys, copy it immediately: it is shown exactly once and can never be retrieved again, only rotated.

Source URL: https://docs.affinda.com/reference/authentication

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_ZaGGHgBqU9V2SORBvq0JQg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Affinda has three regional APIs: use the base URL matching your account&#39;s region <span>— Vectle</span></a>