# CME Api V2 Documentation > Documentation for CME Api V2 ## API Reference - [Award a New Credential](https://cme-api-v2.readme.io/reference/post_v2-credential.md): This endpoint allows you to award a new credential. The template_ID and name fields are mandatory in the request body. If the template has custom fields, you need to add them manually in the same format as the default variables. For example: 'Custom.Hello': 'Its value'. - [Retrieve Credential Details by Credential ID](https://cme-api-v2.readme.io/reference/get_v2-credential-credential-id.md): Fetch the details of a credential using its unique credential_id. The credential_id is mandatory for this request. - [Delete a Credential by Credential ID](https://cme-api-v2.readme.io/reference/delete_v2-credential-credential-id.md): Deletes a credential using its unique credential_id. The credential_id is mandatory for this request. - [Edit a Credential by Credential ID](https://cme-api-v2.readme.io/reference/put_v2-credential-credential-id.md): Updates the details of an existing credential using its unique credential_id. The credential_id is mandatory for this request. If the template has custom fields, you need to add them manually in the same format as the default variables. For example: 'Custom.Hello': 'Its value'. - [Create a New Template](https://cme-api-v2.readme.io/reference/post_advanced-v2-template.md): This endpoint allows you to create a new template. The event property is mandatory and must be passed in the JSON request body. - [Get all templates with a folder ID and institution ID](https://cme-api-v2.readme.io/reference/get_advanced-v2-template-all-institution-id.md): Retrieve all templates associated with a specific institution using the institution_id and filter by folder_id. To retrieve templates that are not assigned to any folder, set folder_id=0. - [Copy an existing template using its ID](https://cme-api-v2.readme.io/reference/post_advanced-v2-template-copy-template-id.md): This API copies an existing template based on the provided template_id. The template_id is mandatory to perform this operation. The copied template will be returned with a new template_ID. - [Delete a Template using a template ID](https://cme-api-v2.readme.io/reference/delete_advanced-v2-template-delete-template-id.md): This endpoint deletes a template identified by template_id. The template_id is mandatory to proceed with the deletion. - [Edit a Template using a template ID](https://cme-api-v2.readme.io/reference/put_advanced-v2-template-edit-template-id.md): This endpoint updates a template's details by providing the template ID. The request body must include fields to be updated, each subject to validation rules. - [Retrieve a Template by ID](https://cme-api-v2.readme.io/reference/get_advanced-v2-template-template-id.md): Fetches the details of a template using its unique ID. The template ID must be provided in the request path. - [Retrieve all Credential IDs by Template ID](https://cme-api-v2.readme.io/reference/get_advanced-v2-template-credentials-template-id.md): Fetches all credential IDs associated with a specified template using its unique ID. The template ID must be provided in the request path. - [Create a Folder by Name](https://cme-api-v2.readme.io/reference/post_advanced-v2-folder.md): A folder name is mandatory for creating a folder. - [Retrieve a Folder by ID](https://cme-api-v2.readme.io/reference/get_advanced-v2-folder-folder-id.md): A folder ID is mandatory to retrieve the folder details. - [Retrieve All Folders by Institution ID](https://cme-api-v2.readme.io/reference/get_advanced-v2-folder-all-institution-id.md): The institution ID is mandatory to retrieve all associated folders. - [Retrieve Analytics Data for a Specific Template](https://cme-api-v2.readme.io/reference/get_advanced-v2-analytics-template-template-id.md): The template ID is required to obtain analytics data for the specified template.