Skip to content

Identity Verification Secrets

Manage HMAC signing secrets for Messenger identity verification — list, create, and rotate out. Signing material is returned only once, at creation time.

Identity Verification Secret

Metadata for an HMAC secret used to sign user_hash values for Messenger identity verification. The secret field is intentionally omitted — it is only returned once, in the response to POST /secure_mode_secrets.

typestring

value is "identity_verification_secret"

Example:"identity_verification_secret"
idstring

The id of the secret

Example:"102"
namestring

Human-readable name for the secret, used to identify it in rotation flows

Example:"Production Web"
supports_androidboolean

Whether the secret is enabled for the Android SDK

Example:false
supports_iosboolean

Whether the secret is enabled for the iOS SDK

Example:false
supports_webboolean

Whether the secret is enabled for the Messenger on web

Example:true
created_atinteger

The time the secret was created, as a Unix timestamp

Example:1734537243
environment_idstring or null

The messenger_environment value of the environment the secret is limited to, or null if the secret works in every environment

Example:"k3x9q2m7pa"
{ "type": "identity_verification_secret", "id": "102", "name": "Production Web", "supports_android": false, "supports_ios": false, "supports_web": true, "created_at": 1734537243, "environment_id": "k3x9q2m7pa" }