# Get API Gateway API key from custom plugin

**URL:** <https://forum.serverless.com/t/get-api-gateway-api-key-from-custom-plugin/9204>\
**Category:** Serverless Framework\
**Created:** [September 1, 2019, 9:22am UTC](https://forum.serverless.com/t/get-api-gateway-api-key-from-custom-plugin/9204 "2019-09-01T09:22:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![groundcontrol](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@groundcontrol](https://forum.serverless.com/u/groundcontrol)\
**Post date:** [September 1, 2019, 9:22am UTC](https://forum.serverless.com/t/get-api-gateway-api-key-from-custom-plugin/9204/1 "2019-09-01T09:22:55Z")

</div>

Hello,

I’m writing a serverless plugin, and I’d like to get the API Gateway URL and API Key.

From here I can see how to get the API Gateway URL, but I can’t see how to get the API Key.

Can anyone point me in the right direction?

Thanks!
