Create an invitation for a hub user

Supported Formats

json

Errors

Code Description
400 Bad Request: body has wrong syntax or unable to handle request
401 Unauthorized: auth_token omitted or authentication failed
403 Forbidden: This action cannot be performed
404 Not Found: The requested resource could not be found
406 Not Acceptable: Accept or Content-Type headers must be application/json, text/csv or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

Examples

REQUEST
Content-Type: application/json
{
  "email": "vbot@example.com"
}

RESPONSE
201 (Created)
{
  "invitation_url": "http://myhub.hubs.vidyard.com/invitation/accept?email=vbot%40example.com&invitation_token=6e1e8d9c497ab390d0141d3601219b9ed5111bb6f4b338a7c86c118b02aca8dd",
  "hub_user": {
    "email": "vbot@example.com",
    "id": 71,
    "invitation_accepted": false,
    "created_at": 1400695130,
    "updated_at": 1400695130
  }
}

Params

Param name Description
auth_token
optional

API token needed to authorize requests
This can appear as an attribute in the body of the request or the query parameters on the URL

Validations:

  • Must be a String

email
required

email used to sign in

Validations:

  • Must be a String