> This is a page from the Castle documentation. For an index of the documentation, fetch https://castle.io/llms.txt.

# Overview

The official Castle server SDKs and where to download them.

Castle integrations with many common app environments and languages. Below is the list of officially supported server SDKs and where to download them

> 📘 Can't find your language or framework?
>
> Don't hesitate to [reach out](https://castle.io/docs/email-support) to us!

## Repositories

* [Ruby](https://github.com/castle/castle-ruby)
* [Ruby on Rails Devise plugin](https://github.com/castle/castle_devise)
* [PHP](https://github.com/castle/castle-php)
* [PHP Laravel](https://github.com/robrogers3/laracastle)
* [Python](https://github.com/castle/castle-python)
* [Java](https://github.com/castle/castle-java)
* [Node](https://github.com/castle/castle-node)
* [.NET](https://github.com/castle/castle-dotnet)

## cURL

Sometimes it's easier to first run a simple cURL example. In the example below, replace `YOUR_API_SECRET` with the one from your settings, and optionally replace the [test request token](https://castle.io/docs/test-tokens) `test|device:firefox_on_windows` with a real one generated by your client SDK.

```bash title="cURL"
curl --location --request POST 'https://api.castle.io/v1/filter' \
--header 'Authorization: Bearer YOUR_API_SECRET' \
--header 'Content-Type: application/json' \
--data-raw '{
   "type": "$registration",
   "status": "$attempted",
   "request_token": "test|device:firefox_on_windows",
   "context":{
      "ip":"211.96.77.55",
      "headers":[
         ["User-Agent", "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15"],
         ["Accept-Encoding","gzip, deflate, br"],
         ["Accept-Language", "en-us"],
         ["Accept","text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"],
         ["Connection","close"],
         ["Host","castle.io"]
      ]
   },
   "user":{
      "email":"Rhea.Franecki@example.org",
      "phone":"+16175551212"
   }
 }'
```
