API ReferenceCredentials
List credentials
Returns all stored credentials (secrets are never exposed).
GET
/v1/credentialsAuthorization
ApiKeyAuth AuthorizationBearer <token>
API key authentication. Keys are prefixed with environment:
npk_live_for productionnpk_test_for testing/staging
In: header
Response Body
application/json
application/json
curl -X GET "https://api.npayload.com/v1/credentials"{
"data": [
{
"id": "string",
"name": "string",
"connectorId": "string",
"type": "oauth2",
"status": "valid",
"expiresAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z"
}
]
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Invalid or missing API key"
}
}Was this page helpful?