Skip to main content
POST
/
agent
/
v2
/
auth
/
init
Initialize agent authentication
curl --request POST \
  --url https://public-api-v2.bags.fm/api/v1/agent/v2/auth/init \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": "<string>"
}
'
{
  "success": true,
  "response": {
    "message": "<string>",
    "nonce": "<string>"
  }
}

Body

application/json
address
string
required

Solana wallet public key (base58) that will sign the authentication challenge

Response

Successfully generated wallet challenge

success
boolean
required
Example:

true

response
object