API Documentation

API Endpoint

Organization Memberships

Organization Memberships

Supported filter params

  • organization_id (array)
GET /api/v2/organization_memberships
Requestsreturns organization memberships

GET  /api/v2/organization_memberships

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": [
    {
      "id": "79",
      "type": "organization_memberships",
      "attributes": {
        "updated_at": "2021-04-15T01:02:47.745+02:00",
        "position": null,
        "tasks_layout_id": 1,
        "time_reminders": true,
        "email_notifications": true,
        "weekly_emails": true,
        "notification_preference": {},
        "preferences": null,
        "tasks_filter_id": null,
        "deals_filter_id": null,
        "projects_filter_id": null,
        "people_filter_id": null,
        "companies_filter_id": null,
        "company_time_filter_id": null,
        "invoices_filter_id": null,
        "budgets_filter_id": null,
        "expenses_filter_id": null,
        "bookings_filter_id": null,
        "payments_filter_id": null,
        "time_reports_filter_id": null,
        "profitability_reports_filter_id": null,
        "sales_reports_filter_id": null,
        "salary_reports_filter_id": null,
        "event_reports_filter_id": null,
        "time_entry_reports_filter_id": null,
        "booking_approvals_filter_id": null,
        "expense_approvals_filter_id": null,
        "time_approvals_filter_id": null
      },
      "relationships": {
        "tasks_favorite_filter": {
          "data": null
        },
        "deals_favorite_filter": {
          "data": null
        },
        "projects_favorite_filter": {
          "data": null
        },
        "people_favorite_filter": {
          "data": null
        },
        "companies_favorite_filter": {
          "data": null
        },
        "company_time_favorite_filter": {
          "data": null
        },
        "invoices_favorite_filter": {
          "data": null
        },
        "budgets_favorite_filter": {
          "data": null
        },
        "expenses_favorite_filter": {
          "data": null
        },
        "bookings_favorite_filter": {
          "data": null
        },
        "payments_favorite_filter": {
          "data": null
        },
        "time_reports_favorite_filter": {
          "data": null
        },
        "profitability_reports_favorite_filter": {
          "data": null
        },
        "sales_reports_favorite_filter": {
          "data": null
        },
        "salary_reports_favorite_filter": {
          "data": null
        },
        "event_reports_favorite_filter": {
          "data": null
        },
        "time_entry_reports_favorite_filter": {
          "data": null
        },
        "booking_approvals_favorite_filter": {
          "data": null
        },
        "expense_approvals_favorite_filter": {
          "data": null
        },
        "time_approvals_favorite_filter": {
          "data": null
        },
        "organization": {
          "data": {
            "type": "organizations",
            "id": "20"
          }
        },
        "person": {
          "data": {
            "type": "people",
            "id": "79"
          }
        },
        "user": {
          "data": {
            "type": "users",
            "id": "79"
          }
        },
        "organization_membership_counts": {
          "data": {
            "type": "organization_membership_counts",
            "id": "79"
          }
        },
        "timer": {
          "data": null
        }
      }
    }
  ],
  "included": [
    {
      "id": "20",
      "type": "organizations",
      "attributes": {
        "name": "Organization20",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "375d2c63ed85eda437d5815c6ae5141c",
        "due_days": 15,
        "email_key": "organization20",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals",
          "seat_based_pricing"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 1,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-04-15T01:02:47.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "79"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "104"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "20"
          }
        }
      }
    },
    {
      "id": "79",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user79@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "user_id": 79,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-04-15T01:02:47.745+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 20
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "104"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "79",
      "type": "users",
      "attributes": {
        "email": "user79@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 20,
        "default_organization_slug": "20-organization20",
        "intercom_hash": "c50c59421ec94e64dc4187f178945809cd9ed064f536acb91c05fcafe6da286a",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "79",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "undismissed_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0
      }
    },
    {
      "id": "104",
      "type": "companies",
      "attributes": {
        "name": "Organization20",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-04-15T01:02:47.744+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 20
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "20",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-04-29 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15,
              "used": 0
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10,
              "used": 0
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100,
              "used": 0
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30,
              "used": 0
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5,
              "used": 0
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 3
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 1
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 0
                },
                "multigrouping": {
                  "type": "switch",
                  "available": false
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": false
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": false
                },
                "time_approvals": {
                  "type": "switch",
                  "available": false
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": false
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": false
                },
                "autotracking": {
                  "type": "switch",
                  "available": false
                },
                "forecasting": {
                  "type": "switch",
                  "available": false
                },
                "webhooks": {
                  "type": "switch",
                  "available": false
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": false
                },
                "formula_fields": {
                  "type": "switch",
                  "available": false
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": false
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": false
                },
                "payment_sync": {
                  "type": "switch",
                  "available": false
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": false
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": false
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": false
                }
              }
            }
          ]
        },
        "upgrades": [],
        "downgrades": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              }
            }
          }
        ],
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 1,
        "seats_used": 1,
        "seats_pending": 1,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 20
          }
        }
      }
    }
  ],
  "links": {
    "first": "http://www.example.com/api/v2/organization_memberships/?page%5Bnumber%5D=1&page%5Bsize%5D=30",
    "last": "http://www.example.com/api/v2/organization_memberships/?page%5Bnumber%5D=1&page%5Bsize%5D=30"
  },
  "meta": {
    "current_page": 1,
    "total_pages": 1,
    "total_count": 1,
    "page_size": 30,
    "max_page_size": 200,
    "settings": {}
  }
}

Get organization memberships
GET/api/v2/organization_memberships


GET /api/v2/organization_memberships/1
Requestsreturns organization membership

GET  /api/v2/organization_memberships/80

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "80",
    "type": "organization_memberships",
    "attributes": {
      "updated_at": "2021-04-15T01:02:48.092+02:00",
      "position": null,
      "tasks_layout_id": 1,
      "time_reminders": true,
      "email_notifications": true,
      "weekly_emails": true,
      "notification_preference": {},
      "preferences": null,
      "tasks_filter_id": null,
      "deals_filter_id": null,
      "projects_filter_id": null,
      "people_filter_id": null,
      "companies_filter_id": null,
      "company_time_filter_id": null,
      "invoices_filter_id": null,
      "budgets_filter_id": null,
      "expenses_filter_id": null,
      "bookings_filter_id": null,
      "payments_filter_id": null,
      "time_reports_filter_id": null,
      "profitability_reports_filter_id": null,
      "sales_reports_filter_id": null,
      "salary_reports_filter_id": null,
      "event_reports_filter_id": null,
      "time_entry_reports_filter_id": null,
      "booking_approvals_filter_id": null,
      "expense_approvals_filter_id": null,
      "time_approvals_filter_id": null
    },
    "relationships": {
      "tasks_favorite_filter": {
        "data": null
      },
      "deals_favorite_filter": {
        "data": null
      },
      "projects_favorite_filter": {
        "data": null
      },
      "people_favorite_filter": {
        "data": null
      },
      "companies_favorite_filter": {
        "data": null
      },
      "company_time_favorite_filter": {
        "data": null
      },
      "invoices_favorite_filter": {
        "data": null
      },
      "budgets_favorite_filter": {
        "data": null
      },
      "expenses_favorite_filter": {
        "data": null
      },
      "bookings_favorite_filter": {
        "data": null
      },
      "payments_favorite_filter": {
        "data": null
      },
      "time_reports_favorite_filter": {
        "data": null
      },
      "profitability_reports_favorite_filter": {
        "data": null
      },
      "sales_reports_favorite_filter": {
        "data": null
      },
      "salary_reports_favorite_filter": {
        "data": null
      },
      "event_reports_favorite_filter": {
        "data": null
      },
      "time_entry_reports_favorite_filter": {
        "data": null
      },
      "booking_approvals_favorite_filter": {
        "data": null
      },
      "expense_approvals_favorite_filter": {
        "data": null
      },
      "time_approvals_favorite_filter": {
        "data": null
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "21"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "80"
        }
      },
      "user": {
        "data": {
          "type": "users",
          "id": "80"
        }
      },
      "organization_membership_counts": {
        "data": {
          "type": "organization_membership_counts",
          "id": "80"
        }
      },
      "timer": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "21",
      "type": "organizations",
      "attributes": {
        "name": "Organization21",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "2c138ebd7f20d4f2be5f79d41c52ae65",
        "due_days": 15,
        "email_key": "organization21",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals",
          "seat_based_pricing"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 1,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-04-15T01:02:48.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "80"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "105"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "21"
          }
        }
      }
    },
    {
      "id": "80",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user80@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "user_id": 80,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-04-15T01:02:48.092+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 21
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "105"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "80",
      "type": "users",
      "attributes": {
        "email": "user80@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 21,
        "default_organization_slug": "21-organization21",
        "intercom_hash": "2870f0c062d2c7d62466e4675a60349f6b84880c250cadd607100f2ca421753e",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "80",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "undismissed_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0
      }
    },
    {
      "id": "105",
      "type": "companies",
      "attributes": {
        "name": "Organization21",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-04-15T01:02:48.090+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 21
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "21",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-04-29 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15,
              "used": 0
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10,
              "used": 0
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100,
              "used": 0
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30,
              "used": 0
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5,
              "used": 0
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 3
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 1
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 0
                },
                "multigrouping": {
                  "type": "switch",
                  "available": false
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": false
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": false
                },
                "time_approvals": {
                  "type": "switch",
                  "available": false
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": false
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": false
                },
                "autotracking": {
                  "type": "switch",
                  "available": false
                },
                "forecasting": {
                  "type": "switch",
                  "available": false
                },
                "webhooks": {
                  "type": "switch",
                  "available": false
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": false
                },
                "formula_fields": {
                  "type": "switch",
                  "available": false
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": false
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": false
                },
                "payment_sync": {
                  "type": "switch",
                  "available": false
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": false
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": false
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": false
                }
              }
            }
          ]
        },
        "upgrades": [],
        "downgrades": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              }
            }
          }
        ],
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 1,
        "seats_used": 1,
        "seats_pending": 1,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 21
          }
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Gets a organization membership
GET/api/v2/organization_memberships/{id}

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


PATCH /api/v2/organization_memberships/1
Requestsupdates organization membership

PATCH  /api/v2/organization_memberships/81

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Body
{
  "data": {
    "type": "organization-memberships",
    "attributes": {
      "projects_filter_id": "4",
      "time_entry_reports_filter_id": "2"
    }
  }
}
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "81",
    "type": "organization_memberships",
    "attributes": {
      "updated_at": "2021-04-15T01:02:48.278+02:00",
      "position": null,
      "tasks_layout_id": 1,
      "time_reminders": true,
      "email_notifications": true,
      "weekly_emails": true,
      "notification_preference": {},
      "preferences": null,
      "tasks_filter_id": null,
      "deals_filter_id": null,
      "projects_filter_id": 4,
      "people_filter_id": null,
      "companies_filter_id": null,
      "company_time_filter_id": null,
      "invoices_filter_id": null,
      "budgets_filter_id": null,
      "expenses_filter_id": null,
      "bookings_filter_id": null,
      "payments_filter_id": null,
      "time_reports_filter_id": null,
      "profitability_reports_filter_id": null,
      "sales_reports_filter_id": null,
      "salary_reports_filter_id": null,
      "event_reports_filter_id": null,
      "time_entry_reports_filter_id": 2,
      "booking_approvals_filter_id": null,
      "expense_approvals_filter_id": null,
      "time_approvals_filter_id": null
    },
    "relationships": {
      "tasks_favorite_filter": {
        "data": null
      },
      "deals_favorite_filter": {
        "data": null
      },
      "projects_favorite_filter": {
        "data": null
      },
      "people_favorite_filter": {
        "data": null
      },
      "companies_favorite_filter": {
        "data": null
      },
      "company_time_favorite_filter": {
        "data": null
      },
      "invoices_favorite_filter": {
        "data": null
      },
      "budgets_favorite_filter": {
        "data": null
      },
      "expenses_favorite_filter": {
        "data": null
      },
      "bookings_favorite_filter": {
        "data": null
      },
      "payments_favorite_filter": {
        "data": null
      },
      "time_reports_favorite_filter": {
        "data": null
      },
      "profitability_reports_favorite_filter": {
        "data": null
      },
      "sales_reports_favorite_filter": {
        "data": null
      },
      "salary_reports_favorite_filter": {
        "data": null
      },
      "event_reports_favorite_filter": {
        "data": null
      },
      "time_entry_reports_favorite_filter": {
        "data": null
      },
      "booking_approvals_favorite_filter": {
        "data": null
      },
      "expense_approvals_favorite_filter": {
        "data": null
      },
      "time_approvals_favorite_filter": {
        "data": null
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "22"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "81"
        }
      },
      "user": {
        "data": {
          "type": "users",
          "id": "81"
        }
      },
      "organization_membership_counts": {
        "data": {
          "type": "organization_membership_counts",
          "id": "81"
        }
      },
      "timer": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "22",
      "type": "organizations",
      "attributes": {
        "name": "Organization22",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "8bb03be6e0d84168a1895dfef84bf6a0",
        "due_days": 15,
        "email_key": "organization22",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals",
          "seat_based_pricing"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 1,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-04-15T01:02:48.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "81"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "106"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "22"
          }
        }
      }
    },
    {
      "id": "81",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user81@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "user_id": 81,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-04-15T01:02:48.225+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 22
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "106"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "81",
      "type": "users",
      "attributes": {
        "email": "user81@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 22,
        "default_organization_slug": "22-organization22",
        "intercom_hash": "b62e4e7748c3a38a707566209b70fbbb00140eaf99abd5d15dc2367c7337df79",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "81",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "undismissed_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0
      }
    },
    {
      "id": "106",
      "type": "companies",
      "attributes": {
        "name": "Organization22",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-04-15T01:02:48.224+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 22
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "22",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-04-29 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15,
              "used": 0
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10,
              "used": 0
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100,
              "used": 0
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30,
              "used": 0
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5,
              "used": 0
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 3
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 1
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 0
                },
                "multigrouping": {
                  "type": "switch",
                  "available": false
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": false
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": false
                },
                "time_approvals": {
                  "type": "switch",
                  "available": false
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": false
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": false
                },
                "autotracking": {
                  "type": "switch",
                  "available": false
                },
                "forecasting": {
                  "type": "switch",
                  "available": false
                },
                "webhooks": {
                  "type": "switch",
                  "available": false
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": false
                },
                "formula_fields": {
                  "type": "switch",
                  "available": false
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": false
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": false
                },
                "payment_sync": {
                  "type": "switch",
                  "available": false
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": false
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": false
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": false
                }
              }
            }
          ]
        },
        "upgrades": [],
        "downgrades": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              }
            }
          }
        ],
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 1,
        "seats_used": 1,
        "seats_pending": 1,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 22
          }
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Update a organization membership
PATCH/api/v2/organization_memberships/{id}

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


PATCH /api/v2/organization_memberships/1/dismiss_notifications
Requestsdismisses all notifications

PATCH  /api/v2/organization_memberships/83/dismiss_notifications

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "83",
    "type": "organization_memberships",
    "attributes": {
      "updated_at": "2021-04-15T01:02:48.856+02:00",
      "position": null,
      "tasks_layout_id": 1,
      "time_reminders": true,
      "email_notifications": true,
      "weekly_emails": true,
      "notification_preference": {},
      "preferences": null,
      "tasks_filter_id": null,
      "deals_filter_id": null,
      "projects_filter_id": null,
      "people_filter_id": null,
      "companies_filter_id": null,
      "company_time_filter_id": null,
      "invoices_filter_id": null,
      "budgets_filter_id": null,
      "expenses_filter_id": null,
      "bookings_filter_id": null,
      "payments_filter_id": null,
      "time_reports_filter_id": null,
      "profitability_reports_filter_id": null,
      "sales_reports_filter_id": null,
      "salary_reports_filter_id": null,
      "event_reports_filter_id": null,
      "time_entry_reports_filter_id": null,
      "booking_approvals_filter_id": null,
      "expense_approvals_filter_id": null,
      "time_approvals_filter_id": null
    },
    "relationships": {
      "tasks_favorite_filter": {
        "data": null
      },
      "deals_favorite_filter": {
        "data": null
      },
      "projects_favorite_filter": {
        "data": null
      },
      "people_favorite_filter": {
        "data": null
      },
      "companies_favorite_filter": {
        "data": null
      },
      "company_time_favorite_filter": {
        "data": null
      },
      "invoices_favorite_filter": {
        "data": null
      },
      "budgets_favorite_filter": {
        "data": null
      },
      "expenses_favorite_filter": {
        "data": null
      },
      "bookings_favorite_filter": {
        "data": null
      },
      "payments_favorite_filter": {
        "data": null
      },
      "time_reports_favorite_filter": {
        "data": null
      },
      "profitability_reports_favorite_filter": {
        "data": null
      },
      "sales_reports_favorite_filter": {
        "data": null
      },
      "salary_reports_favorite_filter": {
        "data": null
      },
      "event_reports_favorite_filter": {
        "data": null
      },
      "time_entry_reports_favorite_filter": {
        "data": null
      },
      "booking_approvals_favorite_filter": {
        "data": null
      },
      "expense_approvals_favorite_filter": {
        "data": null
      },
      "time_approvals_favorite_filter": {
        "data": null
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "24"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "83"
        }
      },
      "user": {
        "data": {
          "type": "users",
          "id": "83"
        }
      },
      "organization_membership_counts": {
        "data": {
          "type": "organization_membership_counts",
          "id": "83"
        }
      },
      "timer": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "24",
      "type": "organizations",
      "attributes": {
        "name": "Organization24",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "1bfa3f411855414d20ef4359e22c164f",
        "due_days": 15,
        "email_key": "organization24",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals",
          "seat_based_pricing"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 0.16666666666666666,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-04-15T01:02:48.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "83"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "108"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "24"
          }
        }
      }
    },
    {
      "id": "83",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user83@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "user_id": 83,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-04-15T01:02:48.566+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 24
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "108"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "83",
      "type": "users",
      "attributes": {
        "email": "user83@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 24,
        "default_organization_slug": "24-organization24",
        "intercom_hash": "bc5e311d903a9825129a60680f913135194645751513b099ff022325b73d8017",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "83",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "undismissed_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0
      }
    },
    {
      "id": "108",
      "type": "companies",
      "attributes": {
        "name": "Organization24",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-04-15T01:02:48.564+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 24
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "24",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-04-29 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15,
              "used": 0
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10,
              "used": 0
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100,
              "used": 0
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30,
              "used": 0
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5,
              "used": 0
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 3
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 1
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 0
                },
                "multigrouping": {
                  "type": "switch",
                  "available": false
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": false
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": false
                },
                "time_approvals": {
                  "type": "switch",
                  "available": false
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": false
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": false
                },
                "autotracking": {
                  "type": "switch",
                  "available": false
                },
                "forecasting": {
                  "type": "switch",
                  "available": false
                },
                "webhooks": {
                  "type": "switch",
                  "available": false
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": false
                },
                "formula_fields": {
                  "type": "switch",
                  "available": false
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": false
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": false
                },
                "payment_sync": {
                  "type": "switch",
                  "available": false
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": false
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": false
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": false
                }
              }
            }
          ]
        },
        "upgrades": [],
        "downgrades": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              }
            }
          }
        ],
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 6,
        "seats_used": 6,
        "seats_pending": 6,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 24
          }
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Dismiss notifications for organization membership
PATCH/api/v2/organization_memberships/{id}/dismiss_notifications

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


PATCH /api/v2/organization_memberships/1/clear_notifications
Requestsdismisses all notifications

PATCH  /api/v2/organization_memberships/95/clear_notifications

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses200
Headers
Content-Type: application/vnd.api+json; charset=utf-8
Body
{
  "data": {
    "id": "95",
    "type": "organization_memberships",
    "attributes": {
      "updated_at": "2021-04-15T01:02:49.830+02:00",
      "position": null,
      "tasks_layout_id": 1,
      "time_reminders": true,
      "email_notifications": true,
      "weekly_emails": true,
      "notification_preference": {},
      "preferences": null,
      "tasks_filter_id": null,
      "deals_filter_id": null,
      "projects_filter_id": null,
      "people_filter_id": null,
      "companies_filter_id": null,
      "company_time_filter_id": null,
      "invoices_filter_id": null,
      "budgets_filter_id": null,
      "expenses_filter_id": null,
      "bookings_filter_id": null,
      "payments_filter_id": null,
      "time_reports_filter_id": null,
      "profitability_reports_filter_id": null,
      "sales_reports_filter_id": null,
      "salary_reports_filter_id": null,
      "event_reports_filter_id": null,
      "time_entry_reports_filter_id": null,
      "booking_approvals_filter_id": null,
      "expense_approvals_filter_id": null,
      "time_approvals_filter_id": null
    },
    "relationships": {
      "tasks_favorite_filter": {
        "data": null
      },
      "deals_favorite_filter": {
        "data": null
      },
      "projects_favorite_filter": {
        "data": null
      },
      "people_favorite_filter": {
        "data": null
      },
      "companies_favorite_filter": {
        "data": null
      },
      "company_time_favorite_filter": {
        "data": null
      },
      "invoices_favorite_filter": {
        "data": null
      },
      "budgets_favorite_filter": {
        "data": null
      },
      "expenses_favorite_filter": {
        "data": null
      },
      "bookings_favorite_filter": {
        "data": null
      },
      "payments_favorite_filter": {
        "data": null
      },
      "time_reports_favorite_filter": {
        "data": null
      },
      "profitability_reports_favorite_filter": {
        "data": null
      },
      "sales_reports_favorite_filter": {
        "data": null
      },
      "salary_reports_favorite_filter": {
        "data": null
      },
      "event_reports_favorite_filter": {
        "data": null
      },
      "time_entry_reports_favorite_filter": {
        "data": null
      },
      "booking_approvals_favorite_filter": {
        "data": null
      },
      "expense_approvals_favorite_filter": {
        "data": null
      },
      "time_approvals_favorite_filter": {
        "data": null
      },
      "organization": {
        "data": {
          "type": "organizations",
          "id": "26"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "95"
        }
      },
      "user": {
        "data": {
          "type": "users",
          "id": "95"
        }
      },
      "organization_membership_counts": {
        "data": {
          "type": "organization_membership_counts",
          "id": "95"
        }
      },
      "timer": {
        "data": null
      }
    }
  },
  "included": [
    {
      "id": "26",
      "type": "organizations",
      "attributes": {
        "name": "Organization26",
        "time_reminder_id": 2,
        "time_reminder_at": 10,
        "time_reminder_condition": 100,
        "working_days": [],
        "working_hours": [
          8,
          8,
          8,
          8,
          8,
          0,
          0
        ],
        "man_day_minutes": 480,
        "organization_type_id": 1,
        "invitation_token": "d097b4f68f7db9cb231722c15d267cec",
        "due_days": 15,
        "email_key": "organization26",
        "addons": [
          "task_time_tracking",
          "time_entries_approval",
          "email_inbox",
          "project_boards",
          "invoicing",
          "subsidiaries",
          "overhead",
          "time_tracking_estimate",
          "sidebar",
          "beta_api",
          "autotracking",
          "expenses_approvals",
          "timeoff_approvals",
          "seat_based_pricing"
        ],
        "time_zone": null,
        "avatar_url": null,
        "onboarding_progress": null,
        "week_start_day_id": 3,
        "weight": 0.16666666666666666,
        "metrics": "eyJzb3VyY2UiOm51bGwsIm1lZGl1bSI6bnVsbCwiY2FtcGFpZ24iOm51bGwsImNvbnRlbnQiOm51bGx9",
        "erector_id": null,
        "sample_data_imported_at": null,
        "sample_data_reverted_at": null,
        "verified_at": "2021-04-15T01:02:49.000+02:00",
        "time_format_id": 1,
        "number_format_id": 1,
        "date_format_id": 1,
        "time_display_id": 1,
        "rounding_method_id": 1,
        "rounding_interval_id": null,
        "single_sign_on": false,
        "billing_email": null,
        "exchange_rate_provider_id": 1,
        "overhead_recalculation_day": 5,
        "overhead_amortization_period": 3,
        "expense_markup": 0,
        "deal_probability": 50,
        "limited_service_types": false,
        "decimal_places_id": 4,
        "analytics_uid": null,
        "currency_format_id": 1,
        "email_type_id": 1,
        "remove_branding": false,
        "email_domain_name": null,
        "email_local_name": null,
        "email_sender_name": null,
        "domain_verified": false,
        "allow_user_email": false,
        "revenue_recognition_type_id": 2,
        "currency": "USD",
        "currency_default": "USD",
        "currency_normalized": "USD",
        "facility_costs": 0,
        "facility_costs_default": 0,
        "facility_costs_normalized": 0
      },
      "relationships": {
        "owner": {
          "data": {
            "type": "people",
            "id": "95"
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "126"
          }
        },
        "organization_subscription": {
          "data": {
            "type": "organization_subscriptions",
            "id": "26"
          }
        }
      }
    },
    {
      "id": "95",
      "type": "people",
      "attributes": {
        "first_name": "test first name",
        "last_name": "test last name",
        "email": "user95@email.com",
        "title": null,
        "joined_at": null,
        "last_seen_at": null,
        "deactivated_at": null,
        "archived_at": null,
        "role_id": 1,
        "invited_at": null,
        "is_user": true,
        "user_id": 95,
        "tag_list": [],
        "avatar_url": null,
        "virtual": false,
        "custom_fields": null,
        "autotracking": false,
        "created_at": "2021-04-15T01:02:49.447+02:00",
        "placeholder": false,
        "color_id": null,
        "private_custom_reports_used": 0,
        "contact": {}
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 26
          }
        },
        "company": {
          "data": {
            "type": "companies",
            "id": "126"
          }
        },
        "subsidiary": {
          "data": null
        }
      }
    },
    {
      "id": "95",
      "type": "users",
      "attributes": {
        "email": "user95@email.com",
        "first_name": "test first name",
        "last_name": "test last name",
        "time_zone": null,
        "avatar_url": null,
        "default_organization_id": 26,
        "default_organization_slug": "26-organization26",
        "intercom_hash": "5f3d047fb8c0a9f2af8a42f24594ed276fa911df12e7c1fe95203464d03fc9da",
        "beta_features": [],
        "newsletter_consent": false,
        "newsletter_consent_at": null,
        "ical_token": null,
        "preferences": null,
        "sysadmin": false,
        "sysadmin_permissions": [],
        "two_factor_auth": false,
        "sso_provision": false,
        "account_access_expires_at": null
      }
    },
    {
      "id": "95",
      "type": "organization_membership_counts",
      "attributes": {
        "unseen_notifications_count": 0,
        "undismissed_notifications_count": 0,
        "time_entries_for_approval_count": 0,
        "expenses_for_approval_count": 0,
        "time_off_for_approval_count": 0
      }
    },
    {
      "id": "126",
      "type": "companies",
      "attributes": {
        "name": "Organization26",
        "billing_name": null,
        "vat": null,
        "default_currency": "USD",
        "created_at": "2021-04-15T01:02:49.445+02:00",
        "archived_at": null,
        "avatar_url": null,
        "invoice_email_recipients": {},
        "custom_fields": null,
        "description": null,
        "due_days": null,
        "tag_list": [],
        "contact": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 26
          }
        },
        "bill_to": {
          "data": null
        }
      }
    },
    {
      "id": "26",
      "type": "organization_subscriptions",
      "attributes": {
        "billing_email": null,
        "billing_address": null,
        "subscription_state_id": 1,
        "trial_ends_at": "2021-04-29 23:59:59",
        "subscription_ends_at": null,
        "next_billing_cycle_at": null,
        "grace_period_ends_at": null,
        "plan_price": 24,
        "discount": null,
        "discount_expires_on": null,
        "plan_cycle": "month",
        "current_plan": {
          "id": "premium",
          "name": "Premium",
          "type": "regular",
          "monthly_price_cents": 2400,
          "yearly_price_cents": 24000,
          "currency": "USD",
          "upgrades": [],
          "downgrades": [
            "standard"
          ],
          "tiers": [],
          "features": {
            "custom_fields": {
              "type": "metered",
              "limit": 15,
              "used": 0
            },
            "custom_fields_per_project": {
              "type": "metered",
              "limit": 10,
              "used": 0
            },
            "public_custom_reports": {
              "type": "metered",
              "limit": 100,
              "used": 0
            },
            "private_custom_reports": {
              "type": "metered",
              "limit": 30,
              "used": 0
            },
            "scheduling_placeholders": {
              "type": "metered",
              "limit": 5,
              "used": 0
            },
            "multigrouping": {
              "type": "switch",
              "available": true
            },
            "client_access_to_budgets": {
              "type": "switch",
              "available": true
            },
            "subsidiaries": {
              "type": "switch",
              "available": true
            },
            "time_approvals": {
              "type": "switch",
              "available": true
            },
            "expenses_approvals": {
              "type": "switch",
              "available": true
            },
            "timeoff_approvals": {
              "type": "switch",
              "available": true
            },
            "autotracking": {
              "type": "switch",
              "available": true
            },
            "forecasting": {
              "type": "switch",
              "available": true
            },
            "webhooks": {
              "type": "switch",
              "available": true
            },
            "table_pivoting": {
              "type": "switch",
              "available": true
            },
            "formula_fields": {
              "type": "switch",
              "available": true
            },
            "single_sign_on": {
              "type": "switch",
              "available": true
            },
            "duplicate_tasks": {
              "type": "switch",
              "available": true
            },
            "billable_time_rounding": {
              "type": "switch",
              "available": true
            },
            "payment_sync": {
              "type": "switch",
              "available": true
            },
            "booking_methods": {
              "type": "switch",
              "available": true
            },
            "import_tasks_csv": {
              "type": "switch",
              "available": true
            },
            "reactions": {
              "type": "switch",
              "available": true
            },
            "time_week_view": {
              "type": "switch",
              "available": true
            },
            "subtasks": {
              "type": "switch",
              "available": true
            },
            "time_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "theming": {
              "type": "switch",
              "available": true
            },
            "remove_branding": {
              "type": "switch",
              "available": true
            },
            "custom_invoicing_email": {
              "type": "switch",
              "available": true
            },
            "google_calendar_layout": {
              "type": "switch",
              "available": true
            },
            "pulse": {
              "type": "switch",
              "available": true
            }
          },
          "upgradeables": [],
          "downgradeables": [
            {
              "id": "standard",
              "name": "Standard",
              "type": "regular",
              "monthly_price_cents": 1500,
              "yearly_price_cents": 15000,
              "currency": "USD",
              "upgrades": [
                "premium"
              ],
              "downgrades": [],
              "tiers": [],
              "features": {
                "custom_fields": {
                  "type": "metered",
                  "limit": 3
                },
                "custom_fields_per_project": {
                  "type": "metered",
                  "limit": 1
                },
                "public_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "private_custom_reports": {
                  "type": "metered",
                  "limit": 10
                },
                "scheduling_placeholders": {
                  "type": "metered",
                  "limit": 0
                },
                "multigrouping": {
                  "type": "switch",
                  "available": false
                },
                "client_access_to_budgets": {
                  "type": "switch",
                  "available": false
                },
                "subsidiaries": {
                  "type": "switch",
                  "available": false
                },
                "time_approvals": {
                  "type": "switch",
                  "available": false
                },
                "expenses_approvals": {
                  "type": "switch",
                  "available": false
                },
                "timeoff_approvals": {
                  "type": "switch",
                  "available": false
                },
                "autotracking": {
                  "type": "switch",
                  "available": false
                },
                "forecasting": {
                  "type": "switch",
                  "available": false
                },
                "webhooks": {
                  "type": "switch",
                  "available": false
                },
                "table_pivoting": {
                  "type": "switch",
                  "available": false
                },
                "formula_fields": {
                  "type": "switch",
                  "available": false
                },
                "single_sign_on": {
                  "type": "switch",
                  "available": false
                },
                "duplicate_tasks": {
                  "type": "switch",
                  "available": true
                },
                "billable_time_rounding": {
                  "type": "switch",
                  "available": false
                },
                "payment_sync": {
                  "type": "switch",
                  "available": false
                },
                "booking_methods": {
                  "type": "switch",
                  "available": true
                },
                "import_tasks_csv": {
                  "type": "switch",
                  "available": true
                },
                "reactions": {
                  "type": "switch",
                  "available": true
                },
                "time_week_view": {
                  "type": "switch",
                  "available": true
                },
                "subtasks": {
                  "type": "switch",
                  "available": true
                },
                "time_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "theming": {
                  "type": "switch",
                  "available": true
                },
                "remove_branding": {
                  "type": "switch",
                  "available": false
                },
                "custom_invoicing_email": {
                  "type": "switch",
                  "available": false
                },
                "google_calendar_layout": {
                  "type": "switch",
                  "available": true
                },
                "pulse": {
                  "type": "switch",
                  "available": false
                }
              }
            }
          ]
        },
        "upgrades": [],
        "downgrades": [
          {
            "id": "standard",
            "name": "Standard",
            "type": "regular",
            "monthly_price_cents": 1500,
            "yearly_price_cents": 15000,
            "currency": "USD",
            "upgrades": [
              "premium"
            ],
            "downgrades": [],
            "tiers": [],
            "features": {
              "custom_fields": {
                "type": "metered",
                "limit": 3
              },
              "custom_fields_per_project": {
                "type": "metered",
                "limit": 1
              },
              "public_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "private_custom_reports": {
                "type": "metered",
                "limit": 10
              },
              "scheduling_placeholders": {
                "type": "metered",
                "limit": 0
              },
              "multigrouping": {
                "type": "switch",
                "available": false
              },
              "client_access_to_budgets": {
                "type": "switch",
                "available": false
              },
              "subsidiaries": {
                "type": "switch",
                "available": false
              },
              "time_approvals": {
                "type": "switch",
                "available": false
              },
              "expenses_approvals": {
                "type": "switch",
                "available": false
              },
              "timeoff_approvals": {
                "type": "switch",
                "available": false
              },
              "autotracking": {
                "type": "switch",
                "available": false
              },
              "forecasting": {
                "type": "switch",
                "available": false
              },
              "webhooks": {
                "type": "switch",
                "available": false
              },
              "table_pivoting": {
                "type": "switch",
                "available": false
              },
              "formula_fields": {
                "type": "switch",
                "available": false
              },
              "single_sign_on": {
                "type": "switch",
                "available": false
              },
              "duplicate_tasks": {
                "type": "switch",
                "available": true
              },
              "billable_time_rounding": {
                "type": "switch",
                "available": false
              },
              "payment_sync": {
                "type": "switch",
                "available": false
              },
              "booking_methods": {
                "type": "switch",
                "available": true
              },
              "import_tasks_csv": {
                "type": "switch",
                "available": true
              },
              "reactions": {
                "type": "switch",
                "available": true
              },
              "time_week_view": {
                "type": "switch",
                "available": true
              },
              "subtasks": {
                "type": "switch",
                "available": true
              },
              "time_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "theming": {
                "type": "switch",
                "available": true
              },
              "remove_branding": {
                "type": "switch",
                "available": false
              },
              "custom_invoicing_email": {
                "type": "switch",
                "available": false
              },
              "google_calendar_layout": {
                "type": "switch",
                "available": true
              },
              "pulse": {
                "type": "switch",
                "available": false
              }
            }
          }
        ],
        "plan_type": "premium",
        "payment_method_id": 1,
        "seats": 6,
        "seats_used": 6,
        "seats_pending": 6,
        "trial_plan_ends_at": null,
        "trial_plan_type": null,
        "card_brand": null,
        "card_last4": null,
        "card_month": null,
        "card_year": null,
        "stripe_customer_id": "cus_474RjipEtz2ff7",
        "balance": null
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": 26
          }
        }
      }
    }
  ],
  "meta": {
    "organization_features": {
      "custom_fields": {
        "type": "metered",
        "limit": 15,
        "used": 0
      },
      "custom_fields_per_project": {
        "type": "metered",
        "limit": 10,
        "used": 0
      },
      "public_custom_reports": {
        "type": "metered",
        "limit": 100,
        "used": 0
      },
      "private_custom_reports": {
        "type": "metered",
        "limit": 30,
        "used": 0
      },
      "scheduling_placeholders": {
        "type": "metered",
        "limit": 5,
        "used": 0
      },
      "multigrouping": {
        "type": "switch",
        "available": true
      },
      "client_access_to_budgets": {
        "type": "switch",
        "available": true
      },
      "subsidiaries": {
        "type": "switch",
        "available": true
      },
      "time_approvals": {
        "type": "switch",
        "available": true
      },
      "expenses_approvals": {
        "type": "switch",
        "available": true
      },
      "timeoff_approvals": {
        "type": "switch",
        "available": true
      },
      "autotracking": {
        "type": "switch",
        "available": true
      },
      "forecasting": {
        "type": "switch",
        "available": true
      },
      "webhooks": {
        "type": "switch",
        "available": true
      },
      "table_pivoting": {
        "type": "switch",
        "available": true
      },
      "formula_fields": {
        "type": "switch",
        "available": true
      },
      "single_sign_on": {
        "type": "switch",
        "available": true
      },
      "duplicate_tasks": {
        "type": "switch",
        "available": true
      },
      "billable_time_rounding": {
        "type": "switch",
        "available": true
      },
      "payment_sync": {
        "type": "switch",
        "available": true
      },
      "booking_methods": {
        "type": "switch",
        "available": true
      },
      "import_tasks_csv": {
        "type": "switch",
        "available": true
      },
      "reactions": {
        "type": "switch",
        "available": true
      },
      "time_week_view": {
        "type": "switch",
        "available": true
      },
      "subtasks": {
        "type": "switch",
        "available": true
      },
      "time_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "theming": {
        "type": "switch",
        "available": true
      },
      "remove_branding": {
        "type": "switch",
        "available": true
      },
      "custom_invoicing_email": {
        "type": "switch",
        "available": true
      },
      "google_calendar_layout": {
        "type": "switch",
        "available": true
      },
      "pulse": {
        "type": "switch",
        "available": true
      }
    },
    "settings": {}
  }
}

Clear notifications for organization membership
PATCH/api/v2/organization_memberships/{id}/clear_notifications

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


DELETE /api/v2/organization_memberships/1
Requestsdeactivates organization membership

DELETE  /api/v2/organization_memberships/108

Headers
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Content-Type: application/vnd.api+json
Responses204
This response has no content.

Destroy organization membership
DELETE/api/v2/organization_memberships/{id}

URI Parameters
HideShow
id
number (required) Example: 1

organization membership id


Generated by aglio on 14 Apr 2021