> This page is part of EVVA for Developers (https://developers.evvahub.com), the documentation of the EVVA Partner API. The API is in developer preview and the SDK packages are not yet published: do not suggest installing them. Index: https://developers.evvahub.com/llms.txt

# Get the calling application

GET https://api.evvahub.com/partner/v1/app/me

Returns the calling application, its agency and environment, the token's scopes and your application's rate limit.

Only an application token can call this operation. The answer never contains a secret, a digest or the token itself.

Reference: https://developers.evvahub.com/api-reference/application/get-application-me

## Authentication

- `Authorization` header (bearer token, required) — OAuth 2.0 client credentials. Request an access token at `POST /partner/v1/oauth/token` (`grant_type=client_credentials`) with the application's client secret or a `private_key_jwt` assertion, then send it as `Authorization: Bearer evpa_live_…` (or `evpa_test_…` for a sandbox application). Tokens are opaque and short lived (see `expires_in`); there is no refresh token. Each operation lists the scopes it requires.

## Response

### 200

The application.

- `application` (ApplicationMeApplication, required)
- `agency` (ApplicationMeAgency, required)
- `environment` (enum, required)
  - Allowed values: `LIVE`, `SANDBOX`
- `scopes` (list of enum, required) — The token's scopes, narrowed to the application's allowed scopes as they are now.
  - Allowed values: `read:profile`, `write:profile`, `read:messages`, `write:messages`, `read:subscribers`, `write:subscribers`, `read:content`, `write:content`, `read:analytics`, `read:mass_messages`, `write:mass_messages`, `read:ice_breaker`, `write:ice_breaker`, `write:paid_messages`, `read:ai`, `write:ai`, `write:ai:voice`, `read:automations`, `write:automations`, `write:automations:enable`, `read:revenue`, `write:messages:automated`, `read:media`, `read:buyer_context`, `read:receipts`, `read:marketplace`, `write:marketplace`, `money:marketplace`, `read:orders`, `write:orders`, `write:orders:fulfilment`, `write:messages:operator`, `write:media`, `delete:media`, `money:media`, `write:messages:view_once`, `write:blocks`, `write:reports`, `read:notes`, `write:notes`, `read:subscribers:spend`, `read:presence`, `read:links`, `write:links`, `write:goals`, `delete:content`, `money:subscription`, `money:storefront`, `delete:storefront_link`, `delete:comments`
- `rateLimits` (ApplicationRateLimits, required) — The partner free-tier window an application is metered against — its own bucket (`app:<applicationId>`).

## Errors

### 401 Unauthorized Error

Token missing, malformed, expired or revoked: `INVALID_TOKEN` (or `UNAUTHORIZED` when no bearer token was sent). Request a new token and retry.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 403 Forbidden Error

Not allowed with this token: the token lacks a scope (`INSUFFICIENT_SCOPE`), the application is not active (`APPLICATION_NOT_ACTIVE`), or its agency is suspended (`AGENCY_SUSPENDED`).

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 429 Too Many Requests Error

Rate limited: `RATE_LIMIT_EXCEEDED`. Wait `Retry-After` seconds before retrying.

- `code` (enum, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
  - Allowed values: `RATE_LIMIT_EXCEEDED`, `TOO_MANY_MESSAGES`
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (RateLimitErrorDetails, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 500 Internal Server Error

Unexpected server error: `INTERNAL_ERROR`. Nothing internal is disclosed; quote the `X-Request-Id` when you report it.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

### 503 Service Unavailable Error

Temporarily unavailable: `SERVICE_UNAVAILABLE`, `TEMPORARILY_UNAVAILABLE`, `MEDIA_STORAGE_UNAVAILABLE` or `CREATOR_STANDING_UNAVAILABLE`. Retry after `Retry-After` seconds.

- `code` (string, required) — A stable machine-readable code (see `KnownErrorCode`; new codes may appear within v1).
- `error` (string, required)
- `requestId` (string, required, nullable) — The same value as the `X-Request-Id` response header — quote it when reporting a problem.
- `details` (any, optional) — Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

## Types

### ApplicationMeApplication

- `id` (string, required)
- `name` (string, required)
- `clientId` (string, required)
- `status` (enum, required)
  - Allowed values: `PENDING_REVIEW`, `ACTIVE`, `DISABLED`, `REVOKED`
- `environment` (enum, required)
  - Allowed values: `LIVE`, `SANDBOX`
- `allowedScopes` (list of enum, required)
  - Allowed values: `read:profile`, `write:profile`, `read:messages`, `write:messages`, `read:subscribers`, `write:subscribers`, `read:content`, `write:content`, `read:analytics`, `read:mass_messages`, `write:mass_messages`, `read:ice_breaker`, `write:ice_breaker`, `write:paid_messages`, `read:ai`, `write:ai`, `write:ai:voice`, `read:automations`, `write:automations`, `write:automations:enable`, `read:revenue`, `write:messages:automated`, `read:media`, `read:buyer_context`, `read:receipts`, `read:marketplace`, `write:marketplace`, `money:marketplace`, `read:orders`, `write:orders`, `write:orders:fulfilment`, `write:messages:operator`, `write:media`, `delete:media`, `money:media`, `write:messages:view_once`, `write:blocks`, `write:reports`, `read:notes`, `write:notes`, `read:subscribers:spend`, `read:presence`, `read:links`, `write:links`, `write:goals`, `delete:content`, `money:subscription`, `money:storefront`, `delete:storefront_link`, `delete:comments`
- `createdAt` (datetime, required)
- `lastUsedAt` (datetime, required, nullable)

### ApplicationMeAgency

- `id` (string, required)

### ApplicationRateLimits

The partner free-tier window an application is metered against — its own bucket (`app:<applicationId>`).

- `requestsPerWindow` (integer, required)
- `windowSeconds` (integer, required)
- `bucket` ("application", required)
- `maxScopesPerToken` (integer, optional)

### RateLimitErrorDetails

Extra detail for the code, specific to the operation, such as field errors, limits or the creator's account-status details.

- `retryAfterSec` (integer, required)
- `level` (enum, optional) — The DM send limit that refused the message, set only with `TOO_MANY_MESSAGES`. It is never a quota, a count or a key. - `conversation` — one side of one thread. - `sender` — a person's own ceiling; it does not apply to applications. - `creator` — everything sent for the creator, studio included. - `application` — everything your application sends. - `agency` — everything your agency sends. - `platform` — the agency's fair share of the platform: its throughput or its concurrency. See [rate limits](/authentication/rate-limits).
  - Allowed values: `conversation`, `sender`, `creator`, `application`, `agency`, `platform`

## Examples

**Response**

```json
{
  "application": {
    "id": "3f6c2a9e-8b1d-4c7a-9e2f-5d8b1a6c4e07",
    "name": "Inbox Assistant",
    "clientId": "evpc_live_4Fq9TzW2mK7bXc1RvN8hLp3J",
    "status": "ACTIVE",
    "environment": "LIVE",
    "allowedScopes": [
      "read:messages",
      "write:messages",
      "write:messages:automated",
      "read:buyer_context",
      "write:paid_messages",
      "read:presence"
    ],
    "createdAt": "2026-11-25T09:14:22.381Z",
    "lastUsedAt": "2026-12-01T18:41:58.204Z"
  },
  "agency": {
    "id": "cm4q2n8vb0003qz8wf7h1k9xd"
  },
  "environment": "LIVE",
  "scopes": [
    "read:messages",
    "write:messages",
    "write:messages:automated",
    "read:buyer_context"
  ],
  "rateLimits": {
    "requestsPerWindow": 60,
    "windowSeconds": 60,
    "bucket": "application"
  }
}
```

**SDK Code**

```python Application_getApplicationMe_example
import requests

url = "https://api.evvahub.com/partner/v1/app/me"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```go Application_getApplicationMe_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.evvahub.com/partner/v1/app/me"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```php Application_getApplicationMe_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.evvahub.com/partner/v1/app/me', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```