Skip to main content
POST
Add a credential

Authorizations

Authorization
string
header
required

JWT token authentication

Path Parameters

id
integer
required

Staff ID

Body

application/json
type
string
required

Credential type (e.g., license, certification, training)

name
string
required

Human-readable credential name

issuer
string

Issuing authority or organization

issueDate
string<date>
expirationDate
string<date>
fileUrl
string

URL to the uploaded credential document

Response

Credential created successfully

id
integer

Unique credential identifier

userId
integer | null

ID of the user the credential belongs to

type
string

Credential type (e.g., license, certification, training)

name
string

Human-readable credential name

issuer
string | null

Issuing authority or organization

issueDate
string<date> | null

Date the credential was issued

expirationDate
string<date> | null

Date the credential expires

status
enum<string>

Current verification/validity status

Available options:
active,
expiring,
expired,
pending,
rejected
fileUrl
string | null

URL to the uploaded credential document