You'll need to use Authorization and X-Press-Team HTTP headers to use Frappe Cloud API.

Since you could be a member of multiple teams on Frappe Cloud, it is necessary to set the team using the X-Press-Team header.

Refer to API / Create an Access Token to create an API key and API secret.

Authorization: Token <api-key>:<api-secret>
X-Press-Team: <team>


import requests

headers = {
    "Authorization": "Token <api-key>:<api-secret>",
    "X-Press-Team": "<team>"
requests.get("", headers=headers).json()


  "message": {
    "user": "<user>",
    "team": "<team>"