Request an access token for Ably authentication. Use this when you need to generate a token with specific capabilities and client identifiers for secure authentication. The token can be used to authenticate clients with limited permissions and time-bound access.
ttlintegerTime-to-live for the token in milliseconds. Defaults to 60 minutes (3600000ms) if not specified.
noncestringRandom nonce string for token request uniqueness. Prevents replay attacks. If not provided, Ably generates one.
key_nameRequiredstringThe key name comprises of the app ID and key ID of an API key. Format: appId.keyId (e.g., 'rLhKFg.1Hf06Q')
client_idstringOptional client identifier to associate with this token. When set, the token can only be used by the specified client ID.
timestampintegerToken request timestamp in milliseconds since epoch. If not provided, Ably will use the current server time. Used for token request validation.
capabilitystringJSON-stringified capability text specifying permissions. Use '{"*":["*"]}' for full access, or specify specific channels and operations. Must be a valid JSON string.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.