POST
/
v1
/
key
/
verify
curl --request POST \
  --url https://api.formizee.com/v1/key/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "key": "key_4VjHrJoEwAFC6itz8oUBW9NW2bia"
}'
{
  "id": "key_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "name": "My New Key",
  "workspaceId": "ws_4VjHrJoEwAFC6itz8oUBW9NW2bia",
  "lastAccess": "2024-07-23 12:41:45.38215",
  "expiresAt": "2024-07-23 12:41:45.38215"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
key
string
required

The id of the key

Example:

"key_4VjHrJoEwAFC6itz8oUBW9NW2bia"

Response

200
application/json
Key verified
id
string
required

The id of the key

Example:

"key_4VjHrJoEwAFC6itz8oUBW9NW2bia"

name
string
required

The name of the key

Required string length: 4 - 64
Example:

"My New Key"

workspaceId
string
required

The id of the workspace

Example:

"ws_4VjHrJoEwAFC6itz8oUBW9NW2bia"

expiresAt
string
required

The expiration date of the key

Example:

"2024-07-23 12:41:45.38215"

lastAccess
string

The last time the key was used

Example:

"2024-07-23 12:41:45.38215"