{
  "opencollection": "1.0.0",
  "info": {
    "name": "Skilljar Assets Domains > Users > Invites API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Domains > Users > Invites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "domains_users_invites_list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/domains/:domain_name/users/:user_id/invites",
            "params": [
              {
                "name": "domain_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "A page number within the paginated result set."
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve a list of all invitations for a specific user within a domain.\n\nReturns all invitations that have been created for the user in the specified domain, ordered by creation date."
        },
        {
          "info": {
            "name": "domains_users_invites_create",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/domains/:domain_name/users/:user_id/invites",
            "params": [
              {
                "name": "domain_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new invitation for a user to join a domain.\n\nSends an invitation email to the user unless `send_email` is set to `False`.\nThe user must already be a member of the domain before an invitation can be created."
        },
        {
          "info": {
            "name": "domains_users_invites_retrieve",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/domains/:domain_name/users/:user_id/invites/:domain_user_invite_id",
            "params": [
              {
                "name": "domain_name",
                "value": "",
                "type": "path"
              },
              {
                "name": "domain_user_invite_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "user_id",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve details for a specific domain user invitation.\n\nProvides detailed information about a single invitation sent to a user for domain membership."
        }
      ]
    }
  ],
  "bundled": true
}