---
title: "REST API"
url: https://flexie.io/resources/rest-api
---

# REST API

Working with Flexie from your own code: authenticating, finding records with filters, writing, error handling, and worked examples.

- [Overview](https://flexie.io/resources/rest-api/overview.md): How to work with Flexie from your own code. The shape of every request and response, the verbs, the entities, and a first working call you can copy and run.
- [Authentication](https://flexie.io/resources/rest-api/authentication.md): The two ways to authenticate a REST API request, the per-user API key and OAuth 2.1, how to move from one to the other, and exactly what every refusal means.
- [Creating and updating](https://flexie.io/resources/rest-api/creating-and-updating.md): Writing to Flexie from your own code, creating, updating, deleting, and matching records on your own reference instead of a Flexie id. With worked examples and the exact responses.
- [Errors and limits](https://flexie.io/resources/rest-api/errors-and-limits.md): Every status code the REST API returns, the exact shape of an error, the limits that apply, and the issues that account for most support requests.
- [Examples](https://flexie.io/resources/rest-api/examples.md): Worked REST API requests you can copy and run. Discovering what an entity can be filtered by, everyday filters, the jobs integrations actually do, filtering across related and custom entities, and a full create-read-update-delete round trip.
- [Finding records](https://flexie.io/resources/rest-api/finding-records.md): Filtering records over the REST API with rule sets. Every operator by field type, relative dates, references and related records, nesting, paging, and a worked example for each.
