{
    "invitee": {
        "company": "Sample Company Ltd",
        "department": "Marketing",
        "valueAddedTaxIDNumber": "DE 123456789",
        "jobTitle": "CTO",
        "salutation": "Mrs",
        "title": "Dr.",
        "firstName": "Jane",
        "lastName": "Doe",
        "email": "j.doe@samplecompany.com",
        "phone": "0049515498765402",
        "countryCode": "DE",
        "address": "Sample Street 98",
        "addressAdditional": "appartment B",
        "zipCode": "12345",
        "city": "Town upon river"
    },
    "portalId": "663538c523034a3be3e09236",
    "eventId": "663538c523034a3be3e09236",
    "ticketCategoryId": "1f6816e7-9ded-4b9e-9191-730c266f3878",
    "useDirectBooking": true
}curl --location --request POST 'https://api.cobra.de/v1/events/invitations' \
--header 'X-Integration-Name: API Documentation' \
--header 'X-Integration-Provider: cobra GmbH' \
--header 'X-Cobra-TenantId: 12e39e53-ece1-4d8d-8958-e782de1dbef0' \
--header 'X-Integration-Contact: info@cobra.de' \
--header 'Accept-Language: de' \
--header 'Content-Type: application/json' \
--data-raw '{
    "invitee": {
        "company": "Sample Company Ltd",
        "department": "Marketing",
        "valueAddedTaxIDNumber": "DE 123456789",
        "jobTitle": "CTO",
        "salutation": "Mrs",
        "title": "Dr.",
        "firstName": "Jane",
        "lastName": "Doe",
        "email": "j.doe@samplecompany.com",
        "phone": "0049515498765402",
        "countryCode": "DE",
        "address": "Sample Street 98",
        "addressAdditional": "appartment B",
        "zipCode": "12345",
        "city": "Town upon river"
    },
    "portalId": "663538c523034a3be3e09236",
    "eventId": "663538c523034a3be3e09236",
    "ticketCategoryId": "1f6816e7-9ded-4b9e-9191-730c266f3878",
    "useDirectBooking": true
}'{
    "data": {
        "id": "123456789012345678901234",
        "createdBy": "Username",
        "modifiedBy": "Username",
        "dateCreated": "2024-02-19T08:57:43.041Z",
        "dateModified": "2024-02-19T08:57:43.041Z",
        "createdByUserId": "c0316f28-4d2d-4c79-b5fc-bd25f2bca40c",
        "modifiedByUserId": "c0316f28-4d2d-4c79-b5fc-bd25f2bca40c",
        "invitee": {
            "company": "Sample Company Ltd",
            "department": "Marketing",
            "valueAddedTaxIDNumber": "DE 123456789",
            "jobTitle": "CTO",
            "salutation": "Mrs",
            "title": "Dr.",
            "firstName": "Jane",
            "lastName": "Doe",
            "email": "j.doe@samplecompany.com",
            "phone": "0049515498765402",
            "countryCode": "DE",
            "address": "Sample Street 98",
            "addressAdditional": "appartment B",
            "zipCode": "12345",
            "city": "Town upon river",
            "countryLocalized": "string",
            "name": "string"
        },
        "portalId": "663538c523034a3be3e09236",
        "eventId": "663538c523034a3be3e09236",
        "ticketCategoryId": "1f6816e7-9ded-4b9e-9191-730c266f3878",
        "useDirectBooking": true,
        "status": 0,
        "statusLocalized": "Eingeladen",
        "acceptLink": "https://ourdomain.unsere-events.de/webseminar-marketing/662f65c9181b5c06beb1fbc3/66017bc6af5bd94cfcde5faa",
        "rejectLink": "https://ourdomain.unsere-events.de/webseminar-marketing/662f65c9181b5c06beb1fbc3/absage/66017bc6af5bd94cfcde5faa/",
        "linksSuffix": "66017bc6af5bd94cfcde5faa",
        "registrationLink": "https://ourdomain.unsere-events.de/webseminar-marketing/662f65c9181b5c06beb1fbc3",
        "importFile": "ExportedAddressList.csv",
        "eventName": "Webseminar Marketing",
        "ticketCategoryName": "standard",
        "ticketCategoryDescription": "standard ticket, including lunch voucher",
        "portalHostname": "ourdomain.unsere-events.de",
        "invitationEmail": {
            "emailDateTime": "2024-02-19T08:57:43.041Z",
            "username": "Username",
            "userId": "c0316f28-4d2d-4c79-b5fc-bd25f2bca40c",
            "status": 0,
            "statusLocalized": "Email message sent successfully"
        }
    },
    "message": "string",
    "metaData": {
        "totalResults": 0,
        "responseTimeStamp": "2019-08-24T14:15:22Z"
    },
    "statusCode": 0
}