Instant APIs

APIs That Write Themselves

Define your schema, get REST and GraphQL APIs instantly. Native SDKs for every platform. No endpoints to configure, no boilerplate to write.

Auto-Generated REST API
GraphQL with Subscriptions
Native SDKs for All Platforms
Webhooks & Integrations

From Schema to Production API

Create a class in the dashboard, and Back4app instantly generates complete REST and GraphQL APIs. Connect with native SDKs or any HTTP client.

Your Schema
REST
Auto-Generated
GraphQL
Auto-Generated
JS
iOS
Android
Flutter
API Features

Multiple Ways to Access Your Data

REST for simplicity, GraphQL for flexibility, webhooks for integrations. Use what fits your stack.

01REST API

RESTful API, Auto-Generated

Every class in your database gets full REST endpoints automatically. Create, read, update, delete — all standard HTTP methods with JSON payloads. No configuration required.

  • Full CRUD operations for every class
  • Query parameters for filtering, sorting, pagination
  • Batch operations for bulk updates
  • File upload endpoints with CDN delivery
  • User authentication endpoints built-in

Standard REST — works with any HTTP client.

REST Endpoints
GET/classes/ProductList all
POST/classes/ProductCreate
GET/classes/Product/:idRead one
PUT/classes/Product/:idUpdate
DELETE/classes/Product/:idDelete
02GraphQL API

GraphQL with Full Schema

A complete GraphQL API generated from your schema. Types, queries, mutations, and subscriptions — all type-safe with auto-complete in any GraphQL client.

  • Auto-generated types for all classes
  • Queries with filters, sorting, and pagination
  • Mutations for create, update, delete operations
  • Subscriptions for real-time updates via WebSocket
  • Relay-compatible connections and edges

Type-safe queries with auto-complete.

GraphQL Schema
type Product {
objectId: ID!
name: String!
price: Float!
category: Category
createdAt: DateTime!
}
type Query {
products(where: ProductWhereInput): ProductConnection!
}
03Webhooks

Event-Driven Integrations

Connect Back4app to external services with webhooks. Trigger HTTP requests when data changes, cloud functions run, or custom events fire.

  • Trigger on object create, update, delete
  • Custom headers and authentication
  • Payload transformation and filtering
  • Retry logic for failed deliveries
  • Webhook logs for debugging

Connect to Slack, Zapier, or your own services.

Webhook Flow
Back4app
Object Created
POST
Your Server
/webhook/notify
{ "event": "afterSave", "object": { ... } }
Back4app AI Agent
Generate API calls with natural language
Show me how to query products under $50 with GraphQL
query {
products(where: { price: { lessThan: 50 } }) {
edges { node { name, price } }
}}
MCP Protocol Compatible
AI-Powered Development

Generate API Calls with AI

Describe what you want to query, and the AI generates the REST or GraphQL code. Explains responses and helps debug issues.

Works with Cursor, VS Code, WindSurf, and more
Generate REST or GraphQL code from descriptions
Explain complex queries and mutations
Debug API errors with AI assistance
Auto-complete queries based on your schema
Code Examples

Choose Your Interface

REST for simplicity, GraphQL for flexibility, SDKs for native features.

REST API

cURL

Standard HTTP calls with JSON

# Create a new object
curl -X POST \
  -H "X-Parse-Application-Id: YOUR_APP_ID" \
  -H "X-Parse-REST-API-Key: YOUR_REST_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Laptop","price":999,"inStock":true}' \
  https://parseapi.back4app.com/classes/Product

# Query objects with constraints
curl -X GET \
  -H "X-Parse-Application-Id: YOUR_APP_ID" \
  -H "X-Parse-REST-API-Key: YOUR_REST_KEY" \
  -G --data-urlencode 'where={"price":{"$lt":500}}' \
  --data-urlencode 'order=-createdAt' \
  --data-urlencode 'limit=10' \
  https://parseapi.back4app.com/classes/Product
Use Cases

APIs for Every Stack

From mobile apps to IoT devices, Back4app APIs work everywhere.

Mobile App Backend

Native SDKs with offline support, push notifications, and seamless sync for iOS and Android apps.

Web Applications

JavaScript SDK with TypeScript support for React, Vue, Angular, or vanilla JavaScript apps.

Third-Party Integrations

Webhooks to connect with Zapier, Slack, payment processors, or any external service.

Microservices

REST and GraphQL APIs as backend services for your microservices architecture.

IoT Devices

REST API for any connected hardware and embedded devices.

Headless CMS

Use Back4app as a content backend. GraphQL for flexible content queries.

FAQ

Frequently Asked Questions

What APIs does Back4app auto-generate?
Back4app automatically generates both REST and GraphQL APIs from your database schema. Every class you create gets full CRUD endpoints (Create, Read, Update, Delete) without any configuration. The GraphQL API includes a complete schema with types, queries, mutations, and subscriptions.
Which SDKs are available for Back4app?
Back4app provides SDKs for JavaScript (Web & Node.js), iOS (Swift), Android (Kotlin & Java), Flutter/Dart, PHP, and .NET. The SDKs support authentication, real-time queries, file uploads, and offline data persistence.
Can I use the API without an SDK?
Yes. The REST API works with any HTTP client in any programming language. You just need to include your Application ID and REST API Key in the headers. The GraphQL API can be accessed via any GraphQL client.
How do webhooks work in Back4app?
Webhooks allow Back4app to send HTTP requests to your external services when specific events occur. You can configure webhooks for object creation, updates, deletions, and custom cloud function triggers. Webhooks support custom headers and payload transformation.
Is there an API rate limit?
Free tier includes 25K API requests per month. Paid plans offer higher limits and can scale to millions of requests. See our pricing page for details.
Can I test APIs before integrating?
Yes. Back4app provides an interactive API Console in the dashboard where you can build and test queries, see responses, and generate code snippets. The GraphQL Playground is also available for exploring the GraphQL schema.

Start Building with Auto-Generated APIs

Create your schema, get production-ready APIs instantly. No credit card required.