{ "protocol" : "AccessToken", "namespace" : "Switchboard", "types" : [ { "type" : "record", "name" : "AccessToken", "doc" : "A Twilio Access token that the client can use to authenticate with Avvo's Twilio IP Messaging Channels", "fields" : [ { "name" : "identity", "type" : "string" }, { "name" : "token", "type" : "string" } ] }, { "type" : "record", "name" : "AccessTokenRequestParams", "doc" : "The accepted attributes that we'd like to fetch by in the index endpoint", "fields" : [ { "name" : "push_notifications_sid", "type" : [ "null", "int" ], "doc" : "The Twilio Push Notifications SID for the client, used primarily by the iOS SDK" }, { "name" : "endpoint_id", "type" : [ "null", "int" ], "doc" : "The unique endpoint ID for the IP Messaging Client" } ] } ], "messages" : { "index" : { "request" : [ { "name" : "params", "type" : "AccessTokenRequestParams" } ], "response" : { "type" : "array", "items" : "AccessToken" } } } }