cURL
curl --request POST \ --url http://localhost:3000/v2/AgreementGet \ --header 'Content-Type: application/json' \ --header 'X-Bunker-Token: <api-key>' \ --data ' { "mode": "login", "identity": "<string>", "brief": "<string>", "request_metadata": {} } '
{ "status": "ok", "agreement": {} }
Retrieves a specific agreement for a user
Documentation IndexFetch the complete documentation index at: https://docs.databunker.org/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.databunker.org/llms.txt
Use this file to discover all available pages before exploring further.
API token for authentication
Mode of user identification
login
token
email
phone
custom
User identifier corresponding to the mode
Unique identifier of the legal basis/agreement
Additional metadata for the request
User agreement retrieved successfully
"ok"
Agreement information