Subscribe Signal
Subscribe an array of users to a Signal. To subscribe an entire pod to a Signal, set the companyWide field in Create Signal.
The id of the signal.
Prevent the user to unsubscribe (only for bulk subscription)
Session authentication token.
Key Manager authentication token.
Signal subscribed.
The number of requested userIds to subscribe
The number of successful subscriptions done
The number of subscription failures
Client error, see response body for further details.
Unauthorized: Session tokens invalid.
Forbidden: Caller lacks necessary entitlement.
Server error, see response body for further details.
POST /agent/v1/signals/{id}/subscribe HTTP/1.1
Host: youragentURL.symphony.com
sessionToken: text
Content-Type: application/json
Accept: */*
Content-Length: 3
[
1
]{
"requestedSubscription": 1,
"successfulSubscription": 1,
"failedSubscription": 1,
"subscriptionErrors": [
{
"userId": 1,
"code": "text",
"message": "text"
}
]
}Request Examples
curl -X POST \
https://acme.symphony.com/agent/v1/signals/5a6efc9db9d8210001b9960b/subscribe \
-H 'content-type: application/json' \
-H 'sessiontoken: SESSION_TOKEN' \
-H 'keymanagertoken: KEYMANAGER_TOKEN' \
-d '[68719476759, 68719476760, 68719476761]'🚧 Required Permissions
To subscribe other users to a specific signal, the requesting user needs to have the
canManageSignalSubscriptionentitlement.
Last updated
Was this helpful?