Skip to navigation

Create a partner entry

View as Markdown

Create new partner entry. The logo (image) and icon are optional base64 data URIs; without them the partner is created with no logo.

Authentication

AuthorizationToken

Your API key, sent as Authorization: Token <your API key>

Path parameters

directoryIdstringRequiredformat: "uuid"
id of the directory

Request

This endpoint expects an object.
titlestringRequired1-256 characters
headlinestringRequired1-250 characters
descriptionstringRequired>=1 character
websitestringRequiredformat: "uri">=1 character
integrationDescriptionstring or nullOptional
statusenumOptionalDefaults to hidden
  • hidden - hidden
  • inactive - inactive
  • public - public
  • searchable - searchable
Allowed values:
tierstringOptionalformat: "uuid"
featuredbooleanOptionalDefaults to false
ownerstring or nullOptionalformat: "uuid"
profileFieldsmap from strings to anyOptional

Values of the directory’s profile fields by field key. An image or file field takes the URL that POST /api/core/private/v1alpha/files/ returned, or {url, name}

locationstring or nullOptional<=255 characters
imagestring or nullOptionalformat: "binary"
iconstring or nullOptionalformat: "binary"
iconUrlstring or nullOptionalformat: "uri">=1 character
imageUrlstring or nullOptionalformat: "uri">=1 character
imageDarkstring or nullOptionalformat: "binary"
iconDarkstring or nullOptionalformat: "binary"
displayOnInternalDirectorybooleanOptional
externalIdstring or nullOptional<=100 characters

Response

Successful operation
hrefstringRead-only
idstringformat: "uuid"
titlestring<=256 characters
headlinestring or null<=250 characters
typestring<=100 characters
slugstringformat: "^[-a-zA-Z0-9_]+$"<=60 characters
customSlugstring or nullformat: "^[-a-zA-Z0-9_]+$"<=60 characters
statusenum
  • hidden - hidden
  • inactive - inactive
  • public - public
  • searchable - searchable
Allowed values:
iconstring or null
imagestring or null
iconDarkstring or null
imageDarkstring or null
websitestring or nullformat: "uri"
featuredboolean
ownermap from strings to any or null
userAssignedFilterOptionsstringRead-only
systemAssignedFilterOptionsstringRead-only
mappedAssignedFilterOptionsstringRead-only
descriptionstring or null
locationstring or null<=255 characters
callToActionUrlstring or null
callToActionLabelstring or null<=25 characters
externalUrlstring or nullformat: "uri"
externalIdstring or null
resourceslist of objects
awardslist of objects
supportEmailstring or null<=250 characters
developerNamestring or null<=250 characters
contactRequestsHiddenboolean

When on, visitors cannot send this entry a contact request; the directory-wide contact requests setting still applies

contactsRestrictedboolean
Whether only the listed contacts work this profile and get its leads
certificationsstringRead-only
badgeslist of maps from strings to anyRead-only
Assigned badges in badge order. Each badge links to its assignment on the entry, so the entry id comes from the data, not the serializer context.
trackingobject
approvalFlowstringRead-only
readyForReviewboolean
isNewboolean
createddatetime
tierobject or null
lastModifiedobject or nullOptional

Serializer for last_modified info including timestamp and user details.

integrationDescriptionstring or nullOptional
internalPointOfContactCtaUrlstring or nullOptional
internalPointOfContactCtaLabelstring or nullOptional<=25 characters
internalChannelContactCtaUrlstring or nullOptional
internalChannelContactCtaLabelstring or nullOptional<=25 characters
availabilityboolean or nullOptional
verificationslist of objects or nullOptional
medialist of objects or nullOptional
calloutslist of objectsOptional
keywordslist of objectsOptional
displayOnInternalDirectoryboolean or nullOptional
internalDescriptionstring or nullOptional
iconUrlstring or nullOptional
imageUrlstring or nullOptional
metaTitlestring or nullOptional<=70 characters
metaDescriptionstring or nullOptional<=160 characters
embedTitlestring or nullOptional
embedSrcstring or nullOptionalformat: "uri"
profileFieldsmap from strings to anyOptional
embedHeightinteger or nullOptional

Errors

404
Not Found Error