cURL
Invite with user ID
curl --request POST \ --url https://api.rownd.io/applications/{app}/groups/{group}/invites \ --header 'Content-Type: application/json' \ --header 'x-rownd-app-key: <api-key>' \ --header 'x-rownd-app-secret: <api-key>' \ --data '{ "user_id": "user_ofr5pgvof4w6o94hgjg0urjy", "roles": [ "admin" ], "redirect_url": "/somewhere/on/my/site#"}'
{ "link": "<string>", "invitation": { "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>" } }
Platform API for creating a group invite
The publishable key of your application credentials. (more details)
The private secret of your application credentials. (more details)
Rownd application ID
Group ID
Group invite created successfully
The response is of type object.
object