Hatch Apps Docs
HomePlatform
  • Welcome to Hatch Apps
  • Glossary
  • Use Cases
  • Sales Deck
  • Platform
    • Overview
    • Features
      • Home
      • Resources
      • Products
      • Marketplace
      • Deals
    • Support
      • Forum
      • Docs
      • Email support
      • In app support tickets
      • Enterprise SLA
      • Account Manager
    • Account
      • Payments
      • Team management
      • Multiplayer collaboration
      • SSO
      • Referral program
    • Security
  • Mobile App Builder
    • Overview
    • Components
      • Hatch Apps Components
      • Partner Components
    • Deployments
      • iOS App
      • Android App
  • API Builder
    • Overview
    • Getting started
      • Test your API
      • List data
      • Create new data
      • Get data
      • Update data
      • Delete data
      • Postman
      • Database View
    • Permissions
      • Admin
      • Authorized users
      • Specified users
      • Public access
    • Integrations
      • Zapier
  • API Tester
    • Overview
    • Test your API
  • Software insurance
    • Overview
    • Submit a claim
    • Redeem credit
  • Ecosystem
    • Overview
    • Marketplace guidelines
Powered by GitBook
On this page

Was this helpful?

  1. API Builder
  2. Getting started

Test your API

PreviousGetting startedNextList data

Last updated 2 years ago

Was this helpful?

After the deployment has completed, you'll see a modal with useful commands to test your API. For the following commands, replace your api path and your api key with your API path and the API key.

Create a new post:

curl -H "Content-Type: application/json" \ -H "API-TOKEN: your api key" \ -d "{ \"Property\": \"value\"}" \ https://console.hatchapps.com/api/your_api_path/endpoint

Here's an example:

curl -H "Content-Type: application/json" \ -H "API-TOKEN: 26818869033657110" \ -d "{ \"name\": \"testname\"}" \ https://console.hatchapps.com/api/hatchappsapi/posts

We also provide a no-code way to test your API with our API Tester.

That's it! You have successfully built and deployed your first API with Hatch Apps API Builder and created your first object.