Skip to main content
POST
/
contacts
/
{contact}
/
activities
cURL
curl --request POST \
  --url https://api.givebutter.com/v1/contacts/{contact}/activities \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "type": "<string>",
  "source": "<string>",
  "data": "<string>",
  "resource": {
    "id": "<string>",
    "plan_id": "<string>",
    "pledge_id": 123,
    "amount": 123,
    "fee": 123,
    "fee_covered": 123,
    "donated": 123,
    "payout": 123,
    "captured": "<string>",
    "captured_at": "<string>",
    "timezone": "<string>",
    "refunded": "<string>",
    "refunded_at": "<string>",
    "line_items": [
      {
        "type": "<string>",
        "subtype": "<string>",
        "description": "<string>",
        "quantity": 123,
        "price": 123,
        "discount": 123,
        "total": 123,
        "created_at": "<string>",
        "updated_at": "<string>"
      }
    ],
    "fair_market_value_amount": "<string>",
    "tax_deductible_amount": "<string>",
    "is_recurring": true
  },
  "resource_type": "<unknown>",
  "occurred_at": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "created_by": {
    "id": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "email": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contact
integer
required

The contact ID

Response

ContactActivityResource

id
string
required
type
string
required
source
string
required
data
string
required
resource
TransactionResource · object
required
resource_type
null | enum<string>
required
Available options:
transaction,
plan,
ticket,
message,
mail_piece,
soft_credit,
subscription_log
occurred_at
string
required
created_at
string
required
updated_at
string
required
created_by
PublicUserResource · object