Exemple — cURL
curl --location 'https://rest.smsmode.com/commons/v1/credentials' \
--header 'X-Api-Key: YOUR_API_KEY_HERE' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"name": "key-sms",
"type": "API_KEY",
"roles": [
"ADMIN"
]
}'