Creates a new guest user with personal information (PII). This is the first step in the widget onboarding process.
Guest created successfully.
{- "email": "guest@crymbo.com",
- "pii": {
- "firstName": "first",
- "lastName": "last",
- "dob": "1996-12-30",
- "phone": "+972 50890 7997",
- "address": "124 Example Street",
- "city": "New York",
- "country": "USA",
- "zipCode": "100002"
}
}
Generates a token for an existing guest user. This token is required to access protected parts of the widget and must be included in the widget URL.
Token successfully generated.
Unauthorized - User not found or invalid credentials.
{- "username": "guest@crymbo.com"
}
{- "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}