{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"8e31a031-4ec2-454e-a0b3-8bdf2978c502","name":"Docs","description":"## Introduction\n\nUse the Pronto API to interact with Pronto passes and other resources.\n\nThe API is based on REST and conforms to the [JSON:API Spec](https://jsonapi.org).\n\nAll requests must include a `Content-Type` header set to `application/vnd.api+json`.\n\n## Authentication\n\nAuthentication is performed with [HTTP Basic Auth](https://tools.ietf.org/html/rfc7617). Access to the API requires an API key issued by Pronto. Provide your API key as the basic auth username value and do not provide a password.\n\nMost HTTP libraries include support for basic auth credentials. If supplying the `Authorization` header directly, the value will be \"Basic\" followed by your base64-encoded API key. For example:\n\n```\nAuthorization: Basic NGE2OGQyNGFiODhjNTA5MWY1ZTk0NGI5Y2RlNzIwM2M1ZWU4ZThjMjNkNmFiMzU0NTI1NTVhZjg1NGJiNWFmMw==\n\n```\n\n## HTTP Response Codes\n\n| Code | Description |\n| --- | --- |\n| 200 | Request successful. |\n| 201 | Resource created. |\n| 400 | Bad request. Unspecified error in the request. |\n| 403 | Forbidden. The API key doesn't have permissions to perform the request. |\n| 404 | Not Found. The requested resource was not found on the server. |\n| 406 | Not acceptable. Check that your headers specify `Content-Type: application/vnd.api+json`. |\n| 422 | Unprocessable entity. This usually means that the request includes one ore more invalid attributes. Check response error and modify the request before retrying. |\n| 500 | Internal error. Contact Pronto support if this persists. |\n\n## Request-Id Headers\n\nEach API response includes a Request-Id header with a UUID value, which you can log to facilitate tracing and debugging requests. Please provide this Request-Id whenever contacting Pronto for support.\n\n## Date and Time\n\nWhen sending date and time fields, they must be ISO 8601 formatted, specifying at least the complete date plus hours and minutes:\"YYYY-MM-DDThh:mmTZD\" - see Time and Date Formats on the [W3C web site](https://www.w3.org/TR/NOTE-datetime).\n\nOptionally, you may specify seconds and decimal fractions of a second, but few use cases benefit from this.\n\n## Reader Devices\n\nContact Pronto to register a reader device.\n\n## Sponsors\n\nContact Pronto to create a sponsor.\n\n## Contact\n\n[dev@prontocx.com](mailto:dev@prontocx.com)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"332629","collectionId":"8e31a031-4ec2-454e-a0b3-8bdf2978c502","publishedId":"SVtSW9tK","public":true,"publicUrl":"https://docs.demo.prontocx.com","privateUrl":"https://go.postman.co/documentation/332629-8e31a031-4ec2-454e-a0b3-8bdf2978c502","customColor":{"top-bar":"6ba6ed","right-sidebar":"151922","highlight":"DB4620"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2022-08-27T17:54:48.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Docs DEMO","id":"62c65c38-111d-4c23-b902-4542bbce1c43","owner":"6213610","values":[{"key":"domain","value":"https://app.demo.prontocx.com","enabled":true},{"key":"encoded_api_key","value":"NGE2OGQyNGFiODhjNTA5MWY1ZTk0NGI5Y2RlNzIwM2M1ZWU4ZThjMjNkNmFiMzU0NTI1NTVhZjg1NGJiNWFmMw==","enabled":true},{"key":"api_key","value":"4a68d24ab88c5091f5e944b9cde7203c5ee8e8c23d6ab35452555af854bb5af3","enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/b8eacae42ad72651ff2e91bb7794e764ca5702158967fd04638b9d00bc2124ef","favicon":"https://res.cloudinary.com/postman/image/upload/v1648947599/team/yyknj4bqslfbexovmdvs.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Docs DEMO","value":"6213610-62c65c38-111d-4c23-b902-4542bbce1c43"}],"canonicalUrl":"https://docs.demo.prontocx.com/view/metadata/SVtSW9tK"}