...
Log into the Genesis Foods application.
In the lower left, click the vertical ellipsis next to your Organization Name / Username.
Select Profile.
Select API Tokens along the top.
Click Create API Token.
Enter a Label. A Label is just the name, meant to provide future reference to identify the intended use of this particular Token.
Click Create Token.
Once created, we recommend using the Copy button to copy the string to the clipboard.
Important: This is the only time you will be able to obtain this Token. Should this be lost, the Token should be deleted and a new one created.
Preserve this Token string as you would other secrets / passwords.
Include this API Key in the request headers for every request you make.
Example API Key Format
Note the example below is meant as a representation of the actual Token. The full string of characters generated will be much longer.
Code Block |
---|
{ "X-API-KEY": "XXXYYYYBBBBZZZZXi13X6Y8Yhy44bB4Pb6zAzZ..." } |
Notes
The API enforces rate and usage limits.
Requests are only processed over HTTPS. HTTP requests will be redirected to the corresponding HTTPS resource.
The Genesis Foods API uses GraphQL and has a single endpoint. For more information on how GraphQL works, please visit https://graphql.org/.
...