---
title: "Requests an api key from an address and signature"
method: POST
path: "/request-api-key"
tags: ["POST"]
---

# Requests an api key from an address and signature

`POST /request-api-key`

# Notes

* `<address>` must be lowercase. `<signature>` must be generated from signing the following message:
  ```
  I am signing this message to prove that I control address <address>
  ```

## Request body

- RequestApiKeyRequest
  - `signature` string
  - `address` string

## Response `200`

Success

- RequestApiKeyResponse
  - `api_key` string
  - `name` string

## Changes

- **2024-10-23** `c0d424fdbe42` — 2 warning, 1 info
  - changed the pattern of the request property `signature` from `^0x[a-f0-9]{130}$` to `^0x([a-f0-9]{130})+$`
  - removed the request property `gnosis_safe_setup_tx_hash`
  - added the optional property `name` to the response with the `200` status
- **2024-10-04** `619cf3c6322a` — 2 breaking, 2 info
  - added `#/components/schemas/TxHash` to the `gnosis_safe_setup_tx_hash` request property `allOf` list
  - the `gnosis_safe_setup_tx_hash` request property type/format changed from `string`/`` to ``/``
  - the request property `gnosis_safe_setup_tx_hash` became nullable
  - removed the pattern `^0x[a-f0-9]{64}$` from the request property `gnosis_safe_setup_tx_hash`
- **2024-06-10** `c59ea1fb6e20` — 1 warning, 1 info
  - deleted the `header` request parameter `X-Aws-Waf-Token`
  - removed the non-success response with the status `405`
- **2024-05-31** `5523952546dd` — 2 warning, 3 info
  - changed the pattern of the request property `signature` from `^0x([a-f0-9]{130})+$` to `^0x[a-f0-9]{130}$`
  - removed the optional property `name` from the response with the `200` status
  - added the new optional `header` request parameter `X-Aws-Waf-Token`
  - added the new optional request property `gnosis_safe_setup_tx_hash`
  - …1 more

[Change history](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/changes/request-api-key/post.md)

---

[API](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api.md) · [All operations](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tig-foundation/the-innovation-game-api/revisions/2af9c398c1d4/schema)
