All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
API to generate new id based on the id formats passed.
Id generated sucessfully.
const response = await fetch('https://egov-micro-dev.egovernments.org/id/v1/_genearte', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "idResponses": [ { "id": "text" } ] }