> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.mitu.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.mitu.ai/_mcp/server.

# Resume app

POST https://api.mitu.ai/v1/customers/{id}/apps/{appId}/resume

Resume a paused app so it can make requests again.

Reference: https://docs.mitu.ai/api-reference/agent-access/resume-customer-app

## Authentication

- `x-api-key` header (required) — Your API key, using a test key for the sandbox and a live key for production.

## Servers

- `https://api.mitu.ai` (Production, default)
- `https://sandbox-api.mitu.ai` (Sandbox)

## Request

### Path parameters

- `id` (string, required) — Unique identifier of the resource.
- `appId` (string, required) — The identifier of the connected app.

## Response

### 200

App resumed successfully.

- `message` (string, required)
- `data` (CustomerApp, required)

## Errors

### 401 Unauthorized Error

Authentication failed because the API key is missing or invalid.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 403 Forbidden Error

The authenticated account is not allowed to perform this action.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 404 Not Found Error

The requested resource could not be found.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 429 Too Many Requests Error

Too many requests were sent in a short period.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

### 500 Internal Server Error

An unexpected error occurred while processing the request.

- `statusCode` (integer, required) — The HTTP status code of the response.
- `message` (ErrorResponseMessage, required) — What went wrong. For a request that fails validation, a list with one entry for each field to correct.
- `error` (string, required) — The name of the HTTP status.

## Types

### CustomerApp

- `id` (string, optional)
- `client_id` (string, optional) — The OAuth client the app signed in with.
- `name` (string, optional) — The name of the app, as shown to the customer.
- `assistant` (enum, optional, nullable) — The AI assistant the app belongs to, identified from where its sign in was completed rather than from the name it gives itself. Null for any other app.
  - Allowed values: `claude`, `chatgpt`
- `status` (enum, optional) — Whether the app can use your agent service. A paused app is refused until it is resumed, and a disconnected app must sign in again.
  - Allowed values: `active`, `paused`, `disconnected`
- `connected_at` (datetime, optional)
- `last_used_at` (datetime, optional, nullable)
- `created_at` (datetime, optional)

### ErrorResponseMessage

What went wrong. For a request that fails validation, a list with one entry for each field to correct.

- string
- list of string

## Examples

**Response**

```json
{
  "message": "App paused successfully",
  "data": {
    "id": "app_8w2k5r1n6t3p",
    "client_id": "<oauth_client_id>",
    "name": "Claude",
    "assistant": "claude",
    "status": "active",
    "connected_at": "2026-09-12T08:03:11.000Z",
    "last_used_at": "2026-10-02T09:14:51.000Z",
    "created_at": "2026-09-12T08:03:11.000Z"
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.mitu.ai/v1/customers/id/apps/appId/resume"

headers = {"x-api-key": "<apiKey>"}

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

print(response.json())
```

```javascript
const url = 'https://api.mitu.ai/v1/customers/id/apps/appId/resume';
const options = {method: 'POST', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

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

func main() {

	url := "https://api.mitu.ai/v1/customers/id/apps/appId/resume"

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

	req.Header.Add("x-api-key", "<apiKey>")

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

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

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

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.mitu.ai/v1/customers/id/apps/appId/resume")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.mitu.ai/v1/customers/id/apps/appId/resume")
  .header("x-api-key", "<apiKey>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.mitu.ai/v1/customers/id/apps/appId/resume', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.mitu.ai/v1/customers/id/apps/appId/resume");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.mitu.ai/v1/customers/id/apps/appId/resume")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```