Passer au contenu principal
GET
https://{tenantDomain}/api/v2
/
branding
/
phone
/
providers
/
{id}
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Branding.Phone.Providers.Get(
        context.TODO(),
        "id",
    )
}
{
  "configuration": {
    "delivery_methods": [],
    "sid": "<string>",
    "default_from": "<string>",
    "mssid": "<string>"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "disabled": true,
  "id": "<string>",
  "tenant": "<string>",
  "updated_at": "2023-11-07T05:31:56Z"
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis
Required string length: 1 - 255

Réponse

Le fournisseur de téléphone a été récupéré avec succès.

Schéma de configuration du fournisseur de téléphone

name
enum<string>
requis

Nom du fournisseur de notifications téléphoniques

Options disponibles:
twilio,
custom
Required string length: 1 - 100
channel
enum<string>

Indique le type de notifications que ce fournisseur peut recevoir.

Options disponibles:
phone
Maximum string length: 100
configuration
object
created_at
string<date-time>

La date et l’heure de création du fournisseur au format ISO 8601

Maximum string length: 27
disabled
boolean

Indique si le fournisseur est activé (false) ou désactivé (true).

id
string
Required string length: 1 - 255
tenant
string

Le nom du locataire

Required string length: 1 - 255
updated_at
string<date-time>

La date et l’heure de la dernière mise à jour du fournisseur au format ISO 8601

Maximum string length: 27