Network Resource

A network is a group of people, licensed under the same subscription, identified by a unique name, subdomain and/or emblem.

Changelog

1.0.2
  • Added numAdminAlerts metadata.
1.0.3
  • Added Network theme for branding purposes.
1.0.4
  • Added language property.
  • Added theme.loginBackgroundUrls property.
1.0.9
  • Added emailDeliveryFormat property.
1.0.5
  • Added member metadata.
1.0.11
  • Added numUnreadAlertsCoalesced property.
1.0.13
  • Added marketEnabled property.
  • Added rootFolder relation.
1.0.23
  • Added hasExternalMembers property.
1.1
  • Added theme.groupHeaderBackgroundUrl and theme.userHeaderBackgroundUrl properties.
1.2
  • Added _user.accessPreconditions property.
  • Added endpoint to accept Terms of Service.
1.3.5
  • Added defaultPrimaryEmailPrivacySetting property.
1.4.7
  • Added speakapDomain property.
  • Added baseUrl property.
  • Added host-info relation.
1.5.5
  • Added appDistributorEnabled property.
1.5.7
  • Added whitelabelApps relation.
1.7.4
  • Multiple themes have been introduced. Network theme management moved to separate resource.

Endpoints

Representations

JSON Properties

NameTypeDescription
baseUrlstringBase URL to the network document root, for example: "https://mycompany.speakap.com/"
conditionsAcceptedbooleanWhether or not the Speakap terms & conditions have been accepted
createdbooleanRead-only Date the network was created (ISO 8601 compliant)
defaultPrimaryEmailPrivacySettingstringSince 1.3.5 Default visibility setting of a user's primary email address:only_me or network
descriptionstringDescription
EIDEIDUnique entity identifier
emailDeliveryFormatstringSince 1.0.9 Delivery format of outbound emails: plain_textrich_html or multi_text_html
emblemThumbnailUrlURIFile URL to network emblem or logo graphic
hasExternalMembersbooleanSince 1.0.23 Read-only Whether external users are member of the network
languagestringSince 1.0.4 Network-wide (default) language (RFC 5646)
marketEnabledbooleanSince 1.0.13 Read-only Whether or not the Speakap application Market is enabled for this network
namestringNetwork name
speakapDomainstringRead-only Domain where the network resides (e.g., speakap.com)
subdomainstringRead-only Subdomain
subscriptionobjectSpeakap subscription details
subscription.sincedatetimeDate when the network was created (ISO 8601 compliant)
subscription.typestringSubscription type: freepremium or enterprise
themeobjectSince 1.0.3 Branding preferences
Since 1.7.4 Read-only Network theme resource
typestring"network"
welcomeMessagestringWelcome message for network users
customAgreementEnabledbooleanSince 1.6.5 Read-only Feature flag: whether Terms And Conditions feature enabled for this network
legalSettingsEnabledbooleanSince 1.7.1 Read-only Feature flag: whether Privacy Statement and Legal Notice features enabled for this network
termsAndConditionsEnabledbooleanSince 1.7.1 Whether Terms and Conditions enabled
privacyStatementEnabledbooleanSince 1.7.1 Whether Privacy Statement enabled
legalNoticeEnabledbooleanSince 1.7.1 Whether Legal Notice enabled
termsobjectSince 1.6.5 Terms And Conditions object
terms.versionstringSince 1.6.5 Read-only Terms And Conditions version
terms.namestringSince 1.6.5 Terms And Conditions name
terms.bodystringSince 1.6.5 Terms And Conditions html body
terms.urlstringSince 1.6.5 Read-only Terms And Conditions public url
terms.acceptRequiredbooleanSince 1.6.5 Write-only Whether current user must accept this version of Terms And Conditions
privacyStatementobjectSince 1.7.1 Privacy Statement object
privacyStatement.versionstringSince 1.7.1 Read-only Privacy Statement version
privacyStatement.namestringSince 1.7.1 Privacy Statement name
privacyStatement.bodystringSince 1.7.1 Privacy Statement html body
privacyStatement.urlstringSince 1.7.1 Read-only Privacy Statement public url
privacyStatement.acceptRequiredbooleanSince 1.7.1 Write-only Whether current user must accept this version of Privacy Statement
legalNoticeobjectSince 1.7.1 Legal Notice object
legalNotice.namestringSince 1.7.1 Legal Notice name
legalNotice.bodystringSince 1.7.1 Legal Notice html body
legalNotice.urlstringSince 1.7.1 Read-only Legal Notice public url
RelationPathDescription
apps/appsApplications installed on the network
emblem/messagesFile message containing the network's emblem
hostInfo/host-infoList of base URLs client's should use for this network
rootFolder/messagesRoot folder
whitelabelApps/appsSince 1.5.7 Collection of white label apps connected to the network

End-user Metadata (read-only)

NameTypeDescription
numAdminAlertsintegerSince 1.0.2 Number of alerts the user has not yet responded to
numUnreadAlertsintegerNumber of unread alerts
numUnreadAlertsCoalescedintegerSince 1.0.11 Number of unread alerts after coalescing
numUnreadConversationsintegerNumber of unread conversations
numUnreadNewsItemsintegerNumber of unread news items
memberbooleanSince 1.0.5 Whether the logged in user is member of the network
permissionsstringList of permissions the logged in user has in this network
profileEIDEIDUnique entity identifier of the network profile of the logged in user
accessPreconditionsarraySince 1.2 Zero or more preconditions that have not been met and prevent full access to Speakap and its API

Access preconditions

NameTypeDescription
typestringactivate_accountaccept_network_invitationaccept_privacy_statementaccept_terms_of_servicecomplete_network_registrationreset_temporary_password
urlURIArbitrary URL where more information on the precondition can be found
dataobjectAny data specific to the precondition
data.privacyStatementUrlstringURL to the Privacy Statement
data.privacyStatementVersionstringPrivacy Statement version number
data.privacyStatementNamestringCustom name of the Privacy Statement
data.termsOfUseUrlstringURL to the Terms of Use
data.termsOfUseVersionstringTerms of Use version number
data.invitationTypestringemail or printable

Example

{
    "_links": {
        "self": {
            "href": "/networks/1234567890abcdef/"
        },
        "apps": {
            "href": "/networks/1234567890abcdef/apps/"
        },
        "emblem": {
            "href": "/networks/1234567890abcdef/messages/abcdef0123456789/"
        },
        "hostInfo": {
            "href": "/host-info/?network=1234567890abcdef"
        },
        "rootFolder": {
            "href": "/networks/1234567890abcdef/messages/abcdef9876543210/"
        },
        "whitelabelApps": [
            {
                "href": "/networks/1234567890abcdef/messages/a1b2c3d4e5f67890/",
                "name": "TeamConnect Talk"
            }
        ]
    },
    "_user": {
        "profileEID": "0a1b2c3d4e5f6789",
        "member": true,
        "numAdminAlerts": 4,
        "numUnreadAlerts": 0,
        "numUnreadAlertsCoalesced": 0,
        "numUnreadConversations": 2,
        "numUnreadNewsItems": 0,
        "permissions": "edit_network,edit_network_settings,delete_message,post_news,post_to_network",
        "accessPreconditions": [{
            "type": "accept_terms_of_use",
            "url": "https://www.speakap.com/blog/",
            "data": {
                "privacyStatementUrl": "https://www.speakap.com/privacy-statement/privacy-statement-us.html",
                "privacyStatementVersion": "1.0",
                "termsOfUseUrl": "https://www.speakap.com/privacy-statement/terms-of-use-us.html",
                "termsOfUseVersion": "1.0"
            }
        }]
    },
    "EID": "1234567890abcdef",
    "conditionsAccepted": true,
    "name": "Acme Inc.",
    "subdomain": "acme",
    "marketEnabled": false,
    "description": "Speakap network for Acme Incorporated",
    "welcomeMessage": "Welcome to our network!",
    "emblemUrl": "http://vault.speakap.com/file/1234567890abcdef",
    "subscription": {
        "type": "free",
        "since": "2013-04-11T13:35:07.123+01:00"
    },
    "theme": {
        "buttonColor": "#FF0000",
        "headerColor": "#00FF00",
        "linkColor": "#0000FF",
        "backgroundUrl": "https://www.speakap.com/img/backg/default2.png",
        "loginBackgroundUrls": [ ],
        "groupHeaderBackgroundUrl": "https://www.speakap.com/img/profile-header.jpg",
        "userHeaderBackgroundUrl": "https://www.speakap.com/img/profile-header.png"
    },
    "language": "en",
    "emailDeliveryFormat": "rich_html",
    "appDistributorEnabled": false,
    "legalSettingsEnabled": true,
    "customAgreementEnabled": true,
    "termsAndConditionsEnabled": true,
    "privacyStatementEnabled": true,
    "legalNoticeEnabled": true,
    "terms": {
        "version": "1.0",
        "name": "Acme Terms and Conditions",
        "url": "https://acme.speakap.com/terms_and_conditions"
    },
    "privacyStatement": {
        "version": "1.0",
        "name": "Acme Privacy Statement",
        "url": "https://acme.speakap.com/privacy_statement"
    },
    "legalNotice": {
        "name": "Acme Legal Notice",
        "url": "https://acme.speakap.com/legal_notice"
    }
}