Skip to main content
POST
/
createmembers
Create Member
curl --request POST \
  --url https://api.example.com/createmembers \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstname": "<string>",
  "lastname": "<string>",
  "email": "<string>",
  "chapter_id": 123,
  "membertype_id": 123,
  "phone": "<string>"
}
'
{
  "status": "success",
  "data": {
    "id": 42,
    "firstname": "Jane",
    "lastname": "Smith",
    "email": "jane@example.com",
    "chapter_id": 1,
    "membertype_id": 1,
    "status": "pending",
    "createddate": "2025-06-01T12:00:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.transparencyhubnetwork.ai/llms.txt

Use this file to discover all available pages before exploring further.

Request Body

firstname
string
required
Member’s first name.
lastname
string
required
Member’s last name.
email
string
required
Member’s email address.
chapter_id
integer
required
Chapter to add the member to.
membertype_id
integer
required
Membership type ID.
phone
string
Phone number.

Response

{
  "status": "success",
  "data": {
    "id": 42,
    "firstname": "Jane",
    "lastname": "Smith",
    "email": "jane@example.com",
    "chapter_id": 1,
    "membertype_id": 1,
    "status": "pending",
    "createddate": "2025-06-01T12:00:00Z"
  }
}