# List post-call actions (/docs/api-reference/agents/listPostCallActions)

> List every post-call action on the agent, each with its own `id`.

**GET** `/agents/{agent_id}/post-call-actions`

List every post-call action on the agent, each with its own `id`.

```yaml
operationId: listPostCallActions
parameters:
  - in: query
    name: user_id
    required: false
    description: |
      Reseller keys only: act as one of your clients by its user id. Omit
      it to act on your own account.
      [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).
    schema:
      type: integer
      description: |
        Reseller keys only: act as one of your clients by its user id. Omit
        it to act on your own account.
        [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).
      example: 1234
responses:
  '200':
    description: The agent's post-call actions.
    content:
      application/json:
        schema:
          type: object
          properties:
            actions:
              type: array
              items:
                type: object
                description: |
                  One post-call action on an agent, with the fields of its type.
                properties:
                  id:
                    type: integer
                    description: |
                      The action's id. Saving post-call changes in the dashboard, or
                      restoring a version, gives every action a new id. To find an
                      action you added, list the actions and match its target (`url`,
                      `recipients` or `integration_id`) instead of keeping the id.
                  type:
                    type: string
                    enum:
                      - email
                      - webhook
                      - omni_crm
                      - cloud_whatsapp
                      - workflow
                      - google_sheets
                      - slack
                      - salesforce
                      - hubspot
                      - zoho_bigin
                  recipients:
                    type: array
                    items:
                      type: string
                  url:
                    type: string
                  phone_number_id:
                    type: integer
                    nullable: true
                  template_id:
                    type: integer
                    nullable: true
                  template_variables:
                    type: array
                    nullable: true
                    items:
                      type: object
                  templates:
                    type: array
                    nullable: true
                    items:
                      type: object
                  workflow_id:
                    type: integer
                    nullable: true
                  integration_id:
                    type: integer
                    nullable: true
                    description: The connected account the action delivers through.
                  spreadsheet_id:
                    type: string
                    nullable: true
                  spreadsheet_name:
                    type: string
                    nullable: true
                  worksheet_name:
                    type: string
                    nullable: true
                  channel_id:
                    type: string
                    nullable: true
                  channel_name:
                    type: string
                    nullable: true
                  object_name:
                    type: string
                    nullable: true
                  create_call_log:
                    type: boolean
                  update_contact:
                    type: boolean
                  create_contact:
                    type: boolean
                  include:
                    type: array
                    items:
                      type: string
                  extracted_variables:
                    type: array
                    items:
                      type: object
                      required:
                        - key
                        - prompt
                      properties:
                        key:
                          type: string
                          description: Unique identifier for the variable in the post-call payload.
                          example: customer_issue
                        prompt:
                          type: string
                          description: Instruction for the model on what to pull out of the conversation.
                          example: Identify the main issue the customer is experiencing.
                  trigger_call_statuses:
                    type: array
                    items:
                      type: string
            applies_after_publish:
              type: boolean
              description: |
                False for an agent that has never been published: the change is live
                on the next call. True when the agent is published: changes go to the
                draft, so they reach live calls only after you publish the agent in
                the dashboard.
  '401':
    description: Missing or invalid API key.
  '404':
    description: Agent not found or access denied.
```

**curl**

```bash
curl -X GET "https://backend.omnidim.io/api/v1/agents/{agent_id}/post-call-actions?user_id=1234" \
  -H "Authorization: Bearer $OMNIDIM_API_KEY"
```