Skip to main content
WEBHOOK
intent.created
{
  "type": "intent.created",
  "intent_id": "cm5abc123def456ghi789jkl",
  "intent_type": "WALLET",
  "status": "pending",
  "created_by_id": "did:privy:cfbsvtqo2c22202mo08847jdux2z",
  "created_by_display_name": "[email protected]",
  "resource_id": "fmfdj6yqly31huorjqzq38zc",
  "created_at": 1772193600000,
  "expires_at": 1772452800000,
  "authorization_details": [
    {
      "threshold": 2,
      "display_name": "Admin Key Quorum",
      "members": [
        {
          "type": "user",
          "user_id": "did:privy:cfbsvtqo2c22202mo08847jdux2z",
          "signed_at": null
        },
        {
          "type": "user",
          "user_id": "did:privy:xyzabc123def456ghi789",
          "signed_at": 1709128800000
        }
      ]
    }
  ]
}

Body

application/json

Payload for the intent.created webhook event.

type
enum<string>
required

The type of webhook event.

Available options:
intent.created
intent_id
string
required

The unique ID of the intent.

intent_type
enum<string>
required

Type of intent.

Available options:
KEY_QUORUM,
POLICY,
RULE,
RPC,
WALLET
status
string
required

The current status of the intent.

created_at
number
required

Unix timestamp when the intent was created.

expires_at
number
required

Unix timestamp when the intent expires.

created_by_id
string

The ID of the user who created the intent.

created_by_display_name
string

Display name of the user who created the intent.

authorization_details
IntentAuthorization · object[]

Key quorums that can authorize this intent.

Response

200

Return a 200 status to indicate that the webhook was received successfully.