Identity Status

Check whether a user has opted into DFend.

Endpoint

https://api.dfend.app/identity-status

Accepts requests from client or server environments (publishable or secret API key).

Methods

GET

Check whether a user has opted into DFend.

Accepts

body object An object containing one of the following fields:

  • userId string The user's primary key or unique ID in your system.

  • id string The id value of the user's Identity in DFend.

Returns

A JSON-encoded object containing the following fields:

  • optedIn boolean Whether the user has opted into DFend.

Last updated