To use the PartnerPortal.io API, you will need a valid access token. To obtain this, please use the provided Client ID and Client Secret, going through the standard OAuth 2.0 flow.
| resourceId required | string |
| companyId required | string |
{- "data": {
- "maxAttempts": { },
- "resourceId": "string",
- "questions": [
- {
- "id": "string",
- "text": "string",
- "type": "multiple",
- "choices": [
- {
- "id": "string",
- "text": "string",
- "order": 0,
- "isCorrect": true
}
], - "order": 0
}
], - "passingPercent": 0,
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| resourceId required | string |
| companyId required | string |
null or number | |
Array of objects | |
| passingPercent | number |
{- "maxAttempts": { },
- "questions": [
- {
- "id": "string",
- "text": "string",
- "type": "multiple",
- "choices": [
- {
- "id": "string",
- "text": "string",
- "order": 0,
- "isCorrect": true
}
], - "order": 0
}
], - "passingPercent": 0
}{- "data": {
- "maxAttempts": { },
- "resourceId": "string",
- "questions": [
- {
- "id": "string",
- "text": "string",
- "type": "multiple",
- "choices": [
- {
- "id": "string",
- "text": "string",
- "order": 0,
- "isCorrect": true
}
], - "order": 0
}
], - "passingPercent": 0,
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| partnerOrganizationId required | string |
| termsAcceptanceId required | string |
| companyId required | string |
{- "data": {
- "groupId": "string",
- "acceptedByAccountId": "string",
- "acceptedByFirstName": { },
- "partnerOrganizationId": "string",
- "userAgent": "string",
- "termsSnapshot": { },
- "groupName": { },
- "termsVersion": 0,
- "acceptedByEmail": { },
- "scope": "company",
- "acceptedByLastName": { },
- "id": "string",
- "acceptedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| customFieldValue | string |
string | |
| limit | string |
| skip | string |
| customFieldId | string |
{- "data": [
- {
- "lastName": "string",
- "agentId": { },
- "notes": { },
- "companyName": { },
- "phaseId": { },
- "partnerOrganizationId": { },
- "submissionDate": "2019-08-24T14:15:22Z",
- "totalCommission": { },
- "platform": { },
- "closeDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "companyId": { },
- "revenue": { },
- "phone": { },
- "websiteUrl": { },
- "commissionPercent": { },
- "lockCommissionPercent": { },
- "id": "string",
- "value": { },
- "email": { },
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| lastName required | string |
null or string | |
null or string | |
object or null | |
null or string | |
null or string | |
null or string The lead's Type as the portal labels it. Whether it is required is decided by the portal's
Type lead field (the | |
string or null | |
| firstName required | string |
null or string | |
null or string | |
null or number | |
null or string |
{- "lastName": "string",
- "agentId": { },
- "notes": { },
- "customFields": { },
- "companyName": { },
- "partnerOrganizationId": { },
- "platform": { },
- "closeDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "phone": { },
- "websiteUrl": { },
- "value": { },
- "email": { }
}{- "data": {
- "lastName": "string",
- "agentId": { },
- "notes": { },
- "companyName": { },
- "phaseId": { },
- "partnerOrganizationId": { },
- "submissionDate": "2019-08-24T14:15:22Z",
- "totalCommission": { },
- "platform": { },
- "closeDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "companyId": { },
- "revenue": { },
- "phone": { },
- "websiteUrl": { },
- "commissionPercent": { },
- "lockCommissionPercent": { },
- "id": "string",
- "value": { },
- "email": { },
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| partnerOrganizationId required | string |
| companyId required | string |
| status | string |
string | |
| type | string |
{- "data": [
- {
- "createdAt": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "phone": { },
- "partnerOrganizationId": { },
- "id": "string",
- "type": "admin",
- "email": "string",
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "context": {
- "requestId": "string"
}, - "status": 0
}| partnerOrganizationId required | string |
| companyId required | string |
| firstName required | string |
| lastName required | string |
| phone | string |
| email required | string |
{- "firstName": "string",
- "lastName": "string",
- "phone": "string",
- "email": "string"
}{- "data": {
- "createdAt": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "lastName": "string",
- "phone": { },
- "partnerOrganizationId": { },
- "id": "string",
- "type": "admin",
- "email": "string",
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| partnerOrganizationId required | string |
| companyId required | string |
{- "data": [
- {
- "groupName": { },
- "termsVersion": 0,
- "acceptedByEmail": { },
- "scope": "company",
- "groupId": "string",
- "acceptedByAccountId": "string",
- "acceptedByFirstName": { },
- "acceptedByLastName": { },
- "partnerOrganizationId": "string",
- "userAgent": "string",
- "id": "string",
- "acceptedAt": "string"
}
], - "context": {
- "requestId": "string"
}, - "status": 0
}| slotId required | string |
| companyId required | string |
{- "data": {
- "createdAt": "string",
- "fileName": "string",
- "size": 0,
- "public": true,
- "purpose": "attachment",
- "id": "string",
- "contentType": "string",
- "url": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| fileName required | string |
| purpose required | string Enum: "attachment" "image" |
{- "fileName": "string",
- "purpose": "attachment"
}{- "data": {
- "fileName": "string",
- "purpose": "attachment",
- "upload": {
- "fields": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}, - "slotId": "string",
- "maxBytes": 0,
- "contentType": "string",
- "expiresAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| partnerOrganizationId required | string |
| companyId required | string |
{- "data": {
- "commissionFlat": { },
- "externalVendorId": { },
- "apVendorEmail": { },
- "address": {
- "country": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "line2": "string",
- "line1": "string"
}, - "companyName": { },
- "flags": {
- "reseller": true
}, - "acceptedGroupTermsVersion": { },
- "paypalEmail": { },
- "accountManagerAccountId": { },
- "apVendorName": { },
- "commissionType": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "companyId": { },
- "tierId": { },
- "domain": { },
- "commissionDuration": { },
- "commissionPercent": { },
- "acceptedTermsVersion": { },
- "id": "string",
- "totalRevenue": { },
- "partnerType": "company",
- "termsAcceptedAt": "2019-08-24T14:15:22Z",
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| status | string |
{- "data": [
- {
- "pinned": true,
- "thumbnail": {
- "id": "string",
- "url": "string"
}, - "visibility": "all",
- "selectedPartnerOrganizationIds": [
- "string"
], - "display": true,
- "pinnedRank": { },
- "authorAccountId": { },
- "title": { },
- "body": "string",
- "createdAt": "string",
- "companyId": "string",
- "visibleToTeam": true,
- "id": "string",
- "sendNotifications": true,
- "excerpt": { },
- "selectedPartnerGroupIds": [
- "string"
], - "showOnAnnouncementsPage": true,
- "status": "draft",
- "updatedAt": "string"
}
], - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| pinned | boolean |
| visibility | string Enum: "all" "none" "select-partner-groups" "select-partners" |
| selectedPartnerOrganizationIds | Array of strings |
| display | boolean |
| pinnedRank | number |
| title required | string |
| body required | string Body HTML conventions (plan D9). The server cleans every body on save and keeps: formatting,
headings, lists, tables, links, images with absolute http(s) sources, the allowed style
properties, and iframes from the supported video hosts. Anything else is dropped silently, which
is why every write returns the stored body. The two editor inserts are plain anchors:
a button is |
| visibleToTeam | boolean |
| sendNotifications | boolean |
| excerpt | string |
| thumbnailAssetId | string |
| selectedPartnerGroupIds | Array of strings |
| showOnAnnouncementsPage | boolean |
| status | string Enum: "draft" "published" |
{- "pinned": true,
- "visibility": "all",
- "selectedPartnerOrganizationIds": [
- "string"
], - "display": true,
- "pinnedRank": 0,
- "title": "string",
- "body": "string",
- "visibleToTeam": true,
- "sendNotifications": true,
- "excerpt": "string",
- "thumbnailAssetId": "string",
- "selectedPartnerGroupIds": [
- "string"
], - "showOnAnnouncementsPage": true,
- "status": "draft"
}{- "data": {
- "pinned": true,
- "thumbnail": {
- "id": "string",
- "url": "string"
}, - "visibility": "all",
- "selectedPartnerOrganizationIds": [
- "string"
], - "display": true,
- "pinnedRank": { },
- "authorAccountId": { },
- "published": true,
- "title": { },
- "body": "string",
- "createdAt": "string",
- "companyId": "string",
- "visibleToTeam": true,
- "notificationsSent": true,
- "id": "string",
- "sendNotifications": true,
- "excerpt": { },
- "selectedPartnerGroupIds": [
- "string"
], - "showOnAnnouncementsPage": true,
- "status": "draft",
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| announcementId required | string |
| companyId required | string |
{- "data": {
- "pinned": true,
- "thumbnail": {
- "id": "string",
- "url": "string"
}, - "visibility": "all",
- "selectedPartnerOrganizationIds": [
- "string"
], - "display": true,
- "pinnedRank": { },
- "authorAccountId": { },
- "title": { },
- "body": "string",
- "createdAt": "string",
- "companyId": "string",
- "visibleToTeam": true,
- "id": "string",
- "sendNotifications": true,
- "excerpt": { },
- "selectedPartnerGroupIds": [
- "string"
], - "showOnAnnouncementsPage": true,
- "status": "draft",
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| announcementId required | string |
| companyId required | string |
| pinned | boolean |
| visibility | string Enum: "all" "none" "select-partner-groups" "select-partners" |
| selectedPartnerOrganizationIds | Array of strings |
| display | boolean |
| pinnedRank | number |
| title | string |
| body | string Body HTML conventions (plan D9). The server cleans every body on save and keeps: formatting,
headings, lists, tables, links, images with absolute http(s) sources, the allowed style
properties, and iframes from the supported video hosts. Anything else is dropped silently, which
is why every write returns the stored body. The two editor inserts are plain anchors:
a button is |
| visibleToTeam | boolean |
| sendNotifications | boolean |
| excerpt | string |
null or string | |
| selectedPartnerGroupIds | Array of strings |
| showOnAnnouncementsPage | boolean |
| status | string Enum: "draft" "published" |
{- "pinned": true,
- "visibility": "all",
- "selectedPartnerOrganizationIds": [
- "string"
], - "display": true,
- "pinnedRank": 0,
- "title": "string",
- "body": "string",
- "visibleToTeam": true,
- "sendNotifications": true,
- "excerpt": "string",
- "thumbnailAssetId": { },
- "selectedPartnerGroupIds": [
- "string"
], - "showOnAnnouncementsPage": true,
- "status": "draft"
}{- "data": {
- "pinned": true,
- "thumbnail": {
- "id": "string",
- "url": "string"
}, - "visibility": "all",
- "selectedPartnerOrganizationIds": [
- "string"
], - "display": true,
- "pinnedRank": { },
- "authorAccountId": { },
- "published": true,
- "title": { },
- "body": "string",
- "createdAt": "string",
- "companyId": "string",
- "visibleToTeam": true,
- "notificationsSent": true,
- "id": "string",
- "sendNotifications": true,
- "excerpt": { },
- "selectedPartnerGroupIds": [
- "string"
], - "showOnAnnouncementsPage": true,
- "status": "draft",
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| object required | string |
| companyId required | string |
{- "data": {
- "schema": {
- "unifiedFields": [
- {
- "displayType": "input",
- "isStandardField": true,
- "flags": {
- "updateable": true,
- "creatable": true
}, - "label": "string",
- "type": "string",
- "required": true,
- "order": 0,
- "fieldId": "string"
}
], - "standardFields": { },
- "customFields": { },
- "type": "object",
- "object": "string"
}
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| categoryId required | string |
| companyId required | string |
{- "data": {
- "pinned": true,
- "visibleToPartners": true,
- "welcomeMessage": { },
- "pinnedRank": { },
- "warnings": [
- "string"
], - "description": { },
- "type": "course",
- "createdAt": "string",
- "companyId": "string",
- "groupIds": [
- "string"
], - "name": "string",
- "completionMessage": { },
- "partnerOrganizationIds": [
- "string"
], - "id": "string",
- "lessons": [
- {
- "name": "string",
- "id": "string",
- "type": "string",
- "order": 0
}
], - "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| categoryId required | string |
| companyId required | string |
| pinned | boolean |
| welcomeMessage | string Body HTML conventions (plan D9). The server cleans every body on save and keeps: formatting,
headings, lists, tables, links, images with absolute http(s) sources, the allowed style
properties, and iframes from the supported video hosts. Anything else is dropped silently, which
is why every write returns the stored body. The two editor inserts are plain anchors:
a button is |
| pinnedRank | number |
| groupIds | Array of strings |
| name | string |
| description | string |
| completionMessage | string Body HTML conventions (plan D9). The server cleans every body on save and keeps: formatting,
headings, lists, tables, links, images with absolute http(s) sources, the allowed style
properties, and iframes from the supported video hosts. Anything else is dropped silently, which
is why every write returns the stored body. The two editor inserts are plain anchors:
a button is |
| partnerOrganizationIds | Array of strings |
{- "pinned": true,
- "welcomeMessage": "string",
- "pinnedRank": 0,
- "groupIds": [
- "string"
], - "name": "string",
- "description": "string",
- "completionMessage": "string",
- "partnerOrganizationIds": [
- "string"
]
}{- "data": {
- "pinned": true,
- "visibleToPartners": true,
- "welcomeMessage": { },
- "pinnedRank": { },
- "warnings": [
- "string"
], - "description": { },
- "type": "course",
- "createdAt": "string",
- "companyId": "string",
- "groupIds": [
- "string"
], - "name": "string",
- "completionMessage": { },
- "partnerOrganizationIds": [
- "string"
], - "id": "string",
- "lessons": [
- {
- "name": "string",
- "id": "string",
- "type": "string",
- "order": 0
}
], - "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| leadId required | string |
| companyId required | string |
| message required | string |
{- "message": "string"
}{- "data": {
- "accountId": "string",
- "itemId": "string",
- "createdAt": "string",
- "itemType": "string",
- "id": "string",
- "message": "string",
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| leadId required | string |
| companyId required | string |
{- "data": {
- "lastName": "string",
- "agentId": { },
- "notes": { },
- "companyName": { },
- "phaseId": { },
- "partnerOrganizationId": { },
- "submissionDate": "2019-08-24T14:15:22Z",
- "totalCommission": { },
- "platform": { },
- "closeDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "companyId": { },
- "revenue": { },
- "phone": { },
- "websiteUrl": { },
- "commissionPercent": { },
- "lockCommissionPercent": { },
- "id": "string",
- "value": { },
- "email": { },
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| leadId required | string |
| companyId required | string |
| lastName | string |
null or string | |
null or string | |
object or null | |
null or string | |
null or string | |
null or string | |
null or string The lead's Type as the portal labels it. Whether it is required is decided by the portal's
Type lead field (the | |
string or null | |
| firstName | string |
null or string | |
null or string | |
null or number | |
null or string |
{- "lastName": "string",
- "agentId": { },
- "notes": { },
- "customFields": { },
- "companyName": { },
- "phaseId": { },
- "partnerOrganizationId": { },
- "platform": { },
- "closeDate": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "phone": { },
- "websiteUrl": { },
- "value": { },
- "email": { }
}{- "data": {
- "lastName": "string",
- "agentId": { },
- "notes": { },
- "companyName": { },
- "phaseId": { },
- "partnerOrganizationId": { },
- "submissionDate": "2019-08-24T14:15:22Z",
- "totalCommission": { },
- "platform": { },
- "closeDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "firstName": "string",
- "companyId": { },
- "revenue": { },
- "phone": { },
- "websiteUrl": { },
- "commissionPercent": { },
- "lockCommissionPercent": { },
- "id": "string",
- "value": { },
- "email": { },
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| categoryId required | string |
| companyId required | string |
| resourceIds required | Array of strings |
{- "resourceIds": [
- "string"
]
}{- "data": {
- "pinned": true,
- "visibleToPartners": true,
- "welcomeMessage": { },
- "pinnedRank": { },
- "warnings": [
- "string"
], - "description": { },
- "type": "course",
- "createdAt": "string",
- "companyId": "string",
- "groupIds": [
- "string"
], - "name": "string",
- "completionMessage": { },
- "partnerOrganizationIds": [
- "string"
], - "id": "string",
- "lessons": [
- {
- "name": "string",
- "id": "string",
- "type": "string",
- "order": 0
}
], - "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| domain | string |
string |
{- "data": [
- {
- "commissionFlat": { },
- "externalVendorId": { },
- "apVendorEmail": { },
- "address": {
- "country": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "line2": "string",
- "line1": "string"
}, - "companyName": { },
- "flags": {
- "reseller": true
}, - "acceptedGroupTermsVersion": { },
- "paypalEmail": { },
- "accountManagerAccountId": { },
- "apVendorName": { },
- "commissionType": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "companyId": { },
- "tierId": { },
- "domain": { },
- "commissionDuration": { },
- "commissionPercent": { },
- "acceptedTermsVersion": { },
- "id": "string",
- "totalRevenue": { },
- "partnerType": "company",
- "termsAcceptedAt": "2019-08-24T14:15:22Z",
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| firstName required | string |
| lastName required | string |
| phone | string |
| companyName required | string |
| domain required | string |
| paypalEmail | string |
| email required | string |
{- "firstName": "string",
- "lastName": "string",
- "phone": "string",
- "companyName": "string",
- "domain": "string",
- "paypalEmail": "string",
- "email": "string"
}{- "data": {
- "commissionFlat": { },
- "externalVendorId": { },
- "apVendorEmail": { },
- "address": {
- "country": "string",
- "city": "string",
- "postalCode": "string",
- "state": "string",
- "line2": "string",
- "line1": "string"
}, - "companyName": { },
- "flags": {
- "reseller": true
}, - "acceptedGroupTermsVersion": { },
- "paypalEmail": { },
- "accountManagerAccountId": { },
- "apVendorName": { },
- "commissionType": { },
- "createdAt": "2019-08-24T14:15:22Z",
- "companyId": { },
- "tierId": { },
- "domain": { },
- "commissionDuration": { },
- "commissionPercent": { },
- "acceptedTermsVersion": { },
- "id": "string",
- "totalRevenue": { },
- "partnerType": "company",
- "termsAcceptedAt": "2019-08-24T14:15:22Z",
- "status": "active",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| partnerOrganizationId required | string |
| object required | string |
| companyId required | string |
{- "data": {
- "schema": {
- "unifiedFields": [
- {
- "displayType": "input",
- "isStandardField": true,
- "flags": {
- "updateable": true,
- "creatable": true
}, - "label": "string",
- "type": "string",
- "required": true,
- "order": 0,
- "fieldId": "string"
}
], - "standardFields": { },
- "customFields": { },
- "type": "object",
- "object": "string"
}
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| resourceId required | string |
| companyId required | string |
{- "data": {
- "pinned": true,
- "thumbnail": {
- "id": "string",
- "url": "string"
}, - "attachments": [
- {
- "fileName": "string",
- "size": 0,
- "id": "string",
- "contentType": "string"
}
], - "pinnedRank": { },
- "linkText": { },
- "body": { },
- "type": "string",
- "createdAt": "string",
- "categoryIds": [
- "string"
], - "companyId": "string",
- "embedVideo": { },
- "name": "string",
- "linkUrl": { },
- "id": "string",
- "excerpt": { },
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| resourceId required | string |
| companyId required | string |
| categoryIds | Array of strings |
| pinned | boolean |
| pinnedRank | number |
| name | string |
| attachmentIds | Array of strings |
| body | string Body HTML conventions (plan D9). The server cleans every body on save and keeps: formatting,
headings, lists, tables, links, images with absolute http(s) sources, the allowed style
properties, and iframes from the supported video hosts. Anything else is dropped silently, which
is why every write returns the stored body. The two editor inserts are plain anchors:
a button is |
| excerpt | string |
null or string |
{- "categoryIds": [
- "string"
], - "pinned": true,
- "pinnedRank": 0,
- "name": "string",
- "attachmentIds": [
- "string"
], - "body": "string",
- "excerpt": "string",
- "thumbnailAssetId": { }
}{- "data": {
- "pinned": true,
- "thumbnail": {
- "id": "string",
- "url": "string"
}, - "attachments": [
- {
- "fileName": "string",
- "size": 0,
- "id": "string",
- "contentType": "string"
}
], - "pinnedRank": { },
- "linkText": { },
- "body": { },
- "type": "string",
- "createdAt": "string",
- "categoryIds": [
- "string"
], - "companyId": "string",
- "embedVideo": { },
- "name": "string",
- "linkUrl": { },
- "id": "string",
- "excerpt": { },
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| search | string |
| categoryId | string |
{- "data": [
- {
- "pinned": true,
- "thumbnail": {
- "id": "string",
- "url": "string"
}, - "attachments": [
- {
- "fileName": "string",
- "size": 0,
- "id": "string",
- "contentType": "string"
}
], - "pinnedRank": { },
- "linkText": { },
- "body": { },
- "type": "string",
- "createdAt": "string",
- "categoryIds": [
- "string"
], - "companyId": "string",
- "embedVideo": { },
- "name": "string",
- "linkUrl": { },
- "id": "string",
- "excerpt": { },
- "updatedAt": "string"
}
], - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
object The definition sent with a new quiz lesson: questions are required. | |
| categoryIds required | Array of strings |
| pinned | boolean |
| pinnedRank | number |
| name required | string |
| attachmentIds | Array of strings |
| type | string Enum: "post" "quiz" |
| body | string Body HTML conventions (plan D9). The server cleans every body on save and keeps: formatting,
headings, lists, tables, links, images with absolute http(s) sources, the allowed style
properties, and iframes from the supported video hosts. Anything else is dropped silently, which
is why every write returns the stored body. The two editor inserts are plain anchors:
a button is |
| excerpt | string |
| thumbnailAssetId | string |
{- "quiz": {
- "maxAttempts": { },
- "questions": [
- {
- "id": "string",
- "text": "string",
- "type": "multiple",
- "choices": [
- {
- "id": "string",
- "text": "string",
- "order": 0,
- "isCorrect": true
}
], - "order": 0
}
], - "passingPercent": 0
}, - "categoryIds": [
- "string"
], - "pinned": true,
- "pinnedRank": 0,
- "name": "string",
- "attachmentIds": [
- "string"
], - "type": "post",
- "body": "string",
- "excerpt": "string",
- "thumbnailAssetId": "string"
}{- "data": {
- "pinned": true,
- "thumbnail": {
- "id": "string",
- "url": "string"
}, - "attachments": [
- {
- "fileName": "string",
- "size": 0,
- "id": "string",
- "contentType": "string"
}
], - "pinnedRank": { },
- "linkText": { },
- "body": { },
- "type": "string",
- "createdAt": "string",
- "categoryIds": [
- "string"
], - "companyId": "string",
- "embedVideo": { },
- "name": "string",
- "linkUrl": { },
- "id": "string",
- "excerpt": { },
- "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| type | string |
{- "data": [
- {
- "pinned": true,
- "visibleToPartners": true,
- "welcomeMessage": { },
- "pinnedRank": { },
- "warnings": [
- "string"
], - "description": { },
- "type": "course",
- "createdAt": "string",
- "companyId": "string",
- "groupIds": [
- "string"
], - "name": "string",
- "completionMessage": { },
- "partnerOrganizationIds": [
- "string"
], - "id": "string",
- "lessons": [
- {
- "name": "string",
- "id": "string",
- "type": "string",
- "order": 0
}
], - "updatedAt": "string"
}
], - "context": {
- "requestId": "string"
}, - "status": 0
}| companyId required | string |
| pinned | boolean |
| welcomeMessage | string Body HTML conventions (plan D9). The server cleans every body on save and keeps: formatting,
headings, lists, tables, links, images with absolute http(s) sources, the allowed style
properties, and iframes from the supported video hosts. Anything else is dropped silently, which
is why every write returns the stored body. The two editor inserts are plain anchors:
a button is |
| pinnedRank | number |
| groupIds | Array of strings |
| name required | string |
| description | string |
| completionMessage | string Body HTML conventions (plan D9). The server cleans every body on save and keeps: formatting,
headings, lists, tables, links, images with absolute http(s) sources, the allowed style
properties, and iframes from the supported video hosts. Anything else is dropped silently, which
is why every write returns the stored body. The two editor inserts are plain anchors:
a button is |
| partnerOrganizationIds | Array of strings |
| type | string Enum: "course" "standard" |
{- "pinned": true,
- "welcomeMessage": "string",
- "pinnedRank": 0,
- "groupIds": [
- "string"
], - "name": "string",
- "description": "string",
- "completionMessage": "string",
- "partnerOrganizationIds": [
- "string"
], - "type": "course"
}{- "data": {
- "pinned": true,
- "visibleToPartners": true,
- "welcomeMessage": { },
- "pinnedRank": { },
- "warnings": [
- "string"
], - "description": { },
- "type": "course",
- "createdAt": "string",
- "companyId": "string",
- "groupIds": [
- "string"
], - "name": "string",
- "completionMessage": { },
- "partnerOrganizationIds": [
- "string"
], - "id": "string",
- "lessons": [
- {
- "name": "string",
- "id": "string",
- "type": "string",
- "order": 0
}
], - "updatedAt": "string"
}, - "context": {
- "requestId": "string"
}, - "status": 0
}