members.dev
Members

Create Member Bulk Action Job

Starts an async bulk member action (`send_pass` or `send_invite`). Returns a job id immediately; poll GET /members/actions/{job_id} for progress.

POST
/v1/members/actions

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

Members-Context?|

Members organization id (org_…) when the client has multiple organizations.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://api.members.dev/v1/members/actions" \  -H "Content-Type: application/json" \  -d '{    "member_ids": [      "string"    ]  }'
{
  "id": "string",
  "action": "send_pass",
  "status": "pending",
  "phase": "domain",
  "total_count": 0,
  "allocated_count": 0,
  "existing_pass_count": 0,
  "invite_created_count": 0,
  "skipped_count": 0,
  "failed_count": 0,
  "email_sent_count": 0,
  "email_failed_count": 0,
  "email_skipped_count": 0,
  "failure_reason": "string",
  "started_at": "string",
  "completed_at": "string",
  "failed_at": "string",
  "created_at": "string"
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}