curl --request POST \
--url https://app.enzo.health/api/v1/credentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"credentials": {
"data": {
"host": "<string>",
"username": "<string>",
"password": "<string>",
"isTlsEnabled": true,
"port": 123,
"from": {
"email": "<string>",
"name": "<string>"
}
},
"type": "smtp",
"organizationId": "<string>",
"name": "<string>",
"id": "<string>"
}
}'
{
"credentialsId": "<string>"
}
curl --request POST \
--url https://app.enzo.health/api/v1/credentials \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"credentials": {
"data": {
"host": "<string>",
"username": "<string>",
"password": "<string>",
"isTlsEnabled": true,
"port": 123,
"from": {
"email": "<string>",
"name": "<string>"
}
},
"type": "smtp",
"organizationId": "<string>",
"name": "<string>",
"id": "<string>"
}
}'
{
"credentialsId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successful response
The response is of type object
.