Authentication
All Projects API endpoints require anAuthorization header:
Base path
GET /api/v1/dev/projects
List all projects belonging to the authenticated developer.Example request
Response
The unique identifier for the project. Pass this as
project_id in session endpoints.The human-readable project name you set when creating the project.
A partial/masked preview of the project’s secret key. The full key is only returned once, at creation time or after a key rotation.
The URL Bondify posts
auth.confirmed and auth.cancelled events to. Empty string if no webhook is configured.Whether the project accepts new session requests.
false means the project is paused and will reject new session requests.Whether unauthenticated session requests (from the public endpoints) are allowed for this project.
ISO 8601 timestamp of when the project was created.
Total number of auth sessions ever initiated for this project.
Total number of sessions that reached
confirmed status.POST /api/v1/dev/projects
Create a new project. The response includes the fullsecret_key — this is the only time it is returned in plaintext. Store it securely (for example, as an environment variable) immediately.
Request body
A display name for the project, such as your application’s name.
An HTTPS URL that Bondify will POST
auth.confirmed and auth.cancelled events to. Defaults to an empty string if omitted. You can add or change this later via PATCH.Example request
Response
The created project object, including the fullsecret_key:
Copy the
secret_key from this response and store it as an environment variable immediately. Subsequent calls to GET /api/v1/dev/projects will return only a masked preview of the key.PATCH /api/v1/dev/projects/:id
Update one or more settings on an existing project. All body fields are optional — only the fields you include are changed.Request body
New display name for the project.
New webhook URL. Pass an empty string to remove the webhook.
Set to
false to pause the project and reject new session requests, or true to re-enable it.Set to
true to allow the public session endpoints to accept requests for this project.Example request
Response
The updated project object (same shape as thePOST response above).
DELETE /api/v1/dev/projects/:id
Permanently delete a project and all associated data, including sessions and analytics. This action is irreversible.Example request
Response
true when the project was successfully deleted.POST /api/v1/dev/projects/:id/regenerate
Rotate the project’s secret key. The previous key is invalidated immediately — update your environment variables and redeploy any services that depend on it before calling this endpoint.Example request
Response
The new secret key in full plaintext. Store it securely — it will not be shown again.
After rotating a key, update the
BONDIFY_SECRET environment variable in every service that verifies proofs or webhook signatures, then redeploy. Webhook deliveries and proof verifications will fail until services are updated.