Skip to content
No results found.

Get MFA

Scopes
read:mfa

Path Parameters

type
string
Required

Type of MFA

GET
/mfa/{type}
cURL
cURLC#DartGoJavaJavaScriptPHPPythonRubyRustSwift
1
2
3
Loading...
Response
200
200
Loading...

Response Body Schema

enabled
boolean
Required
provider
string
Required

Value: native

type
string
Required

Value: push

created_at
string

Creation date in the ISO 8601 format according to universal time.

is_custom
boolean

Is connection using custom scripts

updated_at
string

Update date in the ISO 8601 format according to universal time.

settings
object
Required
settings.
enabled_clients
array<string>
Required
settings.
strategy
string
Required

Push notification strategy

Available Values: codeprompt

Default Value: "code"

settings.
apns
object
Required

Apple Push Notification Service configuration settings.

settings.apns.
bundle_id
string
Required

This is the ID of your app. You can find it in the app info section of your Apple developer account.

settings.apns.
key
string
Required

p8 of your Apple Developer account. To generate one follow these steps:

  • Head over to Certificates, Identifiers & Profiles > Keys.
  • Register a new key and give it a name.
  • Enable the Apple Push Notifications service (APNs) checkbox by selecting it.
  • Click the Continue button and on the next page, select Register.
  • Download the .p8 key file.
settings.apns.
key_id
string
Required

This is a 10-character unique identifier for the authentication key. You can find it in the key details section of the newly created key in your Apple developer account.

settings.apns.
production
boolean
Required

Default Value: true

settings.apns.
team_id
string
Required

This is available in your Apple developer account.

settings.
fcm
object
Required

Firebase Cloud Messaging configuration settings. To enable the FCM integration, you need to get your service account key from the Firebase Console.

  • Select your project, and click the gear icon on the top of the sidebar.
  • After opening "Project Settings", head to the "Service Accounts" tab.
  • Click "Generate new private key", then confirm by clicking "Generate key".
  • Clicking "Generate key" downloads the generated service account json file.
settings.fcm.
client_email
string
Required

client_email field located in your service account json

settings.fcm.
private_key
string
Required

private_key field located in your service account json

settings.fcm.
project_id
string
Required

project_id field located in your service account json