# v1

{% hint style="info" %}
We recommend using [version 2](https://docs.appetize.io/rest-api/ip-blocks) of this endpoint.
{% endhint %}

## Get IP Blocks

> Get IP blocks for Appetize streaming servers. These are the IPs from which your running apps will be making network calls. Use the IP blocks to whitelist access to your backend if it is not public.

```json
{"openapi":"3.0.3","info":{"title":"Appetize API","version":"1.0.0"},"servers":[{"url":"https://appetize.io"}],"security":[],"paths":{"/ip-blocks":{"get":{"summary":"Get IP Blocks","tags":["IP Blocks"],"description":"Get IP blocks for Appetize streaming servers. These are the IPs from which your running apps will be making network calls. Use the IP blocks to whitelist access to your backend if it is not public.","parameters":[{"in":"path","name":"format","schema":{"type":"string","enum":["txt","json"],"default":"json"},"description":"The format of the response. Default is JSON. If text is specified, the response will be a newline-separated list of IP addresses."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ipv4":{"type":"array","items":{"type":"string","description":"A list of IPv4 addresses."}}}}}}}}}}}}
```
