---
updatedAt: 2026-05-27T07:14:17.000Z
---

# Get account quota

[block:html]
{
  "html": "<span style=\"background-color: #6e00ff; color: #fff; font-size: 12px; font-weight: 600; padding: 4px; border-radius: 8px;\">Premium</span>"
}
[/block]


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "OneLink API v2.0",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://onelink.appsflyer.com/api/v2.0/"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/shortlinks-quota/{account-id}": {
      "get": {
        "tags": [
          "OneLink REST API v2.0"
        ],
        "summary": "Get account quota",
        "description": "
[block:html]\n{\n  \"html\": \"<span style=\\\"background-color: #6e00ff; color: #fff; font-size: 12px; font-weight: 600; padding: 4px; border-radius: 8px;\\\">Premium</span>\"\n}\n[/block]
\n",
        "operationId": "get-onelink-v2-link-quota",
        "parameters": [
          {
            "name": "account-id",
            "in": "path",
            "description": "You can get the account ID from your account profile on the AppsFlyer platform.",
            "schema": {
              "type": "string",
              "example": "TBA"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "remaining_api_calls": {
                      "type": "integer",
                      "example": 120
                    }
                  }
                },
                "examples": {
                  "Result": {
                    "value": {
                      "remaining_api_calls": 120
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "authorization",
        "description": "OneLink REST API token for authentication.\n[Get the API token in the Dashboard](https://support.appsflyer.com/hc/en-us/articles/360001250345-OneLink-API)\n"
      }
    }
  }
}
```