Skip to main content
POST
Create a Provider

Autorizaciones

Authorization
string
header
requerido

The authorization token in the 'Bearer ' format.

Cuerpo

application/json

Information required to create a new communication provider.

name
string
requerido

A unique name to identify the provider.

category
enum<string>
requerido

The provider category.

Opciones disponibles:
Email,
SMS
type
enum<string>
requerido

The provider implementation type.

Opciones disponibles:
SendGrid,
Twilio
subType
string

Provider sub-type, if applicable.

method
string

Authentication or delivery method.

clientId
string

Client ID or API key for authenticating with the provider.

clientSecret
string

Client secret or API secret for authenticating with the provider.

clientId2
string

Secondary client ID, if applicable.

clientSecret2
string

Secondary client secret, if applicable.

host
string

SMTP or API host address (Email providers).

port
integer

SMTP port (Email providers).

disableSsl
boolean
predeterminado:false

Set to true to disable SSL/TLS (not recommended for production).

title
string

Default email or SMS title/subject.

content
string

Default message content template.

receiver
string

Default receiver address for testing.

regionId
string

Cloud region ID (provider-specific).

signName
string

SMS signature name (provider-specific).

templateCode
string

SMS template code (provider-specific).

appId
string

Application ID (provider-specific).

endpoint
string

Provider API endpoint URL.

intranetEndpoint
string

Intranet endpoint for private network access.

domain
string

Provider domain.

Respuesta

Indicates that the provider was successfully created and the operation was completed as expected.

Information about a communication provider.

id
string

Unique identifier of the provider.

name
string

Name of the provider.

category
enum<string>

Provider category.

Opciones disponibles:
Email,
SMS
type
enum<string>

Provider implementation type.

Opciones disponibles:
SendGrid,
Twilio
subType
string

Provider sub-type, if applicable.

method
string

Authentication or delivery method.

clientId
string

Client ID or API key (secret is never returned).

clientId2
string

Secondary client ID, if applicable.

host
string

SMTP or API host address.

port
integer

SMTP port.

disableSsl
boolean

Indicates whether SSL/TLS is disabled.

title
string

Default email or SMS title/subject.

content
string

Default message content template.

receiver
string

Default receiver address for testing.

regionId
string

Cloud region ID (provider-specific).

signName
string

SMS signature name (provider-specific).

templateCode
string

SMS template code (provider-specific).

appId
string

Application ID (provider-specific).

endpoint
string

Provider API endpoint URL.

intranetEndpoint
string

Intranet endpoint for private network access.

domain
string

Provider domain.

providerUrl
string

Provider-specific URL.

createdAt
string<date-time>

Timestamp marking when the provider was created.