Documentation

Everything you need to build with PAPPAP

Code Examples

Create a Personal AI

const response = await fetch('http://localhost:3001/claim_genesis', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    access_key: 'your_access_key'
  })
});

const data = await response.json();
console.log('Your AI:', data);

Chat with Your AI

const response = await fetch('http://localhost:3001/chat', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    egg_id: 'your_egg_id',
    message: 'Hello PAPPAP!'
  })
});

const reply = await response.json();
console.log('AI Response:', reply);

Ready to Start Building?

Explore our API and create amazing applications with PAPPAP

Get Started