> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.gitiho.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.gitiho.com/_mcp/server.

# Get employer certificates

GET https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates

**Mô tả:** API trả về danh sách các chứng nhận hoàn thành khóa học của một nhân viên cụ thể trong hệ thống LMS.

Reference: https://developer.gitiho.com/gitiho-business-api/lms/get-employer-certificates

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /api/employer/%7Bemployer_id%7D/certificates:
    get:
      operationId: Get employer certificates
      summary: Get employer certificates
      description: >-
        **Mô tả:** API trả về danh sách các chứng nhận hoàn thành khóa học của
        một nhân viên cụ thể trong hệ thống LMS.
      tags:
        - LMS
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/type_lms:GetEmployerCertificatesLmsResponse
servers:
  - url: https://example.gitiho.com
    description: Default
components:
  schemas:
    type_lms:GetEmployerCertificatesLmsResponseDataDataItemCertificate:
      type: object
      properties:
        id:
          type: integer
        name:
          oneOf:
            - description: Any type
            - type: 'null'
        type:
          type: string
      required:
        - id
        - type
      title: GetEmployerCertificatesLmsResponseDataDataItemCertificate
    type_lms:GetEmployerCertificatesLmsResponseDataDataItem:
      type: object
      properties:
        id:
          type: integer
        key:
          type: string
        link:
          type: string
          format: uri
        certificate:
          $ref: >-
            #/components/schemas/type_lms:GetEmployerCertificatesLmsResponseDataDataItemCertificate
        certificate_time:
          type: string
          format: date-time
      required:
        - id
        - key
        - link
        - certificate
        - certificate_time
      title: GetEmployerCertificatesLmsResponseDataDataItem
    type_lms:GetEmployerCertificatesLmsResponseDataLinksItem:
      type: object
      properties:
        url:
          oneOf:
            - description: Any type
            - type: 'null'
        label:
          type: string
        active:
          type: boolean
      required:
        - label
        - active
      title: GetEmployerCertificatesLmsResponseDataLinksItem
    type_lms:GetEmployerCertificatesLmsResponseData:
      type: object
      properties:
        to:
          type: integer
        data:
          type: array
          items:
            $ref: >-
              #/components/schemas/type_lms:GetEmployerCertificatesLmsResponseDataDataItem
        from:
          type: integer
        path:
          type: string
          format: uri
        links:
          type: array
          items:
            $ref: >-
              #/components/schemas/type_lms:GetEmployerCertificatesLmsResponseDataLinksItem
        total:
          type: integer
        per_page:
          type: integer
        last_page:
          type: integer
        current_page:
          type: integer
        last_page_url:
          type: string
          format: uri
        next_page_url:
          oneOf:
            - description: Any type
            - type: 'null'
        prev_page_url:
          oneOf:
            - description: Any type
            - type: 'null'
        first_page_url:
          type: string
          format: uri
      required:
        - to
        - data
        - from
        - path
        - links
        - total
        - per_page
        - last_page
        - current_page
        - last_page_url
        - first_page_url
      title: GetEmployerCertificatesLmsResponseData
    type_lms:GetEmployerCertificatesLmsResponse:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/type_lms:GetEmployerCertificatesLmsResponseData'
        success:
          type: boolean
      required:
        - data
        - success
      title: GetEmployerCertificatesLmsResponse

```

## Examples

**Response**

```json
{
  "data": {
    "to": 16,
    "data": [
      {
        "id": 57,
        "key": "U3RgKr9E4yuSe2xmoMt61vVkp57Y",
        "link": "https://daotao.gitiho.com/my-cert/U3RgKr9E4yuSe2xmoMt61vVkp57Y/view",
        "certificate": {
          "id": 803,
          "type": "course"
        },
        "certificate_time": "2025-05-23T07:48:29Z"
      },
      {
        "id": 56,
        "key": "5cgJ_taPzR274uhGbKZCUiIB8qFQ",
        "link": "https://daotao.gitiho.com/my-cert/5cgJ_taPzR274uhGbKZCUiIB8qFQ/view",
        "certificate": {
          "id": 971,
          "type": "course"
        },
        "certificate_time": "2025-01-03T07:03:41Z"
      },
      {
        "id": 54,
        "key": "43bMi12g7OVBYHmuxkJ5rwNTnvXj",
        "link": "https://daotao.gitiho.com/my-cert/43bMi12g7OVBYHmuxkJ5rwNTnvXj/view",
        "certificate": {
          "id": 968,
          "type": "course"
        },
        "certificate_time": "2024-10-25T07:14:45Z"
      },
      {
        "id": 53,
        "key": "CA0JHptanN3S6og_5zEkcqfQRdDB",
        "link": "https://daotao.gitiho.com/my-cert/CA0JHptanN3S6og_5zEkcqfQRdDB/view",
        "certificate": {
          "id": 966,
          "type": "course"
        },
        "certificate_time": "2024-10-03T03:55:08Z"
      },
      {
        "id": 52,
        "key": "84_bxUmEFnO97gDrSklhoaJzytZ2",
        "link": "https://daotao.gitiho.com/my-cert/84_bxUmEFnO97gDrSklhoaJzytZ2/view",
        "certificate": {
          "id": 943,
          "type": "course"
        },
        "certificate_time": "2024-09-14T06:52:18Z"
      },
      {
        "id": 51,
        "key": "zbioB37u0waZIJA9OVtHk8M1gdvC",
        "link": "https://daotao.gitiho.com/my-cert/zbioB37u0waZIJA9OVtHk8M1gdvC/view",
        "certificate": {
          "id": 961,
          "type": "course"
        },
        "certificate_time": "2024-09-10T09:45:17Z"
      },
      {
        "id": 50,
        "key": "29sZ1xHELhIrymo367FBuYOSdVDf",
        "link": "https://daotao.gitiho.com/my-cert/29sZ1xHELhIrymo367FBuYOSdVDf/view",
        "certificate": {
          "id": 960,
          "type": "course"
        },
        "certificate_time": "2024-09-10T09:08:45Z"
      },
      {
        "id": 49,
        "key": "WKvdDShLyUYraTOZ7QpcXBARlCem",
        "link": "https://daotao.gitiho.com/my-cert/WKvdDShLyUYraTOZ7QpcXBARlCem/view",
        "certificate": {
          "id": 949,
          "type": "course"
        },
        "certificate_time": "2024-09-09T01:26:12Z"
      },
      {
        "id": 48,
        "key": "1xek7ZjK52qcItGbmOJXr_846AyQ",
        "link": "https://daotao.gitiho.com/my-cert/1xek7ZjK52qcItGbmOJXr_846AyQ/view",
        "certificate": {
          "id": 908,
          "type": "course"
        },
        "certificate_time": "2024-08-19T02:01:47Z"
      },
      {
        "id": 47,
        "key": "NQOigoCuf_eTL8W6h1jKRESaXHqd",
        "link": "https://daotao.gitiho.com/my-cert/NQOigoCuf_eTL8W6h1jKRESaXHqd/view",
        "certificate": {
          "id": 857,
          "type": "course"
        },
        "certificate_time": "2024-08-08T02:43:37Z"
      },
      {
        "id": 46,
        "key": "nhxcwTpz8CHF6Vtfa9LMPu3dNGKS",
        "link": "https://daotao.gitiho.com/my-cert/nhxcwTpz8CHF6Vtfa9LMPu3dNGKS/view",
        "certificate": {
          "id": 800,
          "type": "course"
        },
        "certificate_time": "2024-08-02T07:55:42Z"
      },
      {
        "id": 45,
        "key": "ypvUcV7nu1DmH8IGOEsPdKfrzSbT",
        "link": "https://daotao.gitiho.com/my-cert/ypvUcV7nu1DmH8IGOEsPdKfrzSbT/view",
        "certificate": {
          "id": 850,
          "type": "course"
        },
        "certificate_time": "2024-08-01T09:17:52Z"
      },
      {
        "id": 43,
        "key": "gdfhvcCD4Wm73lNoVnMkxGFb2tTH",
        "link": "https://daotao.gitiho.com/my-cert/gdfhvcCD4Wm73lNoVnMkxGFb2tTH/view",
        "certificate": {
          "id": 794,
          "type": "course"
        },
        "certificate_time": "2024-07-26T09:09:53Z"
      },
      {
        "id": 42,
        "key": "rax7gwc8JUqOoGNIj2_hKZCQ35FW",
        "link": "https://daotao.gitiho.com/my-cert/rax7gwc8JUqOoGNIj2_hKZCQ35FW/view",
        "certificate": {
          "id": 862,
          "type": "course"
        },
        "certificate_time": "2024-07-26T03:19:18Z"
      },
      {
        "id": 41,
        "key": "mVA8Krhpxb5lQLyasPnqGDNgfMu6",
        "link": "https://daotao.gitiho.com/my-cert/mVA8Krhpxb5lQLyasPnqGDNgfMu6/view",
        "certificate": {
          "id": 804,
          "type": "course"
        },
        "certificate_time": "2024-07-26T03:06:26Z"
      },
      {
        "id": 37,
        "key": "TSuxFzl90qh1ZfnHvLQosKw2g8Cm",
        "link": "https://daotao.gitiho.com/my-cert/TSuxFzl90qh1ZfnHvLQosKw2g8Cm/view",
        "certificate": {
          "id": 797,
          "type": "course"
        },
        "certificate_time": "2024-07-26T02:57:38Z"
      }
    ],
    "from": 1,
    "path": "https://daotao.gitiho.com/api/lms/employer/264/certificates",
    "links": [
      {
        "label": "&laquo; Trang trước",
        "active": false
      },
      {
        "label": "1",
        "active": true,
        "url": "https://daotao.gitiho.com/api/lms/employer/264/certificates?page=1"
      },
      {
        "label": "Trang sau &raquo;",
        "active": false
      }
    ],
    "total": 16,
    "per_page": 20,
    "last_page": 1,
    "current_page": 1,
    "last_page_url": "https://daotao.gitiho.com/api/lms/employer/264/certificates?page=1",
    "first_page_url": "https://daotao.gitiho.com/api/lms/employer/264/certificates?page=1"
  },
  "success": true
}
```

**SDK Code**

```python
import requests

url = "https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates"

response = requests.get(url)

print(response.json())
```

```javascript
const url = 'https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates';
const options = {method: 'GET'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates"

	req, _ := http.NewRequest("GET", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates');

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates");
var request = new RestRequest(Method.GET);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://example.gitiho.com/api/employer/%7Bemployer_id%7D/certificates")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```