> This is Payabli documentation. For a complete page index, fetch https://docs.payabli.com/llms.txt — append .md to any page URL for lightweight markdown. For section-level indexes, query parameters, and other AI-optimized access methods, see https://docs.payabli.com/ai-agents.md

# List available case actions

GET https://api-sandbox.payabli.com/api/v2/cases/{uuid}/transitions

Lists the review actions currently available on a case. The list is
empty when no user action is available (for example while the case is
mid-automation).

Available to both Platform and Enterprise Partners, though only
Enterprise Partners can fire the returned actions.


Reference: https://docs.payabli.com/developers/api-reference/caseManagement/list-case-actions

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: payabliApi-oas
  version: 1.0.0
paths:
  /v2/cases/{uuid}/transitions:
    get:
      operationId: ListTransitions
      summary: List available case actions
      description: |
        Lists the review actions currently available on a case. The list is
        empty when no user action is available (for example while the case is
        mid-automation).

        Available to both Platform and Enterprise Partners, though only
        Enterprise Partners can fire the returned actions.
      tags:
        - caseManagement
      parameters:
        - name: uuid
          in: path
          description: The case's UUID.
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The available actions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailableTransitionsResponse'
        '401':
          description: Unauthorized request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
        '403':
          description: Consent error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
        '404':
          description: The case doesn't exist.
          content:
            application/json:
              schema:
                description: Any type
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PayabliErrorBody'
servers:
  - url: https://api-sandbox.payabli.com/api
    description: Sandbox
  - url: https://api.payabli.com/api
    description: Production
components:
  schemas:
    CaseTrigger:
      type: string
      enum:
        - Submit
        - Verify
        - RequestReview
        - Assign
        - RequestResponse
        - Escalate
        - Approve
        - AutoApprove
        - RequestCompletion
        - Complete
        - Deny
        - Error
      description: >
        A transition action in the case state machine. `Assign` is fired through
        the

        dedicated assign endpoint, not the transitions endpoint.
      title: CaseTrigger
    AvailableTransitionsResponse:
      type: object
      properties:
        transitions:
          type: array
          items:
            $ref: '#/components/schemas/CaseTrigger'
          description: The available transition actions.
      required:
        - transitions
      description: >-
        The transition actions currently available on a case. Empty when no user
        action is available.
      title: AvailableTransitionsResponse
    PayabliErrorBodyResponseData:
      type: object
      properties:
        explanation:
          type: string
          description: Human-readable explanation of what happened.
        todoAction:
          type: string
          description: Suggested resolution.
      description: Object with detailed error context.
      title: PayabliErrorBodyResponseData
    PayabliErrorBody:
      type: object
      properties:
        isSuccess:
          type: boolean
          description: Always `false` for error responses.
        responseCode:
          type: integer
          description: |
            Code for the response. Learn more in
            [API Response Codes](/developers/api-reference/api-responses).
        responseText:
          type: string
          description: Error text describing what went wrong.
        responseData:
          $ref: '#/components/schemas/PayabliErrorBodyResponseData'
          description: Object with detailed error context.
      required:
        - isSuccess
        - responseText
      description: |
        Shape returned by every Payabli API error response. The `responseData`
        object carries human-readable error context.
      title: PayabliErrorBody

```

## Examples



**Response**

```json
{
  "transitions": []
}
```

**SDK Code**

```typescript
import { PayabliClient } from "@payabli/sdk-node";

async function main() {
    const client = new PayabliClient();
    await client.caseManagement.listTransitions("9c2b7e14-3a5f-4d21-b8e0-1f6a4c9d2e70");
}
main();

```

```python
from payabli import payabli

client = payabli()

client.case_management.list_transitions(
    uuid_="9c2b7e14-3a5f-4d21-b8e0-1f6a4c9d2e70",
)

```

```java
package com.example.usage;

import io.github.payabli.api.PayabliPayabliApiOasClient;

public class Example {
    public static void main(String[] args) {
        PayabliPayabliApiOasClient client = PayabliPayabliApiOasClient
            .builder()
            .build();

        client.caseManagement().listTransitions("9c2b7e14-3a5f-4d21-b8e0-1f6a4c9d2e70");
    }
}
```

```csharp
using PayabliPayabliApiOas;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new PayabliPayabliApiOasClient();

        await client.CaseManagement.ListTransitionsAsync(
            "9c2b7e14-3a5f-4d21-b8e0-1f6a4c9d2e70"
        );
    }

}

```

```go
package example

import (
    context "context"

    client "github.com/payabli/sdk-go/client"
)

func do() {
    client := client.NewClient()
    client.CaseManagement.ListTransitions(
        context.TODO(),
        "9c2b7e14-3a5f-4d21-b8e0-1f6a4c9d2e70",
    )
}

```

```php
<?php

namespace Example;

use Payabli\PayabliClient;

$client = new PayabliClient();
$client->caseManagement->listTransitions(
    '9c2b7e14-3a5f-4d21-b8e0-1f6a4c9d2e70',
);

```

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

url = URI("https://api-sandbox.payabli.com/api/v2/cases/9c2b7e14-3a5f-4d21-b8e0-1f6a4c9d2e70/transitions")

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

request = Net::HTTP::Get.new(url)

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

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://api-sandbox.payabli.com/api/v2/cases/9c2b7e14-3a5f-4d21-b8e0-1f6a4c9d2e70/transitions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

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()
```