Attribution Partners

Get current user's attribution profile

Changed on

Returns the authenticated user's marketing partner profile and connected campaigns. If the user is not registered as a marketing partner, returns partner info as null.

get/attribution/me

Request

  • Base URL: https://api.wefunder.com
  • URL: https://api.wefunder.com/attribution/me
  • Auth: OAuth 2 (authorization code, authorization URL https://wefunder.com/oauth/authorize, token URL https://api.wefunder.com/oauth/token; client credentials, token URL https://api.wefunder.com/oauth/token, scopes: read:attribution:aggregate)

Response

Successful response

Example response

{
  "data": {
    "user": {
      "id": 123,
      "email": "user@example.com",
      "name": "Example Name"
    },
    "partner": {
      "id": 123,
      "company_name": "Example Name",
      "website": "https://example.com"
    },
    "campaigns": [
      {
        "id": 123,
        "company_name": "Example Name",
        "company_id": 123,
        "access_level": 1
      }
    ]
  }
}

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status