Skip to content

Partnerships

Partnerships represent the partner and business-development relationships your team manages. Track partner types and tiers, move partners through a pipeline, and tie referrals and revenue back to each partner.

FieldTypeDescription
iduuidUnique identifier of the partnership.
account_iduuidID of the account that owns this partnership.
created_byuuidID of the user who created this partnership.
namestringDisplay name of the partnership.
descriptionstringFree-text description of the partnership.
stage_iduuid?ID of the workflow stage the partnership currently occupies.
stage_labelstringLabel of the current workflow stage (read-only, joined).
stage_colorstringColor of the current workflow stage (read-only, joined).
stage_closedboolWhether the current stage is a closed/terminal stage (read-only, joined).
workflow_iduuid?ID of the partnership workflow that defines the available stages.
company_iduuid?ID of the partner company, if linked.
company_namestringName of the linked partner company (read-only, joined).
assigned_touuid?ID of the user the partnership is assigned to.
assigned_namestringName of the assigned user (read-only, joined).
partnership_typestringCategory of partnership. One of: referral, co_sell, integration, reseller, affiliate
tier_iduuid?ID of the partnership tier, if assigned.
tier_labelstringLabel of the assigned tier (read-only, joined).
notesstringInternal notes about the partnership.
tagsstring[]Freeform tags applied to the partnership.
custom_fieldsobjectAccount-defined custom field values as a JSON object.
created_atdatetimeTimestamp when the partnership was created (ISO 8601).
updated_atdatetimeTimestamp when the partnership was last updated (ISO 8601).

Endpoint: partnerships-contacts-add

Endpoint: partnerships-contacts-list

Endpoint: partnerships-contacts-remove

Endpoint: partnerships-create

FieldTypeRequiredDescription
namestringYesDisplay name of the partnership.
descriptionstringNoFree-text description of the partnership.
stage_idstring?NoID of the initial workflow stage; defaults to the workflow’s first stage when omitted.
workflow_idstring?NoID of the partnership workflow; defaults to the account’s default workflow when omitted.
company_idstring?NoID of the partner company to link.
assigned_tostring?NoID of the user to assign the partnership to.
partnership_typestringNoCategory of partnership. One of: referral, co_sell, integration, reseller, affiliate
tier_idstring?NoID of the partnership tier to assign.
notesstringNoInternal notes about the partnership.
tagsstring[]NoFreeform tags to apply to the partnership.
custom_fieldsobject?NoAccount-defined custom field values as a JSON object.
Terminal window
curl -X POST https://api.driftwoodapp.com/api/partnerships-create \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "..."}'

Endpoint: partnerships-delete

Endpoint: partnerships-get

Endpoint: partnerships-list

FieldTypeRequiredDescription
searchstringNoCase-insensitive search over partnership name.
tagsstring[]NoFilter to partnerships having all of these tags.
stage_idstring?NoFilter to partnerships in this workflow stage.
company_idstring?NoFilter to partnerships linked to this company.
assigned_tostring?NoFilter to partnerships assigned to this user.
tier_idstring?NoFilter to partnerships in this tier.
partnership_typestringNoFilter to partnerships of this type. One of: referral, co_sell, integration, reseller, affiliate
is_closedbool?NoFilter by whether the partnership is in a closed stage.
cursorstringNoOpaque pagination cursor from a previous response.
limitintNoMaximum number of partnerships to return.
Terminal window
curl -X POST https://api.driftwoodapp.com/api/partnerships-list \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'

Per-stage partnership counts for the board

Section titled “Per-stage partnership counts for the board”

Endpoint: partnerships-pipeline-stats

Partner scorecard: referrals and attributed revenue

Section titled “Partner scorecard: referrals and attributed revenue”

Endpoint: partnerships-scorecard

Endpoint: partnerships-update

FieldTypeRequiredDescription
idstringNoID of the partnership to update.
workflow_idstring?NoNew workflow ID; resets the stage to the new workflow’s default when stage_id is omitted.
namestring?NoNew display name.
descriptionstring?NoNew description.
stage_idstring?NoNew workflow stage ID.
company_idstring?NoNew partner company ID; empty string clears the link.
assigned_tostring?NoNew assignee user ID; empty string clears the assignment.
partnership_typestring?NoNew partnership type. One of: referral, co_sell, integration, reseller, affiliate
tier_idstring?NoNew tier ID; empty string clears the tier.
notesstring?NoNew internal notes.
tagsstring[]NoReplacement set of tags.
custom_fieldsobject?NoCustom field values to merge into the existing values.
Terminal window
curl -X POST https://api.driftwoodapp.com/api/partnerships-update \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
CodeDescription
partnerships.not_foundNot found
partnerships.name_requiredName required
partnerships.invalid_typeInvalid type
partnerships.invalid_workflow_idInvalid workflow id
partnerships.invalid_stage_idInvalid stage id
partnerships.invalid_stageInvalid stage
partnerships.invalid_company_idInvalid company id
partnerships.invalid_assigned_toInvalid assigned to
partnerships.invalid_tier_idInvalid tier id
partnerships.invalid_custom_fieldsInvalid custom fields
partnerships.invalid_idInvalid id