> ## Documentation Index
> Fetch the complete documentation index at: https://developer.ongoody.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Goody API

> Goody's API lets you send physical products and gifts programmatically.

* **Send gifts without an address**. You can generate a gift link where they can view your gift, have the option of swapping it for something else, and enter their address themselves
* **Ship physical products to an address**. If you already have an address, Goody can ship products and handle all the logistics.

## Available APIs

Goody provides two APIs depending on your use case:

<Card title="Commerce API — to add commerce to your app" icon="truck-ramp-couch" href="/commerce-api/overview" icontype="duotone">
  Sell physical products in your app without handling inventory, partnerships,
  or logistics. Access our product catalog, gift without an address, and earn a
  revenue share.
</Card>

<Card title="Automation API — for Goody customers" icon="wand-sparkles" href="/automation-api/overview" icontype="duotone">
  Automate your own gifting and sending. Create custom integrations to send one
  or hundreds of gifts programmatically. Or use our Zapier app for no-code
  workflows.
</Card>

## Production and sandbox environments

Goody's API has two environments:

* **Production**: [https://api.ongoody.com](https://api.ongoody.com)
* **Sandbox**: [https://sandbox.api.ongoody.com](https://sandbox.api.ongoody.com)

## Start using the API

To start using the API, sign up for a Goody for Business account at [https://www.ongoody.com/business](https://www.ongoody.com/business). It's free to sign up.

To obtain an API key for the Automation API, go to your Account page and click [API Keys](https://www.ongoody.com/plus/account/api-keys). To send gifts in production, you'll need to add a payment method, which you can do on that page. To obtain an API key for the Commerce API, refer to the [getting started guide](/commerce-api/overview).

## Using the Sandbox environment

You can use the Sandbox environment to send test gifts without being charged for them. Your sandbox account is entirely separate account from production, so you can do your testing without affecting your main account.

Visit [https://sandbox.ongoody.com/business](https://sandbox.ongoody.com/business) to sign up for a sandbox account, and to obtain an API key for the Automation API, go to your Account page and click [API Keys](https://sandbox.ongoody.com/plus/account/api-keys). To obtain an API key for the Commerce API, refer to the [getting started guide](/commerce-api/overview).

## OpenAPI file

Goody provides an OpenAPI (Swagger) file that you can import to various tools like Postman and Insomnia.

[Download OpenAPI file](https://assets.ongoody.com/static/web/goody-api-openapi.json)
