Members
The members of a workspace share its forms and their submissions. Each member has a role: the owner, the admins, who manage the workspace, and the members.
These endpoints need a key of all the forms. Inviting members and changing their role need the workspaceTeam feature of the plan: see Workspace.
The member object
- Name
id- Type
- string
- Description
The id of the member in the workspace.
- Name
email- Type
- string
- Description
The email address of the member.
- Name
firstName- Type
- string | null
- Description
The first name of the member;
nulluntil an invited member signs up.
- Name
lastName- Type
- string | null
- Description
The last name of the member.
- Name
role- Type
- string
- Description
owner,adminormember. See Authentication for what each role can do.
- Name
invitation- Type
- object | null
- Description
The invitation of the member;
nullfor the owner.validatedAtis when it was accepted (nullwhile it is pending),validUntilwhen it expires,sentAtwhen it was last sent andinvitedByUserIdwho sent it.
List all members
Returns the members of the workspace, and the pending invitations. The list is not paginated.
curl https://api.backmyform.com/v1/members \
-H "Authorization: Bearer $BACKMYFORM_API_KEY"Request
Response
[
{
"id": "1f0b2c55-0d1e-6f2a-9b3c-5d6e7f8a9b0c",
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Doe",
"role": "owner",
"invitation": null
},
{
"id": "1f0b2c55-1e2f-6a3b-8c4d-6e7f8a9b0c1d",
"email": "[email protected]",
"firstName": null,
"lastName": null,
"role": "member",
"invitation": {
"validatedAt": null,
"validUntil": "2026-12-04T09:00:00.000Z",
"sentAt": "2026-11-20T09:00:00.000Z",
"invitedByUserId": "1f0b2c4d-8e9a-6f13-a2b4-c6d8e0f1a2b3"
}
}
]Invite a member
Sends an invitation by email, valid for 14 days, and returns the invited member. Inviting a pending member again sends the invitation again. Needs the admin or owner role.
Required parameters
- Name
email- Type
- string
- Required
- required
- Description
The email address to invite.
- Name
role- Type
- string
- Required
- required
- Description
memberoradmin.
An address that already joined the workspace is refused with a 400 status and the resource_already_exists code.
curl https://api.backmyform.com/v1/members \
-H "Authorization: Bearer $BACKMYFORM_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "email": "[email protected]", "role": "member" }'Request
Response
{
"id": "1f0b2c55-1e2f-6a3b-8c4d-6e7f8a9b0c1d",
"email": "[email protected]",
"firstName": null,
"lastName": null,
"role": "member",
"invitation": {
"validatedAt": null,
"validUntil": "2026-12-04T09:00:00.000Z",
"sentAt": "2026-11-20T09:00:00.000Z",
"invitedByUserId": "1f0b2c4d-8e9a-6f13-a2b4-c6d8e0f1a2b3"
}
}Change the role of a member
Changes the role of a member, and returns the member. The owner's role can't change. Needs the admin or owner role.
A member made member loses their API keys: they are deleted, and the tools using them stop working.
Required parameters
- Name
role- Type
- string
- Required
- required
- Description
memberoradmin.
curl -X PUT https://api.backmyform.com/v1/members/1f0b2c55-1e2f-6a3b-8c4d-6e7f8a9b0c1d \
-H "Authorization: Bearer $BACKMYFORM_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "role": "admin" }'Request
Response
{
"id": "1f0b2c55-1e2f-6a3b-8c4d-6e7f8a9b0c1d",
"email": "[email protected]",
"role": "admin"
}Remove a member
Removes a member from the workspace, or cancels a pending invitation. The member's API keys are deleted. The owner can't be removed. Needs the admin or owner role.
curl -X DELETE https://api.backmyform.com/v1/members/1f0b2c55-1e2f-6a3b-8c4d-6e7f8a9b0c1d \
-H "Authorization: Bearer $BACKMYFORM_API_KEY"Request
Response
{}