Skip to content

Start without signing in

You can create an Organization Account with one request, without a Google or Apple account: a person trying ObjectsGrid out, or an AI agent that found it through /.well-known. It is the full product, not a sandbox: objects, tags, ABAC policies, webhooks and every other feature work as they do for any account.

1. Create the account

curl -X POST https://apis.objectsgrid.com/organizationaccounts \
  -H 'Content-Type: application/json' \
  -H 'X-ObjectsGrid-AccessPoint: EU' \
  -d '{"name": "My test organization", "email": "ana@example.com"}'

No Authorization header. email is optional: give one to receive the link that binds an administrator (step 3). The answer is 201 Created, the Organization Account with one more field, bootstrap:

{
  "id": "org-123-4567",
  "name": "My test organization",
  "accessPoint": "EU",
  "monthlyQuota": 50000,
  "verified": false,
  "bootstrap": {
    "admin": {
      "serviceAccount": {"id": "org-123-4567~…", "type": "secret", "secret": "…", "tags": [...]},
      "accessToken": "<admin API key>",
      "expiresAt": "2027-02-20T10:00:00Z"
    },
    "user": {"serviceAccount": {...}, "accessToken": "<user API key>", "expiresAt": "…"},
    "anonymous": {"serviceAccount": {...}, "accessToken": "<anonymous API key>"},
    "bindingUrl": "https://admin.objectsgrid.com/?bindAccount=org-123-4567&accessPoint=EU&bindingCode=…",
    "notice": "Each accessToken is an API key: …"
  }
}

Keep the response

The API keys, the secrets and the binding link are shown only now. ObjectsGrid can't show them again, and without a signed-in administrator, nobody can prove the account is theirs. Save them before you go on.

2. Use the API keys

Each accessToken is an API key: an access token that works for 90 days, or, for the anonymous one, without expiry. Send it like any access token:

curl https://apis.objectsgrid.com/products \
  -H 'X-ObjectsGrid-AccessPoint: EU' \
  -H 'Authorization: Bearer <user API key>'

The three keys belong to three service accounts, and the account's ABAC policy gives each its role:

Key Tag What it may do
admin security.role = organization-account-administrator Everything: it is an administrator, which the policy never limits
user role = user Read and write every business object, Persons and Orders included. Not the webhook configuration, the accounts, the ABAC policy or the access logs
anonymous role = anonymous Read the catalog (Products, Offers, Brands, Reviews, Organizations, Places, Services, Enums and the like) and send frontend logs. Nothing else: it is the key you may ship in a web page

The policy is an ordinary policy: read it with GET /abacpolicies/abac-policy--<organization account id> and change it with the admin key, to try other rules. Tags and the policy decide what each key may do; the key only says who is calling.

An API key follows its service account: disable or delete the account, and its key stops working within a minute; retag it, and the key carries the new tags. After 90 days, the admin and user service accounts get access tokens with their id and secret (POST /oauth2/token, grant_type=client_credentials). The anonymous key keeps working: it is public, meant for your web pages. Before you ship it, list your sites in its service account's allowedOrigins and give it a monthlyRequestLimit. See Anonymous access.

3. Become the administrator

The account is unverified until a person who signs in with Google or Apple becomes its administrator. While it is unverified:

  • it may make at most 50,000 requests a month, the free tier: it is never billed;
  • nobody can sign in to it with Google, Apple or Okta, apart from the binding below, which takes a Google or Apple sign-in.

To bind an administrator, either:

  • open the bindingUrl and sign in with Google or Apple. The link works once, for 30 days; with an email, it was also emailed to that address. Whoever opens it first becomes the administrator: bind it yourself right away;
  • or send your Google or Apple ID token with the admin API key:

    curl -X POST https://apis.objectsgrid.com/organizationaccounts/org-123-4567/administrator \
      -H 'Content-Type: application/json' \
      -H 'X-ObjectsGrid-AccessPoint: EU' \
      -H 'Authorization: Bearer <admin API key>' \
      -d '{"idToken": "<Google or Apple ID token>"}'
    

The answer is 201 with your new UserAccount, an administrator. The account is now verified (verified: true): the 50,000 limit is lifted, your monthlyQuota is your spending cap, and the app you signed in with is added to identityProviders, so you sign in with it from now on. Everything the account holds stays: objects, policy, service accounts and keys. Binding works once: afterwards the operation answers 409.

Limits

  • Creation: 5 accounts an hour and 20 a day from one address (an IPv6 address counts as its /64), and a daily limit for the whole platform; past them, 429.
  • Emails: at most one a day to an address, whatever the number of accounts created with it.
  • No recovery without a binding: an account nobody has bound has no owner ObjectsGrid can recognize. Keep the create response, and bind an administrator early.

For AI agents

Everything an agent needs is machine-readable: the discovery document says how to create an account, the OrganizationAccounts contract describes the request and the bootstrap response, and llms.txt summarizes the platform. An agent can create an account, store objects, tag them, write a policy and test it with the three keys, with no person involved; a person binds an administrator when the work is to be kept.