Skip to main content
POST
/
keys
Crear API key
curl --request POST \
  --url https://veripay.datagora.mx/api/keys \
  --header 'Content-Type: application/json' \
  --cookie sb-access-token= \
  --data '
{
  "name": "Producción backend",
  "env": "live"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "prefix": "vk_live_aB3xQ91p",
  "api_key": "vk_live_aB3xQ91p.SXXXXXXXXXXXXXXXXXXXXXX"
}

Authorizations

sb-access-token
string
cookie
required

Sesión de Supabase emitida al iniciar sesión en el dashboard.

Body

application/json
name
string
required
Example:

"Producción backend"

env
enum<string>
default:live
Available options:
live,
test

Response

Key creada

id
string<uuid>
prefix
string
Example:

"vk_live_aB3xQ91p"

api_key
string

Clave completa. Sólo se devuelve una vez.

Example:

"vk_live_aB3xQ91p.SXXXXXXXXXXXXXXXXXXXXXX"