Skip to main content

Approve Certificate

POST 

https://public.api.mentaport.xyz/prod/v1/certificates/approve

Method to call once you have a Pending Certificate. This is the last step to successfully create your certificate. Review the information to ensure it is accurate before it's written in the decentralized ledger.

Request

Query Parameters

    contractId stringrequired
    Example: 96b82a9a-585d-4628-9e61-d5fe0b9317dd
    certId stringrequired
    Example: 0x4b0b29b850d54871a45f291422fdd890
    approved booleanrequired
    Example: true

Header Parameters

    x-api-key string
    Example: {{_apiKeyDev}}

Responses

Successful response
Schema

Authorization: http

name: apikeyAuthtype: httpin: 
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://public.api.mentaport.xyz/prod/v1/certificates/approve");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://public.api.mentaport.xyz/prod/v1
Auth
Parameters
— queryrequired
— queryrequired
— queryrequired
— header
ResponseClear

Click the Send API Request button above and see the response here!