List all members

Returns a list of your members.

Definition

GET https://coworkify.com/api/v1/spaces/{SPACE_ID}/members

Returns

A list of membership objects.

Example Request

$ curl https://coworkify.com/api/v1/spaces/077d8fab09b811e585b4705681ba8889/members \
   -H "X-Auth-Token: {YOUR_TOKEN}"

Example Response

{
  "success": {
    "memberships": [
      {
        "status": "active",
        "end_date": null,
        "name": "Bernardo Figeroa",
        "start_date": "2015-06-03",
        "charges": [],
        "billing_email": "bernardo@example.com",
        "company": null,
        "memo": null,
        "id": "0789dc4f09b811e5ab65705681ba8889",
        "customer_number": 10001,
        "last_invoice_date": null,
        "next_invoice_date": null,
        "plan": {
          "terms": null,
          "price": 200.0,
          "period": "month",
          "signup_fee": 0.0,
          "currency": "USD",
          "tax_rate": 0.0,
          "additional": 0.0,
          "name": "Regular",
          "notes": null,
          "deposit": 0.0,
          "options": [
            {
              "currency": "USD",
              "price": 20.0,
              "name": "Locker"
            }
          ],
          "tax_included": true
        },
        "member_id": "07888fb009b811e5aeed705681ba8889",
        "create_date": "2015-06-03T06:16:11",
        "space_id": "077d8fab09b811e585b4705681ba8889",
        "approved": true
      },
      {
        "status": "active",
        "end_date": null,
        "name": "Ammie Corrio",
        "start_date": "2015-06-03",
        "charges": [],
        "billing_email": "ammie@example.com",
        "company": null,
        "memo": null,
        "id": "07981da309b811e5ad93705681ba8889",
        "customer_number": 10002,
        "last_invoice_date": null,
        "next_invoice_date": null,
        "plan": {
          "terms": null,
          "price": 80.0,
          "period": "month",
          "signup_fee": 0.0,
          "currency": "USD",
          "tax_rate": 0.0,
          "additional": 0.0,
          "name": "Evening Only",
          "notes": null,
          "deposit": 0.0,
          "options": [],
          "tax_included": true
        },
        "member_id": "07974fd909b811e5beb2705681ba8889",
        "create_date": "2015-06-03T06:16:11",
        "space_id": "077d8fab09b811e585b4705681ba8889",
        "approved": true
      }
    ]
  }
}

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.