Skip to main content
POST
/
credentials
cURL
curl --request POST \
  --url https://api.mesinalabs.com/v1/credentials \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "apiKey": "<string>",
  "mesinaCode": "<string>",
  "priority": "low",
  "tags": [
    "<string>"
  ]
}'
{
  "id": "<string>",
  "name": "<string>",
  "apiKey": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "mesinaCode": "<string>"
}

Authorizations

Authorization
string
header
required

El bearer token es generado por nosotros, y está disponible en tu dashboard

Body

application/json

Credencial para añadir a la lista

name
string
required
apiKey
string
required
mesinaCode
string

Código mesina para verificaciones extras

priority
enum<string>

Priority level of the resource

Available options:
low,
medium,
high
tags
string[]

Tags associated with the resource

Response

Credencial creada exitosamente

id
string
name
string
apiKey
string
createdAt
string<date-time>
updatedAt
string<date-time>
mesinaCode
string

Código mesina para verificaciones extras

I