Admin API is a GraphQL API meant to be used by back-end servers or trusted parties performing administrative tasks. The goal of this API is to allow all what can be done through the Builder.io dashboard (and more) to be done through it.
This API is separate from the public Content API, which is meant to be used for consuming Builder content.
When you connect the Admin API to a specific space (by using its private key in the Authorization
header) you can:
- Query space settings.
- Query model definitions.
- Create / Read / Update / Delete models.
- Configure SSO provider.
- Clone your entire space.
Or you can connect it to an organization, in this case you can:
- Create a new space under it.
- Generate an embed token to allow embedding of a specific space within your organization.
It's available on:
https://cdn.builder.io/api/v2/admin
Make sure to pass your private key in authorization header
{
Authorization: 'Bearer bpk-xx'
}
To query and mutate your space add your private key to the HTTP Headers
section below. For detailed documentation on each of the queries and mutations press on DOCS
See our Admin SDK package for more info about querying and mutating your space.
Looking to hire a third party to help with your project?
Submit a project request and our partnerships team will reach out to connect you with an Expert from our partner ecosystem.