# Create Credential

In 

This endpoint allows you create credential


Endpoint:

https://api.thehyperstack.com/v1/credential/issue

Method: POST

Header:

Authorization: Bearer #########

Authentication token can be obtained through Hyperstack Dashboard > Settings > API Access

{
  "recipient": {
    "name": "John Doe",
    "email": "[email protected]"
  },
  "group_key": "GcI6H5b66a3v",
  "custom_attributes": {
    "custom_date": "2035",
    "custom_location": "Mars"
  }
}
{
  "success": true,
  "document_id": "j4nDvaxF6ehodPXI84p4X1yhQe7lrYgx",
  "document_url": "https://hyperstack.id/credential/j4nDvaxF6ehodPXI84p4X1yhQe7lrYgx"
}
{
  "success": false
}