---
schema_version: "1"
id: a7087b6b2491f70033780fa8af695a116ce8c69bd716550f5352ea0b296e8ad5
title: getName()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/ref-jsapi/ref-jsapi-action-getname.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-action-getname.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9b8aea3fa2ab6d35d9cbf58a47b954bb1d02dc3887065c068ebd9c0ddfa73ffc
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# getName()

Returns the name of an action.

## Signature

`getName()`

## Returns

**Type: `String`** The action name.

