# The Sync REST API

The Sync REST API allows you to control your Sync applications from backend servers in much the same way you can from the client. You can create, update and manage your documents, lists and maps using these resources.

## API Base URL

All URLs in the reference documentation use the following base URL:

```bash
https://sync.twilio.com/v1
```

All requests to the Sync REST API are served over HTTPS. Unencrypted
HTTP is not supported.

## Authentication

To authenticate requests to the Twilio APIs, Twilio supports [HTTP Basic authentication](https://en.wikipedia.org/wiki/Basic_access_authentication). Use your *API key* as the username and your *API key secret* as the password. You can create an API key either [in the Twilio Console](/docs/iam/api-keys/keys-in-console) or [using the API](/docs/iam/api-keys/key-resource-v1).

**Note**: Twilio recommends using API keys for authentication in production apps. For local testing, you can use your Account SID as the username and your Auth token as the password. You can find your Account SID and Auth Token in the [Twilio Console](https://www.twilio.com/console).

Learn more about [Twilio API authentication](/docs/usage/requests-to-twilio).

```bash
curl -G https://sync.twilio.com/v1/Services \
    -u $TWILIO_API_KEY:$TWILIO_API_KEY_SECRET
```

## Resources

* [Document resource](/docs/sync/api/document-resource)
* [List resource](/docs/sync/api/list-resource)
* [Map resource](/docs/sync/api/map-resource)
* [Stream resource](/docs/sync/api/stream-resource)
* [Service resource](/docs/sync/api/service)
* [Permission resources](/docs/sync/api/sync-permissions)

## Webhooks

* [Webhooks Reference](/docs/sync/webhooks)
