Get Started
- Authentication
App-Scoped Endpoints
- Groups
- Group Invitations
- Group Members
- Magic Links
- OpenID Clients
- User Profiles
- User Sessions
User-Scoped Endpoints
- Groups
- Group Invitations
- Group Members
- User Profiles
List group invites
User-facing API for listing group invites
curl --request GET \
--url https://api.rownd.io/me/groups/{group}/invites \
--header 'Authorization: Bearer <token>'
{
"total_results": 123,
"results": [
{
"id": "c92kd7td7z4myhu7z5y637cp",
"group_id": "group_zjca79svvbqfeilwr8httcal",
"roles": [
"editor"
],
"state": "pending",
"email": "randy@foo.com",
"phone": 19199993333,
"user_id": "user_mni5316glfgwtgljboxrv2it",
"user_lookup_value": "randy@foo.com",
"redirect_url": "/somewhere/on/my/site#",
"app_variant_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "user_t6ftnnmw55pamuhfo9xvw0yl",
"accepted_by": "user_vgzrk03xpenj6td8vwi9crh4",
"ensured_user_id": "<string>"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
where <token>
is the user's Rownd JWT
Path Parameters
Group ID
Response
The roles into which a group member will be added upon invite acceptance (The first member invited to a group will always be created with the 'owner' role along with any additional roles specified)
["editor"]
The group invite ID
"c92kd7td7z4myhu7z5y637cp"
The group ID
"group_zjca79svvbqfeilwr8httcal"
The state of the invite
pending
, accepted
, rejected
The email of a Rownd user in the specified application. This property is mutually exclusive
with user_id
and email
"randy@foo.com"
The phone number of a Rownd user in the specified application. This property is mutually
exclusive with user_id
and email
19199993333
The ID of a Rownd user in the specified application. This property is mutually exclusive with
phone
and email
"user_mni5316glfgwtgljboxrv2it"
The email or phone number specified during creation
"randy@foo.com"
The relative or absolute path location to which a user will be directed after accepting the invite
"/somewhere/on/my/site#"
The ID of an application variant for which this invite should be created. When a user accepts this invite, they will be added to the group as a member and signed into this application variant. (Learn about variants here)
The ISO 8601 date-time that the resource was created
The ID of the user that created the resource
"user_t6ftnnmw55pamuhfo9xvw0yl"
The ID of the user that accepted the invite
"user_vgzrk03xpenj6td8vwi9crh4"
The ID of the user ensured by the provided user_id
or user_lookup_value
curl --request GET \
--url https://api.rownd.io/me/groups/{group}/invites \
--header 'Authorization: Bearer <token>'
{
"total_results": 123,
"results": [
{
"id": "c92kd7td7z4myhu7z5y637cp",
"group_id": "group_zjca79svvbqfeilwr8httcal",
"roles": [
"editor"
],
"state": "pending",
"email": "randy@foo.com",
"phone": 19199993333,
"user_id": "user_mni5316glfgwtgljboxrv2it",
"user_lookup_value": "randy@foo.com",
"redirect_url": "/somewhere/on/my/site#",
"app_variant_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "user_t6ftnnmw55pamuhfo9xvw0yl",
"accepted_by": "user_vgzrk03xpenj6td8vwi9crh4",
"ensured_user_id": "<string>"
}
]
}