Add emails to forum access list.

Resource url

https://yourproject.userecho.com/api/v2/forums/[forum_id]/access_list.json

Parameters

Parameter Value Required? Default Options Description
emails List of Strings yes List of emails.
send_invitation Boolean no true Send invitation to new users.

Request example

{
    "emails": [
        "test@gmail.com",
        "@mycompany.com"
    ]
}

Response example

{
    "status": "success",
    "data": [
        {
            "invited": true,
            "added": true,
            "email": "test@gmail.com",
            "exists": false
        },
        {
            "invited": false,
            "added": true,
            "email": "@mycompany.com",
            "exists": false
        }
    ]
}
© 2024 Stamul, LLC. All rights reserved.