Ideas portal user subscriptions API

Set a portal user's preferences to specific project and category updates

POST /api/v1/idea_portals/:idea_portal_id/portal_users/:portal_user_id/portal_user_subscriptions

Parameters
NameDescription
idea_portal_id *

Numeric ID or key of the idea portal

portal_user_id *

Numeric ID of the portal user

preferences *

An array of preferences for the weekly summary email

Example request

POST /api/v1/idea_portals/1070474755/portal_users/646391926/portal_user_subscriptions

Example CURL command

curl "https://company.aha.io/api/v1/idea_portals/1070474755/portal_users/646391926/portal_user_subscriptions" -d '{"portal_user_subscriptions":{"preferences":[{"type":"project","id":131414752},{"type":"category","id":251347229}]}}' -X POST \
	-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body