API Documentation For AICERTs 3
API Documentation For AICERTs 3
for
AICERTs
Version 1.0
Contents
Introduction ................................................................................................................................3
Authentication ............................................................................................................................3
Authentication
This API is open and does not require authentication or tokens.
Base URL
https://www.aicerts.ai/wp-json/wp/v2/
API Endpoints
GET https://www.aicerts.ai/wp-json/wp/v2/courses/{certificate_id}
Description:
Retrieves details of a specific certificate, including title, course tagline, certificate code, badge,
and associated tools.
Request Parameters:
"id": 1234,
"acf": {
"certificate_code": "AI-ML-2024",
"tools": [
],
"passing_score": 75,
"number_of_mcqs": 50,
"number_of_examinations": 1,
},
"featured_media": 26083
id: Certificate ID
Example Usage:
GET https://www.aicerts.ai/wp-json/wp/v2/courses/1234
To retrieve the corresponding tool name and image, refer to the following tools_data structure:
"tools_data": [
"tool_image": "https://www.aicerts.ai/wp-content/uploads/2025/01/image-2-13.jpg"
},
"name": "SciPy",
},
"name": "AIVA",
"tool_image": "https://www.aicerts.ai/wp-content/uploads/2025/01/image-28.png"
},
"name": "Grammarly",
"tool_image": "https://www.aicerts.ai/wp-content/uploads/2025/01/image-30.jpg"
Note: The above structure allows for easy mapping between tool metadata and its associated
image asset for use in the API documentation or frontend integration.
Example Usage:
GET https://www.aicerts.ai/wp-json/wp/v2
GET https://www.aicerts.ai/wp-json/wp/v2/media/{media_id}
Description:
Request Parameters:
Response:
"id": 26083,
"source_url": "https://www.aicerts.ai/wp-content/uploads/badge-image.png"
Example Usage:
GET https://www.aicerts.ai/wp-json/wp/v2/media/26083
Additional Notes
The featured_media field contains the media ID, which can be used with the Certificate
Badge Image Retrieval endpoint.
The tools field is an array of tool IDs, which can be individually retrieved using the
Certificate Tool Retrieval endpoint.
Contact Team
In case of any queries or encountered any issues while working on this platform, please drop an
email to the following distro lists with appropriate screenshots: