Logo
Swift API Sandbox Collections API Documentation

InvalidServiceName

GET {{baseUrl}}/services/{{service-name}}-invalid/accessible-categories

A client can invoke this API when they want to get a list of all categories available for a given service. The categories are the notification queues available for customers to subscribe to and consume notifications.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
notif-role
string (Required) Header that identifies role of the requester to validate if its a provider or consumer. Added by the client in the request.




RESPONSES

status OK

{ "category_list": [ "cancellations", "statusUpdates" ] }



Curl
curl -X GET 'https://sandbox.swift.com/swift-notif/v1/services/service-name-invalid/accessible-categories' -H 'notif-role: Y29uc3VtZXI='

ENDPOINTS