Skip to main content
GET
/
credentials
JavaScript
import Mobilerun from '@mobilerun/sdk';

const client = new Mobilerun({
  apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});

const credentials = await client.credentials.list();

console.log(credentials.data);
{
  "data": [
    {
      "userId": "<string>",
      "packageName": "<string>",
      "secretPath": "<string>",
      "credentialName": "<string>",
      "fields": [
        {
          "fieldType": "email",
          "value": "<string>"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Response

Credentials fetched successfully

data
object[]
required