sendgridsendgrid-api-v3

How to get the full SendGrid API Key?


I am able to obtain an API key from the web app. However, according to SendGrid documentation, I am only allowed to access a small subset of the whole key.

If you see the API key sample below:

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

The sub-string "ngeVfQFYQlKU0ufo8x5d1A" is the API Key.

What is the rest of this stuff and how did they generate this entire/full string?

Reference: SendGrid Docs - API Keys


* RESOLVED *

The API KEY is generated and displayed to you just once. So be sure to copy and save it somewhere. After that only the subset key is displayed.


Solution

  • The API KEY is generated and displayed to you just once. So be sure to copy and save it somewhere. After that only the subset key is displayed.

    It is mentioned as part of the documentation over here as a warning/alert.