<!-- https://headless-lms.dev/docs/api/platform -->

# Platform

Organizations and their API keys, created with the platform key

<Card href="/docs/api/platform/getPlatformOrganization" title="Find an organization by its slug" description="Requires the platform key as `Authorization: Bearer <platform key>`. Returns the organization with that slug and its metadata, to recover the id of an organization whose creation response was lost. 404 when no organization has the slug or the organization was not created with the platform key." />
<Card href="/docs/api/platform/createPlatformOrganization" title="Create an organization and its first API key" description="Requires the platform key as `Authorization: Bearer <platform key>`. Creates the organization, owned by the platform account, with its metadata, and an API key for the platform account with the Owner role and no expiry. The key is returned once. 409 when the slug is in use." />
<Card href="/docs/api/platform/createPlatformApiKey" title="Create another API key for an organization" description="Requires the platform key as `Authorization: Bearer <platform key>`. Creates an API key for the platform account in the organization, with the Owner role and no expiry, to replace a lost or leaked one; revoke the old key with the new one. The key is returned once. 404 when the platform account is not an active member of the organization." />
