POST
/
credentials
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

The body is of type object.

Response

200
application/json

Credencial creada exitosamente

The response is of type object.