Skip to main content

Overview

The Giza API uses API key authentication. Authenticated endpoints require two headers on each request.

Required Headers

Example Request

Obtaining API Credentials

1

Contact Giza

Reach out to the Giza team to request partner access.

Request Access

Visit gizatech.xyz to get started
2

Receive Credentials

You’ll receive:
  • API Key: A unique key for authentication
  • Partner Name: Your registered partner identifier
  • Backend URL: The API endpoint URL
3

Configure Environment

Store credentials securely as environment variables:
.env

Authentication Scopes

Different endpoints require different authentication levels:

Public Endpoints (No Auth Required)

These endpoints can be called without authentication:

Authenticated Endpoints

These endpoints require API key authentication:

Error Responses

Invalid or Missing API Key

HTTP Status: 401 Unauthorized

Access Denied

HTTP Status: 403 Forbidden This occurs when:
  • Trying to access another partner’s wallet
  • API key is inactive
  • Partner doesn’t have permission for the operation

Security Best Practices

Never expose your API key in client-side code! Always make API calls from your backend server.
  • Use environment variables, not hardcoded strings
  • Never commit .env files to version control
  • Use a secrets manager in production (AWS Secrets Manager, HashiCorp Vault, etc.)
Contact Giza to regenerate your API key if:
  • You suspect it’s been compromised
  • An employee with access leaves your organization
  • As part of regular security hygiene
Always use HTTPS when making API requests. Never send API keys over unencrypted connections.
Make all authenticated API calls from your backend:

Using with the SDK

The TypeScript SDK handles authentication automatically:

SDK Overview

We recommend using the SDK for simplified authentication

Next Steps

Activate Wallet

Create your first agent

Get Protocols

Discover available protocols