Projects
Create a project, claim it for a team, and manage its origins and members.
A project is the top-level boundary that holds users, sessions and their
sign-in configuration. You create one to give your app a place to sign users
in; zitadel setup does it for you.
A common sequence:
- Create the project. The response carries the project secret and the preview secret, and no other operation returns them.
- Claim it. A project created before anyone signed in has no owning team. A
claim attaches it to a team, so
that the team's members administer it. Start the claim, open the returned
URL in a browser, and poll the claim's status until it completes.
zitadel claimruns these steps. - Add origin patterns for the URLs that may use the project.
A claim must finish within 14 days of the project's creation. After that the project can no longer be claimed. How owning teams, grants and invitations give access: Access and memberships.
| Method | Path | Summary |
|---|---|---|
GET | /users/me/projects | List the projects I can act on |
POST | /projects | Create a project |
POST | /projects/query | Query projects |
GET | /projects/{project_id} | Get a project by ID |
PATCH | /projects/{project_id} | Update a project |
GET | /projects/{project_id}/members | List the members of a project |
POST | /projects/{project_id}/claim/init | Create a project claim |
GET | /projects/{project_id}/claim/status | Get the status of a project claim |
POST | /projects/{project_id}/claim/complete | Complete a project claim |
GET | /projects/{project_id}/claim/window | Get the claim window for a project |
POST | /projects/{project_id}/origins | Add an origin pattern |
POST | /projects/{project_id}/origins/remove | Remove an origin pattern |
Was this helpful?