viewSubscription
Will open Connect on the subscription details page.
The request expects a resumeSubscription
object that defines the subscription
for which to display the details.
Creating a Connect Session with viewSubscription intent
$ curl --request "POST" \
--url "https://api.gigs.com/projects/${GIGS_PROJECT}/connectSessions" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${GIGS_TOKEN}" \
--data '{
"callbackUrl": "https://example.com",
"intent": {
"type": "viewSubscription",
"viewSubscription": {
"subscription": "sub_0U32VAxJ0Z7P8Y40mBAnOP9LPhEr"
}
},
"user": "usr_0U2ViuFW0Z7P8Y2S1L76mfADMT6m"
}'
Where to go from here
- Read the Connect Sessions API Documentation
- Reach out to support@gigs.com for assistance