Never put a Gu1 API key in a frontend, a mobile app, or a repository. Create the person and the validation from your backend.
Prompt version: 2026-11-30
Integrate Gu1 KYC in sandbox, end to end, using only these public pages. Do not invent endpoints, fields, or secrets.
Docs:
- https://docs.gu1.ai/en/api-reference/authentication
- https://docs.gu1.ai/en/api-reference/person/create
- https://docs.gu1.ai/en/use-cases/kyc/create-validation
- https://docs.gu1.ai/en/use-cases/kyc/sandbox-mock-data
- https://docs.gu1.ai/en/use-cases/kyc/check-status
- https://docs.gu1.ai/en/use-cases/kyc/webhook-integration
Rules:
- Use a sandbox API key. Send it only from the server, as Authorization: Bearer, or as X-API-Key. Never in the query string, never in frontend code, never committed.
- Base URL is https://api.gu1.ai unless the dashboard shows a dedicated base URL for that organization.
- Create a person with POST /entities (type person). For an approved sandbox result, use taxId 99990001. See the sandbox mock page for other outcomes.
- Create the validation with POST /api/kyc/validations. Body includes entityId and integrationCode global_gueno_validation_kyc, as documented.
- The create call returns pending. The final status arrives on the webhook. Read it with GET /api/kyc/validations/:id. Do not poll in a tight loop.
- Handle kyc.validation_approved and kyc.validation_rejected. Verify the webhook signature the way the webhook page describes.
- Stop when a sandbox person is created, a validation is created, and a webhook or a status read shows the mock outcome.