跳转到主要内容
POST
/
profile
cURL
curl --request POST \
  --url https://api.pubrio.com/profile \
  --header 'Content-Type: application/json' \
  --header 'pubrio-api-key: <api-key>' \
  --data '
{
  "profile_id": 123
}
'
{
  "data": {
    "profile_id": 1,
    "credit": 457499,
    "topup_credit": 235237,
    "name": "Pubrio",
    "description": null,
    "is_auto_top_up_credits_enabled": false,
    "auto_top_up_credit": 2500,
    "auto_top_up_balance_fall_below": 500,
    "subscription": {
      "id": 7,
      "credit": 2250,
      "max_api_monthly_query": 0,
      "max_api_daily_query": 0,
      "max_api_hourly_query": 0,
      "is_not_able_to_subscribe": false,
      "max_portal_monthly_query": 60000,
      "max_portal_daily_query": 2000,
      "max_portal_hourly_query": 1000,
      "amount": 59,
      "is_custom_plan": false,
      "currency_id": 14,
      "currency": "usd",
      "topup_credit_amount": 0.035,
      "name": "Business - Annual Subscription",
      "slug": "business-annual",
      "collection": "business",
      "is_annual": true,
      "is_default": null,
      "identifier": "2618b67a-cc4d-4fd1-bbe8-f906e4f6632d",
      "last_charged": "2024-11-09T03:40:41.995Z",
      "next_charge_date": "2025-11-09T03:40:41.995Z",
      "last_usage_charged": "2024-10-30T15:01:54.895Z",
      "next_usage_charge_date": "2024-11-13T15:01:54.895Z",
      "last_refill_date": "2024-11-09T03:40:41.995Z",
      "next_refill_date": "2024-12-09T03:40:41.995Z",
      "usage_charge_period": 2,
      "usage_charge_period_type": "week",
      "charge_period": 12,
      "charge_period_type": "month",
      "web_intent_signal_credit": 25,
      "max_search_page": 100,
      "max_search_per_page": 25,
      "phone_number_redeem_credit": 30,
      "email_redeem_credit": 15,
      "people_search_credit": 3,
      "company_search_credit": 1,
      "data_export_credit": 1,
      "max_session_per_page": 100,
      "max_export_limit": 25000,
      "max_select_limit": 5000,
      "max_record_upload_size": 100000,
      "max_company_search_select_limit": 1000,
      "max_people_search_select_limit": 25,
      "max_channel_email_account": 1,
      "max_channel_linkedin_account": 1,
      "max_channel_slack_account": 0,
      "is_full_export_available": true,
      "is_api_access_available": false,
      "is_add_user_available": true,
      "is_refill_without_charge": false,
      "is_skip_user_related_calculation": false,
      "is_credit_rollover_available": false,
      "is_quota_sharing_available": true,
      "last_modified": "2024-11-09T03:40:41.995Z",
      "total_credit_used": 7025,
      "total_charge_credit": 7000,
      "credit_refill": 459000,
      "total_amount": 8988,
      "products": [
        {
          "currency_id": 14,
          "currency": "usd",
          "waived_quantity": 6,
          "is_full_waived": false,
          "id": 3,
          "name": "Additional User Licence",
          "slug": "additional-user-licence",
          "quantity": 16,
          "amount": 59,
          "prorated_amount": 11328,
          "metadata": {
            "next_charge_date": "2025-11-09T03:40:41.995Z",
            "is_annual": true,
            "charge_period": 12,
            "charge_period_type": "month",
            "total_used_subscription": 16,
            "total_user_subscriptions": 33
          },
          "total_amount": 7080
        },
        {
          "currency_id": 14,
          "currency": "usd",
          "waived_quantity": 0,
          "is_full_waived": false,
          "id": 5,
          "name": "Profile Subscription",
          "slug": "profile-subscription",
          "quantity": 1,
          "amount": 59,
          "prorated_amount": 708,
          "metadata": {
            "next_charge_date": "2025-11-09T03:40:41.995Z",
            "is_annual": true,
            "charge_period": 12,
            "charge_period_type": "month"
          },
          "total_amount": 708
        }
      ],
      "usage_products": [
        {
          "currency_id": 14,
          "currency": "usd",
          "waived_quantity": 1,
          "is_full_waived": false,
          "id": 2,
          "name": "Website Intent Data",
          "slug": "website-intent-data",
          "quantity": 281,
          "amount": 0.88,
          "prorated_amount": 245.88,
          "metadata": {
            "web_intent_signal_credit": 25,
            "topup_credit_amount": 0.035
          },
          "total_amount": 245,
          "total_credit_used": 7025,
          "total_charge_credit": 7000
        }
      ]
    }
  }
}

授权

pubrio-api-key
string
header
必填

一个唯一的 API 令牌,用于标识您通过 API 执行的操作以及相应的权限和操作。您可以在 设置 部分创建该令牌。

请求体

application/json
profile_id
integer
必填

发起请求的团队标识符。该ID有助于将查找与特定团队(工作区)关联,实现数据检索和额度追踪。

更多信息请参见团队标签下的 user details 端点。

响应

包含相关详细信息的成功响应。

data
object

响应信息取决于具体接口。