The StackMob Platform will cease operation on Sunday May 11th, 2014. We are no longer accepting new customers.

StackMob REST API

The StackMob REST API provides services from server-side datastore management, authentication, push messaging, and more with both OAuth 1.0 and OAuth 2.0 authentication support. Find information here on how you can use the StackMob REST API in your application.
How StackMob uses OAuth 1.0 and OAuth 2.0

Learn how StackMob uses OAuth 1.0 and 2.0 to grant access to the REST API. Particularly useful if you're writing your own client.

Make OAuth 2.0 REST API calls

Writing your own StackMob OAuth 2.0 client? We'll walk you through how to make OAuth 2.0 calls and authenticate users.

Popular Features

StackMob's iOS, Android, JavaScript, and Java SDKs are built on top of this REST API. Find information here on how to build mobile apps with the StackMob REST API.

Persistence

Save and retrieve objects from the server side datastore

Push Notifications

Send push notifications through APNS to iOS

User Authentication

Securely create and login users. There are built-in server-side access controls too.

Social

Use Facebook and Twitter for user authentication

File Storage

Store and retrieve files with Amazon S3 integration

Geolocation

Store geolocation records and query for records by location.

Additional Resources

Curling the REST API

This will show you how to test your new StackMob enabled API with a few simple command line tools. This tutorial assumes you already have a StackMob application.

Using PHP and OAuth 1.0 to hit the StackMob REST API

A small example of a PHP OAuth 1.0 client for hitting the StackMob REST API. Nothing fancy, but it includes some examples of CRUD requests.

Using ActionScript (AS3) and OAuth 2.0 to StackMob's REST API

A StackMob REST API OAuth 2.0 client written in ActionScript example.

Using Python and OAuth 1.0 to connect to the StackMob REST API

Simple examples of using Python and OAuth 1.0 to connect to the StackMob REST API.

Schedule Tasks Easily with Iron.io

In this post, we walk through the steps of setting up a scheduled task with Iron Worker and StackMob. Iron Worker supports Ruby, Python, PHP, node.js, Go, Java and .NET. The code examples will be done using PHP, but remember you can use the above languages as well.