> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# ListAccountCertifications

# Package: certifications

# Namespace: AccountCertifications

# Method link: https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/list-account-certifications.md

## Introduction

Retrieves an account's certifications for public display, given the account ID.

This is a public, visitor-safe projection that returns only each certification's type and
creation date. To retrieve the full account certification records, including the underlying
`userCertificationIds`, call [Query Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/query-account-certifications.md) instead.

---

## REST API

### Schema

```
 Method: listAccountCertifications
 Description: Retrieves an account's certifications for public display, given the account GUID.  This is a public, visitor-safe projection that returns only each certification's type and creation date. To retrieve the full account certification records, including the underlying `userCertificationIds`, call [Query Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/query-account-certifications.md) instead.
 URL: https://www.wixapis.com/academy/certifications/v1/account-certifications/by-account/{accountId}
 Method: GET
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  accountId
 Method parameters: 
   param name: accountId | type:   none | required: true 
 Return type: ListAccountCertificationsResponse
  - name: certifications | type: array<Certification> | description: The account's certifications, as a public, visitor-safe projection.  
     - name: certificationType | type: CertificationType | description: Type of certification the account holds.  
         - enum:
         -     VELO: Velo certification: proficiency in building with Velo, Wix's full-stack development platform.
         -     WEB_DESIGNER: Web Designer certification: proficiency in designing and building Wix websites.
         -     ACCESSIBILITY: Accessibility certification: proficiency in building accessible Wix websites.
         -     STUDIO_DEVELOPER: Wix Studio Developer certification: proficiency in developing with Wix Studio.
         -     STUDIO_DESIGN_LEAGUE: Wix Studio Design League certification, awarded through the Wix Studio Design League program.
         -     STUDIO_DEV_WEBSITES_LEAGUE: Wix Studio Developer Websites League certification, awarded through the Wix Studio Developer Websites League program.
     - name: createdDate | type: string | description: Date and time the account certification was created.  | validation: format date-time


```

### Examples

### List Account Certifications
Retrieves an account's certifications for public display, given the account ID

```curl
curl -X GET \
'https://www.wixapis.com/academy/certifications/v1/account-certifications/by-account/2f7c9a1b-8d3e-4a5f-9c6b-1e0d2f3a4b5c' \
-H 'Authorization: <AUTH>'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.accountCertifications.accountCertifications.listAccountCertifications(accountId)
 Description: Retrieves an account's certifications for public display, given the account GUID.  This is a public, visitor-safe projection that returns only each certification's type and creation date. To retrieve the full account certification records, including the underlying `userCertificationIds`, call [Query Account Certifications](https://dev.wix.com/docs/api-reference/account-level/studio-workspace/certifications/account-certification-v1/query-account-certifications.md) instead.
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  accountId
 Method parameters: 
   param name: accountId | type: string | description: GUID of the account to get certifications for. | required: true | validation: format GUID
 Return type: PROMISE<ListAccountCertificationsResponse>
  - name: certifications | type: array<Certification> | description: The account's certifications, as a public, visitor-safe projection.  
     - name: certificationType | type: CertificationType | description: Type of certification the account holds.  
         - enum:
         -     VELO: Velo certification: proficiency in building with Velo, Wix's full-stack development platform.
         -     WEB_DESIGNER: Web Designer certification: proficiency in designing and building Wix websites.
         -     ACCESSIBILITY: Accessibility certification: proficiency in building accessible Wix websites.
         -     STUDIO_DEVELOPER: Wix Studio Developer certification: proficiency in developing with Wix Studio.
         -     STUDIO_DESIGN_LEAGUE: Wix Studio Design League certification, awarded through the Wix Studio Design League program.
         -     STUDIO_DEV_WEBSITES_LEAGUE: Wix Studio Developer Websites League certification, awarded through the Wix Studio Developer Websites League program.
     - name: _createdDate | type: Date | description: Date and time the account certification was created.  


```

### Examples

### List an account's certifications for public display
```javascript
import { accountCertifications } from "@wix/account-certifications";

async function listAccountCertifications() {
  const accountId = "2f7c9a1b-8d3e-4a5f-9c6b-1e0d2f3a4b5c";

  const result =
    await accountCertifications.listAccountCertifications(accountId);

  return result;
}

/* Promise resolves to:
 * {
 *   "certifications": [
 *     {
 *       "certificationType": "VELO",
 *       "createdDate": "2024-01-15T10:30:00.000Z"
 *     },
 *     {
 *       "certificationType": "STUDIO_DEVELOPER",
 *       "createdDate": "2024-02-20T14:05:00.000Z"
 *     }
 *   ]
 * }
 */

```

### listAccountCertifications (self-hosted)
Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { accountCertifications } from '@wix/account-certifications';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { accountCertifications },
  // Include the auth strategy and host as relevant
});


async function listAccountCertifications(accountId) {
  const response = await myWixClient.accountCertifications.listAccountCertifications(accountId);
};
```

---