---
title: Model: invitation
slug: opti-id/api/model-invitation
docTags: 
createdAt: 2026-10-01T19:58:50.958Z
---

### Code examples

```json
{
  "id": "",
  "createdBy": "",
  "sentDates": [
    ""
  ],
  "acceptedDate": "",
  "expirationDate": "",
  "revokedBy": "",
  "revokedDate": "",
  "created": "",
  "modified": "",
  "firstName": "",
  "lastName": "",
  "email": "",
  "organizationId": "",
  "organizationName": "",
  "requireAcceptance": false,
  "userGroups": [
    {
      "id": "",
      "name": ""
    }
  ],
  "properties": [
    {
      "name": "",
      "value": ""
    }
  ],
  "permissions": [
    {
      "instanceId": "",
      "instanceName": "",
      "instanceNickname": "",
      "navigationUrl": "",
      "region": "",
      "groupName": "",
      "groupId": "",
      "productId": "",
      "productName": "",
      "productType": "",
      "allowCustomerDefinedRoles": false,
      "hasUsageDashboard": false,
      "isService": false,
      "isHomeOrganization": false,
      "organizationName": "",
      "organizationId": "",
      "roles": [
        {
          "name": "",
          "id": "",
          "properties": [
            {
              "name": "",
              "value": ""
            }
          ],
          "attributes": [
            {
              "id": "",
              "key": "",
              "values": [
                ""
              ],
              "instanceId": "",
              "type": "",
              "name": "",
              "description": "",
              "productId": "",
              "isActive": false,
              "created": "",
              "modified": "",
              "links": [
                {
                  "rel": "",
                  "href": ""
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "reasonForAccess": ""
}
```
