Skip to content

Get SMS provider settings for an environment

GET
/v1/environments/{envId}/sms-settings
curl --request GET \
--url https://your-notavia-host/v1/environments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/sms-settings \
--header 'Authorization: Bearer <token>'
envId
required
string format: uuid

SMS settings.

Media type application/json
object
id
string format: uuid
kind
string
Allowed values: Managed Twilio Vonage
from_number
string
nullable
from_sender_id
string
nullable
credentials_validated
boolean
credentials_validated_at
string format: date-time
nullable
Example
{
"kind": "Managed"
}

Missing or invalid credentials.

Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
nullable
Example generated
{
"error": {
"type": "example",
"code": "example",
"message": "example",
"param": "example"
}
}

Credentials do not have the required scope.

Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
nullable
Example generated
{
"error": {
"type": "example",
"code": "example",
"message": "example",
"param": "example"
}
}

Resource not found.

Media type application/json
object
error
required
object
type
required
string
code
required
string
message
required
string
param
string
nullable
Example generated
{
"error": {
"type": "example",
"code": "example",
"message": "example",
"param": "example"
}
}