# Method: projects.locations.workflows.executions.callbacks.list

- [HTTP request](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#body.request_body)
- [Response body](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#body.ListCallbacksResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#body.aspect)
- [Callback](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#Callback)
  - [JSON representation](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#Callback.SCHEMA_REPRESENTATION)
- [Try it!](https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#try-it)

Returns a list of active callbacks that belong to the execution with the given name. The returned callbacks are ordered by callback ID.

### HTTP request

`GET https://workflowexecutions.googleapis.com/v1/{parent=projects/*/locations/*/workflows/*/executions/*}/callbacks`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. Name of the execution for which the callbacks should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `parent`: - `workflows.callbacks.list` |

### Query parameters

| Parameters ||
|---|---|
| `pageSize` | `integer` Maximum number of callbacks to return per call. The default value is 100 and is also the maximum value. |
| `pageToken` | `string` A page token, received from a previous `callbacks.list` call. Provide this to retrieve the subsequent page. Note that pagination is applied to dynamic data. The list of callbacks returned can change between page requests if callbacks are created or deleted. |

### Request body

The request body must be empty.

### Response body

RPC response object for the callbacks.list method.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "callbacks": [ { object (`https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#Callback`) } ], "nextPageToken": string } ``` |

| Fields ||
|---|---|
| `callbacks[]` | ``object (`https://docs.cloud.google.com/workflows/docs/reference/executions/rest/v1/projects.locations.workflows.executions.callbacks/list#Callback`)`` The callbacks which match the request. |
| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).

## Callback

An instance of a Callback created by an execution.

| JSON representation |
|---|
| ``` { "name": string, "method": string, "availablePayloads": [ string ], "waiters": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of the callback. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}/callback/{callback} |
| `method` | `string` Output only. The method accepted by the callback. For example: GET, POST, PUT. |
| `availablePayloads[]` | `string` Output only. The payloads received by the callback that have not been processed by a waiting execution step. |
| `waiters` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. Number of execution steps waiting on this callback. |