{"items":[{"type":"link","label":"Public API Reference","link":"/zephr-api-reference/zephr-public-api","routeSlug":"/zephr-api-reference/zephr-public-api","content":{"contentType":"overview","meta":{"name":"Public API Reference"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"zephr-public-api.json","url":"/_bundle/zephr-api-reference/zephr-public-api.json?download"},{"kind":"download","label":"zephr-public-api.yaml","url":"/_bundle/zephr-api-reference/zephr-public-api.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"payload","title":"Payload","lang":"Payload"},{"key":"curl","title":"cURL","lang":"curl"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site","description":"The domain of your site."}}}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Public API Reference (2026-10-01)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Zephr Public API provides common client-side actions tied to a session cookie. Unlike the Admin API, neither users nor other resources can be dereferenced; the only data that can be accessed is owned by the user who is currently signed-in.  This design is used to protect other users from malicious attacks."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can find the base URL for the Public API by navigating to your site domains. To do this, select "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sites"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Delivery"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" menu, select your site, and then click the "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Site Domains"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" button. The base URL is the Live domain."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Zephr forms use the Public API by default, with relative URLs based on the base URL."},"children":[]}]}]}]}],"sectionId":"/zephr-api-reference/zephr-public-api"}],"sectionId":"/zephr-api-reference/zephr-public-api"}]}]}},{"type":"group","label":"Authentication","link":"/zephr-api-reference/zephr-public-api/authentication","routeSlug":"/zephr-api-reference/zephr-public-api/authentication","items":[{"label":"Log in to the user account","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/loginuseraccount","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/loginuseraccount","metadata":{"seo":{"title":"Log in to the user account","description":"This endpoint is utilized for user authentication, granting access to secured endpoints  that mandate authentication. Following successful authentication, a blaize_session is generated  for the user, enabling them to access the secure endpoints."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"loginUserAccount","name":"Log in to the user account","isWebhook":false,"pointer":"/paths/~1blaize~1login/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Log in to the user account","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is utilized for user authentication, granting access to secured endpoints  that mandate authentication. Following successful authentication, a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_session"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is generated  for the user, enabling them to access the secure endpoints."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie is employed to ascertain whether a user is already authenticated or has an active session.","example":"blaize_session=... (optional)"}],"pointer":"/paths/~1blaize~1login/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/user-registration-request"}},"schemaId":"components/schemas/user-registration-request","pointer":"/paths/~1blaize~1login/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/login","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"blaize_session=... (optional)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/user-registration-request"}},"responseCodes":["200","400","401"],"pointer":"/blaize/login","href":"authentication/loginuseraccount","openApiOperationId":"loginUserAccount","summary":"Log in to the user account","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/user-registration-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/user-registration-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The user has logged in successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/user-login-response"}},"schemaId":"components/schemas/user-login-response","headers":{"Set-Cookie":{"description":"The authenticated user session.","schema":{"type":"string","example":"blaize_session=443ed68f-0b44-4f32-8443-553d584cb0dd; Expires=Fri, 16 Nov 2024 12:35:56 GMT; Path=/;"}},"\u0000Set-Cookie":{"description":"The user tracking ID.","schema":{"type":"string","example":"blaize_tracking_id=b117093c-e1f7-4ee0-8dda-6b5205f7fbee; Expires=Fri, 16 Nov 2024 12:35:56 GMT; Path=/;"}},"\u0000\u0000Set-Cookie":{"description":"The anonymous user session before authentication.","schema":{"type":"string","example":"blaize_prev_anon_session=b117093c-e1f7-4ee0-8dda-6b5205f7fbee; Expires=Fri, 16 Nov 2024 12:35:56 GMT; Path=/;"}}},"headerSchemaId":"schema_1"},{"code":"400","description":"Bad Request. The server could not understand the request due to  invalid syntax or missing required parameters.","headers":{}},{"code":"401","description":"Unauthorized. The user is unable to authenticate due to invalid login credentials,  resulting in a lack of authentication.","headers":{}}],"pointer":"/paths/~1blaize~1login/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/user-login-response","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/user-login-response"}}},{"code":"400"},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/loginuseraccount"}],"panels":[]}]},"httpPath":"/blaize/login"},{"label":"Log out of the user account","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/logoutuseraccount","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/logoutuseraccount","metadata":{"seo":{"title":"Log out of the user account","description":"Logs out of the user account."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"logoutUserAccount","name":"Log out of the user account","isWebhook":false,"pointer":"/paths/~1blaize~1logout/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Log out of the user account","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Logs out of the user account."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1logout/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/admin-user-logout-request"}},"schemaId":"components/schemas/admin-user-logout-request","pointer":"/paths/~1blaize~1logout/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/logout","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/admin-user-logout-request"}},"responseCodes":["200","400"],"pointer":"/blaize/logout","href":"authentication/logoutuseraccount","openApiOperationId":"logoutUserAccount","summary":"Log out of the user account","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/admin-user-logout-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/admin-user-logout-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/admin-user-logout-response","exampleIds":["paths/~1blaize~1logout/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/admin-user-logout-response","exampleIds":["paths/~1blaize~1logout/post/responses/200/content/application~1json/examples/response"],"headers":{"Set-Cookie":{"schema":{"type":"string"}}},"headerSchemaId":"schema_2"},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1blaize~1logout/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/admin-user-logout-response","exampleIds":["paths/~1blaize~1logout/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/admin-user-logout-response","exampleIds":["paths/~1blaize~1logout/post/responses/200/content/application~1json/examples/response"]}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/logoutuseraccount"}],"panels":[]}]},"httpPath":"/blaize/logout"},{"label":"Retrieve the SSO status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/retrievessostatus","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/retrievessostatus","metadata":{"seo":{"title":"Retrieve the SSO status","description":"Retrieves the SSO status and metadata of the current user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveSSOStatus","name":"Retrieve the SSO status","isWebhook":false,"pointer":"/paths/~1zephr~1public~1sso~1v1~1status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the SSO status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves the SSO status and metadata of the current user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/sso/v1/status","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/zephr/public/sso/v1/status","href":"authentication/retrievessostatus","openApiOperationId":"retrieveSSOStatus","summary":"Retrieve the SSO status","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"SSO status was retrieved successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RetrieveStatusResponse","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/RetrieveStatusResponse","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status/get/responses/200/content/application~1json/examples/response"],"headers":{}}],"pointer":"/paths/~1zephr~1public~1sso~1v1~1status/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/RetrieveStatusResponse","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RetrieveStatusResponse","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status/get/responses/200/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/retrievessostatus"}],"panels":[]}]},"httpPath":"/zephr/public/sso/v1/status"},{"label":"Update the metadata","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/updatemetadata","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/updatemetadata","metadata":{"seo":{"title":"Update the metadata","description":"Updates the SSO metadata associated with the user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateMetaData","name":"Update the metadata","isWebhook":false,"pointer":"/paths/~1zephr~1public~1sso~1v1~1status~1meta/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update the metadata","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Updates the SSO metadata associated with the user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/customer-meta","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status~1meta/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/customer-meta","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status~1meta/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1zephr~1public~1sso~1v1~1status~1meta/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/zephr/public/sso/v1/status/meta","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/customer-meta","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status~1meta/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","400"],"pointer":"/zephr/public/sso/v1/status/meta","href":"authentication/updatemetadata","openApiOperationId":"updateMetaData","summary":"Update the metadata","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/customer-meta","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status~1meta/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/customer-meta","exampleIds":["paths/~1zephr~1public~1sso~1v1~1status~1meta/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1public~1sso~1v1~1status~1meta/put/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/updatemetadata"}],"panels":[]}]},"httpPath":"/zephr/public/sso/v1/status/meta"},{"label":"Start the passwordless authentication flow","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/startpasswordlessauthentication","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/startpasswordlessauthentication","metadata":{"seo":{"title":"Start the passwordless authentication flow","description":"Starts the passwordless authentication flow by sending an email to the user with a sign-in link. When the user clicks the link, they are directed to GET /blaize/token-exchange?token=..., which authenticates them automatically.IMPORTANT: Passwordless authentication requires the user's email to be verified. This means the user must first receive a separate verification email and click the link to confirm their email address. Verification can be triggered by sending a POST request to the appropriate endpoint."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startPasswordlessAuthentication","name":"Start the passwordless authentication flow","isWebhook":false,"pointer":"/paths/~1blaize~1token-exchange/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start the passwordless authentication flow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Starts the passwordless authentication flow by sending an email to the user with a sign-in link. When the user clicks the link, they are directed to GET /blaize/token-exchange?token=..., which authenticates them automatically."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"IMPORTANT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Passwordless authentication requires the user's email to be verified. This means the user must first receive a separate verification email and click the link to confirm their email address. Verification can be triggered by sending a POST request to the appropriate endpoint."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/passwordless-authentication-request"}},"schemaId":"components/schemas/passwordless-authentication-request","pointer":"/paths/~1blaize~1token-exchange/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/token-exchange","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/passwordless-authentication-request"}},"responseCodes":["201","400"],"pointer":"/blaize/token-exchange","href":"authentication/startpasswordlessauthentication","openApiOperationId":"startPasswordlessAuthentication","summary":"Start the passwordless authentication flow","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/passwordless-authentication-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/passwordless-authentication-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1blaize~1token-exchange/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/startpasswordlessauthentication"}],"panels":[]}]},"httpPath":"/blaize/token-exchange"},{"label":"Completes the passwordless authentication flow","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/completepasswordlessauthentication","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/completepasswordlessauthentication","metadata":{"seo":{"title":"Completes the passwordless authentication flow","description":"Completes the passwordless authentication flow. This endpoint is triggered when the the user clicks the link in the email sent after a POST /blaize/token-exchange request.IMPORTANT: For passwordless authentication, first is required to send a POST to request an email to be sent to the User’s email with a link for the user to click on to verify his email."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"completePasswordlessAuthentication","name":"Completes the passwordless authentication flow","isWebhook":false,"pointer":"/paths/~1blaize~1token-exchange/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Completes the passwordless authentication flow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Completes the passwordless authentication flow. This endpoint is triggered when the the user clicks the link in the email sent after a POST /blaize/token-exchange request."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"IMPORTANT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": For passwordless authentication, first is required to send a POST to request an email to be sent to the User’s email with a link for the user to click on to verify his email."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/token-exchange","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["302","400","401","404","409","410"],"pointer":"/blaize/token-exchange","href":"authentication/completepasswordlessauthentication","openApiOperationId":"completePasswordlessAuthentication","summary":"Completes the passwordless authentication flow","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"302","description":"Found","headers":{"Location":{"schema":{"type":"string"}},"Set-Cookie":{"schema":{"type":"string"}}},"headerSchemaId":"schema_3"},{"code":"400","description":"Bad Request"},{"code":"401","description":"Login link expired"},{"code":"404","description":"Passwordless login token not found"},{"code":"409","description":"Passwordless login token expired"},{"code":"410","description":"Unused passwordless login token expired"}],"pointer":"/paths/~1blaize~1token-exchange/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/completepasswordlessauthentication"}],"panels":[]}]},"httpPath":"/blaize/token-exchange"},{"label":"Complete a 2FA based password reset","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/complete2fapasswordreset","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/complete2fapasswordreset","metadata":{"seo":{"title":"Complete a 2FA based password reset","description":"Completes the password reset.IMPORTANT: To reset a user's password, first send a POST request to trigger an email with a reset token. This token must be included in the state parameter when calling this API. The validator parameter is optional, if omitted, the OTP can be verified first, and the new password can be submitted separately with the correct OTP."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"complete2FAPasswordReset","name":"Complete a 2FA based password reset","isWebhook":false,"pointer":"/paths/~1zephr~1users~1reset~1{state}/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Complete a 2FA based password reset","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Completes the password reset."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"IMPORTANT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": To reset a user's password, first send a POST request to trigger an email with a reset token. This token must be included in the state parameter when calling this API. The validator parameter is optional, if omitted, the OTP can be verified first, and the new password can be submitted separately with the correct OTP."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"state","in":"path","schemaId":"schema_0","description":"A 6-digit code, which is used to verify the password request.","required":true}],"pointer":"/paths/~1zephr~1users~1reset~1{state}/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_4"}},"schemaId":"schema_4","pointer":"/paths/~1zephr~1users~1reset~1{state}/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/users/reset/{state}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"state","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_4"}},"responseCodes":["200","400","404","409"],"pointer":"/zephr/users/reset/{state}","href":"authentication/complete2fapasswordreset","openApiOperationId":"complete2FAPasswordReset","summary":"Complete a 2FA based password reset","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_4","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_4"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"404","description":"Token Not Found","headers":{}},{"code":"409","description":"The state was already used","headers":{}}],"pointer":"/paths/~1zephr~1users~1reset~1{state}/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/complete2fapasswordreset"}],"panels":[]}]},"httpPath":"/zephr/users/reset/{state}"},{"label":"Return the password reset form","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/resetpasswordform","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/resetpasswordform","metadata":{"seo":{"title":"Return the password reset form","description":"Returns the password reset form"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"resetPasswordForm","name":"Return the password reset form","isWebhook":false,"pointer":"/paths/~1blaize~1blaize~1password-reset.html/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Return the password reset form","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the password reset form"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/blaize/password-reset.html","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/blaize/blaize/password-reset.html","href":"authentication/resetpasswordform","openApiOperationId":"resetPasswordForm","summary":"Return the password reset form","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"text/html","mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1blaize~1blaize~1password-reset.html/get/responses/200/content/text~1html/examples/response"]}},"exampleIds":["paths/~1blaize~1blaize~1password-reset.html/get/responses/200/content/text~1html/examples/response"],"headers":{}}],"pointer":"/paths/~1blaize~1blaize~1password-reset.html/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","exampleIds":["paths/~1blaize~1blaize~1password-reset.html/get/responses/200/content/text~1html/examples/response"],"mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1blaize~1blaize~1password-reset.html/get/responses/200/content/text~1html/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/resetpasswordform"}],"panels":[]}]},"httpPath":"/blaize/blaize/password-reset.html"},{"label":"Create an anonymous session","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/createanonymoussession","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/createanonymoussession","metadata":{"seo":{"title":"Create an anonymous session","description":"Creates an anonymous session."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createAnonymousSession","name":"Create an anonymous session","isWebhook":false,"pointer":"/paths/~1blaize~1anonymous-session/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create an anonymous session","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Creates an anonymous session."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"token","in":"query","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Required if browser fingerprinting is enabled on the CDN. This token is retrieved from the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/browser-fingerprint"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" flow."},"children":[]}]}]}]},{"name":"fingerprint","in":"query","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Required if browser fingerprinting is enabled on the CDN, the fingerprint retrieved from the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"GET"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/browser-fingerprint"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" flow."},"children":[]}]}]}]}],"pointer":"/paths/~1blaize~1anonymous-session/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/anonymous-session","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"token","in":"query","required":false,"schemaId":"schema_0"},{"name":"fingerprint","in":"query","required":false,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["201"],"pointer":"/blaize/anonymous-session","href":"authentication/createanonymoussession","openApiOperationId":"createAnonymousSession","summary":"Create an anonymous session","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/cdn-anonymous-session-response","exampleIds":["paths/~1blaize~1anonymous-session/post/responses/201/content/application~1json/examples/response"]}},"schemaId":"components/schemas/cdn-anonymous-session-response","exampleIds":["paths/~1blaize~1anonymous-session/post/responses/201/content/application~1json/examples/response"],"headers":{"Set-Cookie":{"schema":{"type":"string"}}},"headerSchemaId":"schema_2"}],"pointer":"/paths/~1blaize~1anonymous-session/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"components/schemas/cdn-anonymous-session-response","exampleIds":["paths/~1blaize~1anonymous-session/post/responses/201/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/cdn-anonymous-session-response","exampleIds":["paths/~1blaize~1anonymous-session/post/responses/201/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/createanonymoussession"}],"panels":[]}]},"httpPath":"/blaize/anonymous-session"},{"label":"Start updating the current email address","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/startupdatingyourcurrentemailaddress","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/startupdatingyourcurrentemailaddress","metadata":{"seo":{"title":"Start updating the current email address","description":"Starts updating user's current email address."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startUpdatingYourCurrentEmailAddress","name":"Start updating the current email address","isWebhook":false,"pointer":"/paths/~1blaize~1users~1update-email/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start updating the current email address","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Starts updating user's current email address.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/start-update-your-current-email-address-request"}},"schemaId":"components/schemas/start-update-your-current-email-address-request","pointer":"/paths/~1blaize~1users~1update-email/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/users/update-email","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/start-update-your-current-email-address-request"}},"responseCodes":["200","400","404"],"pointer":"/blaize/users/update-email","href":"authentication/startupdatingyourcurrentemailaddress","openApiOperationId":"startUpdatingYourCurrentEmailAddress","summary":"Start updating the current email address","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/start-update-your-current-email-address-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/start-update-your-current-email-address-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1blaize~1users~1update-email/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/startupdatingyourcurrentemailaddress"}],"panels":[]}]},"httpPath":"/blaize/users/update-email"},{"label":"Start updating the current email address","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/startupdatingyourcurrentzephremailaddress","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/startupdatingyourcurrentzephremailaddress","metadata":{"seo":{"title":"Start updating the current email address","description":"Updates the user's email address. The user will receive an email with a one-time password (OTP) to verify the new email address. In order to finish the process, the user must provide the OTP to the /zephr/users/update-email/{otp} endpoint. The difference between this endpoint and the /blaize/users/update-email endpoint is that this endpoint requires the extra layer of authentication through the required validator."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startUpdatingYourCurrentZephrEmailAddress","name":"Start updating the current email address","isWebhook":false,"pointer":"/paths/~1zephr~1users~1update-email/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start updating the current email address","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Updates the user's email address. The user will receive an email with a one-time password (OTP) to verify the new email address. In order to finish the process, the user must provide the OTP to the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"_"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/zephr/users/update-email/{otp}"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoint. The difference between this endpoint and the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"_"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/blaize/users/update-email"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoint is that this endpoint requires the extra layer of authentication through the required validator."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/start-update-your-current-zephr-email-address-request"}},"schemaId":"components/schemas/start-update-your-current-zephr-email-address-request","pointer":"/paths/~1zephr~1users~1update-email/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/users/update-email","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/start-update-your-current-zephr-email-address-request"}},"responseCodes":["200","400","401","404"],"pointer":"/zephr/users/update-email","href":"authentication/startupdatingyourcurrentzephremailaddress","openApiOperationId":"startUpdatingYourCurrentZephrEmailAddress","summary":"Start updating the current email address","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/start-update-your-current-zephr-email-address-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/start-update-your-current-zephr-email-address-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The confirmation email was sent successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5","headers":{}},{"code":"400","description":"Bad Request. Returned if the provided email is invalid.","headers":{}},{"code":"401","description":"Unauthorized. Returned if the provided validator is invalid.","headers":{}},{"code":"404","description":"Not Found. Returned if the user is not found.","headers":{}}],"pointer":"/paths/~1zephr~1users~1update-email/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}},{"code":"400"},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/startupdatingyourcurrentzephremailaddress"}],"panels":[]}]},"httpPath":"/zephr/users/update-email"},{"label":"Complete updating the current email address","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/completeupdatingyourcurrentzephremailaddress","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/completeupdatingyourcurrentzephremailaddress","metadata":{"seo":{"title":"Complete updating the current email address","description":"Completes updating the user's email address. The user must provide the OTP received in the email to verify the new email address. The difference between this endpoint and the /blaize/users/update-email/ endpoint is that this endpoint requires the extra layer of authentication through the required validator."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"completeUpdatingYourCurrentZephrEmailAddress","name":"Complete updating the current email address","isWebhook":false,"pointer":"/paths/~1zephr~1users~1update-email~1{otp}/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Complete updating the current email address","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Completes updating the user's email address. The user must provide the OTP received in the email to verify the new email address. The difference between this endpoint and the "},"children":[]},{"$$mdtype":"Node","type":"em","inline":true,"attributes":{"marker":"_"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/blaize/users/update-email/"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" endpoint is that this endpoint requires the extra layer of authentication through the required validator."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"otp","in":"path","schemaId":"schema_0","description":"The one-time password (OTP) received in the email.","required":true}],"pointer":"/paths/~1zephr~1users~1update-email~1{otp}/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/complete-update-your-current-zephr-email-address-request"}},"schemaId":"components/schemas/complete-update-your-current-zephr-email-address-request","pointer":"/paths/~1zephr~1users~1update-email~1{otp}/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/users/update-email/{otp}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"otp","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/complete-update-your-current-zephr-email-address-request"}},"responseCodes":["200","400","401"],"pointer":"/zephr/users/update-email/{otp}","href":"authentication/completeupdatingyourcurrentzephremailaddress","openApiOperationId":"completeUpdatingYourCurrentZephrEmailAddress","summary":"Complete updating the current email address","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/complete-update-your-current-zephr-email-address-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/complete-update-your-current-zephr-email-address-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The email address was updated successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6","headers":{}},{"code":"400","description":"Bad Request. Returned if the provided OTP is invalid.","headers":{}},{"code":"401","description":"Unauthorized. Returned if the provided validator is invalid.","headers":{}}],"pointer":"/paths/~1zephr~1users~1update-email~1{otp}/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"400"},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/completeupdatingyourcurrentzephremailaddress"}],"panels":[]}]},"httpPath":"/zephr/users/update-email/{otp}"},{"label":"Return the update email request form","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/updateemailrequestform","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/updateemailrequestform","metadata":{"seo":{"title":"Return the update email request form","description":"Returns the update email request Form."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateEmailRequestForm","name":"Return the update email request form","isWebhook":false,"pointer":"/paths/~1blaize~1update-email.html/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Return the update email request form","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the update email request Form."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/update-email.html","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/blaize/update-email.html","href":"authentication/updateemailrequestform","openApiOperationId":"updateEmailRequestForm","summary":"Return the update email request form","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"text/html","mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1blaize~1update-email.html/get/responses/200/content/text~1html/examples/response"]}},"exampleIds":["paths/~1blaize~1update-email.html/get/responses/200/content/text~1html/examples/response"],"headers":{}}],"pointer":"/paths/~1blaize~1update-email.html/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","exampleIds":["paths/~1blaize~1update-email.html/get/responses/200/content/text~1html/examples/response"],"mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1blaize~1update-email.html/get/responses/200/content/text~1html/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/updateemailrequestform"}],"panels":[]}]},"httpPath":"/blaize/update-email.html"},{"label":"Change the user password","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/changepassword","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/changepassword","metadata":{"seo":{"title":"Change the user password","description":"Changes the user password."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"changePassword","name":"Change the user password","isWebhook":false,"pointer":"/paths/~1blaize~1users~1change-password/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change the user password","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Changes the user password."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_7"}},"schemaId":"schema_7","pointer":"/paths/~1blaize~1users~1change-password/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/users/change-password","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_7"}},"responseCodes":["200","400","403","404"],"pointer":"/blaize/users/change-password","href":"authentication/changepassword","openApiOperationId":"changePassword","summary":"Change the user password","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_7","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_7"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"403","description":"Forbidden","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1blaize~1users~1change-password/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/changepassword"}],"panels":[]}]},"httpPath":"/blaize/users/change-password"},{"label":"Start a 2FA password reset","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/startpasswordreset","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/startpasswordreset","metadata":{"seo":{"title":"Start a 2FA password reset","description":"Starts the password reset for a 2FA user. This will send an email to the user with a 6 digit code, which can then be used to reset their password."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startPasswordReset","name":"Start a 2FA password reset","isWebhook":false,"pointer":"/paths/~1zephr~1users~1reset/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start a 2FA password reset","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Starts the password reset for a 2FA user. This will send an email to the user with a 6 digit code, which can then be used to reset their password.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/user-2fa-password-reset"}},"schemaId":"components/schemas/user-2fa-password-reset","pointer":"/paths/~1zephr~1users~1reset/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/users/reset","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/user-2fa-password-reset"}},"responseCodes":["201","400","404"],"pointer":"/zephr/users/reset","href":"authentication/startpasswordreset","openApiOperationId":"startPasswordReset","summary":"Start a 2FA password reset","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/user-2fa-password-reset","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/user-2fa-password-reset"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Created. The user will be sent an email with a TOKEN template variable matching the pattern [0-9]{6} to be used to reset their password."},"children":[]}]}]}],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1users~1reset/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/startpasswordreset"}],"panels":[]}]},"httpPath":"/zephr/users/reset"},{"label":"Change the user's password","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/authentication/changezephruserpassword","routeSlug":"/zephr-api-reference/zephr-public-api/authentication/changezephruserpassword","metadata":{"seo":{"title":"Change the user's password","description":"This endpoint starts the process of changing a user's password. An active user session is required for this endpoint. This process ends with an OTP (One-time password) being sent to the user's email address."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"changeZephrUserPassword","name":"Change the user's password","isWebhook":false,"pointer":"/paths/~1zephr~1users~1change-password/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change the user's password","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint starts the process of changing a user's password.  An active user session is required for this endpoint. This process ends with an OTP (One-time password) being sent to the user's email address."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_7"}},"schemaId":"schema_7","pointer":"/paths/~1zephr~1users~1change-password/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/users/change-password","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_7"}},"responseCodes":["200","400","404"],"pointer":"/zephr/users/change-password","href":"authentication/changezephruserpassword","openApiOperationId":"changeZephrUserPassword","summary":"Change the user's password","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_7","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_7"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK - The process of changing the user's password was started successfully","headers":{}},{"code":"400","description":"Bad Request - Wrong validators have been supplied with this request","headers":{}},{"code":"404","description":"Not Found - User was not found","headers":{}}],"pointer":"/paths/~1zephr~1users~1change-password/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/authentication/changezephruserpassword"}],"panels":[]}]},"httpPath":"/zephr/users/change-password"}],"content":{"contentType":"group","meta":{"name":"Authentication"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Authentication","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/blaize/login","summary":"Log in to the user account","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/loginuseraccount","deprecated":false},{"title":"/blaize/logout","summary":"Log out of the user account","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/logoutuseraccount","deprecated":false},{"title":"/zephr/public/sso/v1/status","summary":"Retrieve the SSO status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/authentication/retrievessostatus","deprecated":false},{"title":"/zephr/public/sso/v1/status/meta","summary":"Update the metadata","prefix":{"name":"put","color":"put"},"badges":[],"link":"/authentication/updatemetadata","deprecated":false},{"title":"/blaize/token-exchange","summary":"Start the passwordless authentication flow","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/startpasswordlessauthentication","deprecated":false},{"title":"/blaize/token-exchange","summary":"Completes the passwordless authentication flow","prefix":{"name":"get","color":"get"},"badges":[],"link":"/authentication/completepasswordlessauthentication","deprecated":false},{"title":"/zephr/users/reset/{state}","summary":"Complete a 2FA based password reset","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/complete2fapasswordreset","deprecated":false},{"title":"/blaize/blaize/password-reset.html","summary":"Return the password reset form","prefix":{"name":"get","color":"get"},"badges":[],"link":"/authentication/resetpasswordform","deprecated":false},{"title":"/blaize/anonymous-session","summary":"Create an anonymous session","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/createanonymoussession","deprecated":false},{"title":"/blaize/users/update-email","summary":"Start updating the current email address","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/startupdatingyourcurrentemailaddress","deprecated":false},{"title":"/zephr/users/update-email","summary":"Start updating the current email address","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/startupdatingyourcurrentzephremailaddress","deprecated":false},{"title":"/zephr/users/update-email/{otp}","summary":"Complete updating the current email address","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/completeupdatingyourcurrentzephremailaddress","deprecated":false},{"title":"/blaize/update-email.html","summary":"Return the update email request form","prefix":{"name":"get","color":"get"},"badges":[],"link":"/authentication/updateemailrequestform","deprecated":false},{"title":"/blaize/users/change-password","summary":"Change the user password","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/changepassword","deprecated":false},{"title":"/zephr/users/reset","summary":"Start a 2FA password reset","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/startpasswordreset","deprecated":false},{"title":"/zephr/users/change-password","summary":"Change the user's password","prefix":{"name":"post","color":"post"},"badges":[],"link":"/authentication/changezephruserpassword","deprecated":false}]}]}]}]}},{"type":"group","label":"Braintree Payments","link":"/zephr-api-reference/zephr-public-api/braintree-payments","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments","items":[{"label":"Retrieve the Braintree token","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/getbraintreetoken","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/getbraintreetoken","metadata":{"seo":{"title":"Retrieve the Braintree token","description":"Issues a Braintree client token for the current blaize session. This holds the user's userId if the user has an authenticated session. This token can be used to request a payment once."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getBraintreeToken","name":"Retrieve the Braintree token","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1token/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the Braintree token","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Issues a Braintree client token for the current blaize session.\nThis holds the user's userId if the user has an authenticated session.\nThis token can be used to request a payment once."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"allowUnauthenticated","in":"query","schemaId":"schema_8","description":"If tokens can be generated for unauthenticated user sessions - defaults to false."}],"pointer":"/paths/~1blaize~1payment~1braintree~1token/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1payment~1braintree~1token/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/payment/braintree/token","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"allowUnauthenticated","in":"query","required":false,"schemaId":"schema_8"}],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/blaize/payment/braintree/token","href":"braintree-payments/getbraintreetoken","openApiOperationId":"getBraintreeToken","summary":"Retrieve the Braintree token","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_9","exampleIds":["paths/~1blaize~1payment~1braintree~1token/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_9","exampleIds":["paths/~1blaize~1payment~1braintree~1token/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"401","description":"Unauthorized","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1token/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_9","exampleIds":["paths/~1blaize~1payment~1braintree~1token/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_9","exampleIds":["paths/~1blaize~1payment~1braintree~1token/get/responses/200/content/application~1json/examples/response"]}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/getbraintreetoken"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/token"},{"label":"Create a subscription charged callback","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/createsubscriptionchargedcallback","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/createsubscriptionchargedcallback","metadata":{"seo":{"title":"Create a subscription charged callback","description":"This endpoint generates a callback for subscription charges when a product purchase is created, regardless of success or failure. It requires a mandatory string payload containing the bt_signature  and bt_payload parameters.  To use subscriptions, configure the Braintree callback to direct to this endpoint."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createSubscriptionChargedCallback","name":"Create a subscription charged callback","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptionChargedCallback/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a subscription charged callback","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint generates a callback for subscription charges when a product purchase is created, regardless of success or failure. It requires a mandatory string payload containing the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"bt_signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"  and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"bt_payload"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameters.  To use subscriptions, configure the Braintree callback to direct to this endpoint."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_10"}},"schemaId":"schema_10","pointer":"/paths/~1blaize~1payment~1braintree~1subscriptionChargedCallback/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/payment/braintree/subscriptionChargedCallback","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_10"}},"responseCodes":["200","400"],"pointer":"/blaize/payment/braintree/subscriptionChargedCallback","href":"braintree-payments/createsubscriptionchargedcallback","openApiOperationId":"createSubscriptionChargedCallback","summary":"Create a subscription charged callback","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_10","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_10"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. A product purchase is created successfully.","headers":{}},{"code":"400","description":"Bad Request. The product purchase creation failed because the subscription was overdue or the callback endpoint received an invalid or empty payload.","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptionChargedCallback/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/createsubscriptionchargedcallback"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/subscriptionChargedCallback"},{"label":"List the Braintree subscriptions of a user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/listuserbraintreesubscriptions","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/listuserbraintreesubscriptions","metadata":{"seo":{"title":"List the Braintree subscriptions of a user","description":"Lists all Braintree subscriptions for the logged-in user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listUserBraintreeSubscriptions","name":"List the Braintree subscriptions of a user","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List the Braintree subscriptions of a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Lists all Braintree subscriptions for the logged-in user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/payment/braintree/subscriptions","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/blaize/payment/braintree/subscriptions","href":"braintree-payments/listuserbraintreesubscriptions","openApiOperationId":"listUserBraintreeSubscriptions","summary":"List the Braintree subscriptions of a user","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_11","exampleIds":["paths/~1blaize~1payment~1braintree~1subscriptions/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_11","exampleIds":["paths/~1blaize~1payment~1braintree~1subscriptions/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_11","exampleIds":["paths/~1blaize~1payment~1braintree~1subscriptions/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_11","exampleIds":["paths/~1blaize~1payment~1braintree~1subscriptions/get/responses/200/content/application~1json/examples/response"]}}},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/listuserbraintreesubscriptions"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/subscriptions"},{"label":"Update the Braintree subscription","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/updatebraintreesubscription","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/updatebraintreesubscription","metadata":{"seo":{"title":"Update the Braintree subscription","description":"Updates a Braintree subscription by ID. This operation currently only supports updating the payment method for a subscription, sending the payment method token or nonce."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateBraintreeSubscription","name":"Update the Braintree subscription","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions~1{subscriptionId}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update the Braintree subscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Updates a Braintree subscription by ID.\nThis operation currently only supports updating the payment method for a subscription, sending the payment method token or nonce.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"subscriptionId","in":"path","schemaId":"schema_0","description":"Subscription ID","required":true}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions~1{subscriptionId}/patch/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions~1{subscriptionId}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_12"}},"schemaId":"schema_12","pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions~1{subscriptionId}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/blaize/payment/braintree/subscriptions/{subscriptionId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"subscriptionId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_12"}},"responseCodes":["204","401","404"],"pointer":"/blaize/payment/braintree/subscriptions/{subscriptionId}","href":"braintree-payments/updatebraintreesubscription","openApiOperationId":"updateBraintreeSubscription","summary":"Update the Braintree subscription","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_12","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_12"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions~1{subscriptionId}/patch/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/updatebraintreesubscription"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/subscriptions/{subscriptionId}"},{"label":"Cancel the Braintree subscription","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/cancelbraintreesubscription","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/cancelbraintreesubscription","metadata":{"seo":{"title":"Cancel the Braintree subscription","description":"Cancels a Braintree subscription by ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"cancelBraintreeSubscription","name":"Cancel the Braintree subscription","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions~1{subscriptionId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel the Braintree subscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Cancels a Braintree subscription by ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"subscriptionId","in":"path","schemaId":"schema_0","description":"Subscription ID","required":true}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions~1{subscriptionId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/blaize/payment/braintree/subscriptions/{subscriptionId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"subscriptionId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","404","409"],"pointer":"/blaize/payment/braintree/subscriptions/{subscriptionId}","href":"braintree-payments/cancelbraintreesubscription","openApiOperationId":"cancelBraintreeSubscription","summary":"Cancel the Braintree subscription","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"404","description":"Not Found","headers":{}},{"code":"409","description":"Conflict","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscriptions~1{subscriptionId}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/cancelbraintreesubscription"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/subscriptions/{subscriptionId}"},{"label":"Create a Braintree buy (one-off)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/createbraintreebuyoneoff","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/createbraintreebuyoneoff","metadata":{"seo":{"title":"Create a Braintree buy (one-off)","description":"Uses the payment info captured by the braintree drop-in UI and encoded in the payment nonce to create a braintree customer and issue a one-off payment. When braintree responds successfully, the logged-in user will be granted all entitlements in the product's associated bundle."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createBraintreeBuyOneOff","name":"Create a Braintree buy (one-off)","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1buy/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a Braintree buy (one-off)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Uses the payment info captured by the braintree drop-in UI and encoded in the payment nonce to create a braintree customer and issue a one-off payment.\nWhen braintree responds successfully, the logged-in user will be granted all entitlements in the product's associated bundle.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1payment~1braintree~1buy/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_13"}},"schemaId":"schema_13","pointer":"/paths/~1blaize~1payment~1braintree~1buy/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/payment/braintree/buy","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_13"}},"responseCodes":["200","400","401","404"],"pointer":"/blaize/payment/braintree/buy","href":"braintree-payments/createbraintreebuyoneoff","openApiOperationId":"createBraintreeBuyOneOff","summary":"Create a Braintree buy (one-off)","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_13","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_13"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_14","exampleIds":["paths/~1blaize~1payment~1braintree~1buy/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_14","exampleIds":["paths/~1blaize~1payment~1braintree~1buy/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1buy/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_14","exampleIds":["paths/~1blaize~1payment~1braintree~1buy/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_14","exampleIds":["paths/~1blaize~1payment~1braintree~1buy/post/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/createbraintreebuyoneoff"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/buy"},{"label":"List Braintree payment methods","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/listbraintreeuserpaymentmethods","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/listbraintreeuserpaymentmethods","metadata":{"seo":{"title":"List Braintree payment methods","description":"Lists the Braintree payment method details associated with the logged-in user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listBraintreeUserPaymentMethods","name":"List Braintree payment methods","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List Braintree payment methods","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Lists the Braintree payment method details associated with the logged-in user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/payment/braintree/payment-methods","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/zephr/payment/braintree/payment-methods","href":"braintree-payments/listbraintreeuserpaymentmethods","openApiOperationId":"listBraintreeUserPaymentMethods","summary":"List Braintree payment methods","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/payment_methods","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/payment_methods","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/payment_methods","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/payment_methods","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods/get/responses/200/content/application~1json/examples/response"]}}},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/listbraintreeuserpaymentmethods"}],"panels":[]}]},"httpPath":"/zephr/payment/braintree/payment-methods"},{"label":"Create a new Braintree payment method.","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/createbraintreeuserpaymentmethod","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/createbraintreeuserpaymentmethod","metadata":{"seo":{"title":"Create a new Braintree payment method.","description":"Creates the Braintree payment method with the associated vaulted nonce, for the authenticated user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createBraintreeUserPaymentMethod","name":"Create a new Braintree payment method.","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a new Braintree payment method.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Creates the Braintree payment method with the associated vaulted nonce, for the authenticated user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","required":true,"example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_15"}},"schemaId":"schema_15","pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/payment/braintree/payment-methods","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":true,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_15"}},"responseCodes":["200","401","404"],"pointer":"/zephr/payment/braintree/payment-methods","href":"braintree-payments/createbraintreeuserpaymentmethod","openApiOperationId":"createBraintreeUserPaymentMethod","summary":"Create a new Braintree payment method.","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_15","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_15"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. A new Braintree payment method has been created for the authenticated user.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/payment_method","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/payment_method","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/payment_method","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/payment_method","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods/post/responses/200/content/application~1json/examples/response"]}}},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/createbraintreeuserpaymentmethod"}],"panels":[]}]},"httpPath":"/zephr/payment/braintree/payment-methods"},{"label":"Update a Braintree payment method","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/updateuserbraintreepaymentmethod","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/updateuserbraintreepaymentmethod","metadata":{"seo":{"title":"Update a Braintree payment method","description":"Updates the Braintree payment method details associated with the logged-in user. The details to update must first be captured from Braintree in a nonce and vaulted."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUserBraintreePaymentMethod","name":"Update a Braintree payment method","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update a Braintree payment method","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Updates the Braintree payment method details associated with the logged-in user.\nThe details to update must first be captured from Braintree in a nonce and vaulted."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"paymentMethodToken","in":"path","schemaId":"schema_0","description":"The unique ID of the payment method.","required":true}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_16"}},"schemaId":"schema_16","pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/zephr/payment/braintree/payment-methods/{paymentMethodToken}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"paymentMethodToken","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_16"}},"responseCodes":["200","400","401","404"],"pointer":"/zephr/payment/braintree/payment-methods/{paymentMethodToken}","href":"braintree-payments/updateuserbraintreepaymentmethod","openApiOperationId":"updateUserBraintreePaymentMethod","summary":"Update a Braintree payment method","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_16","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_16"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/payment_method","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/payment_method","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/payment_method","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/payment_method","exampleIds":["paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/updateuserbraintreepaymentmethod"}],"panels":[]}]},"httpPath":"/zephr/payment/braintree/payment-methods/{paymentMethodToken}"},{"label":"Delete the Braintree payment method","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/deleteuserbraintreepaymentmethod","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/deleteuserbraintreepaymentmethod","metadata":{"seo":{"title":"Delete the Braintree payment method","description":"Deletes the Braintree payment method associated with the provided token."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteUserBraintreePaymentMethod","name":"Delete the Braintree payment method","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete the Braintree payment method","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Deletes the Braintree payment method associated with the provided token."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"paymentMethodToken","in":"path","schemaId":"schema_0","description":"The unique ID of the payment method.","required":true}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/delete/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/zephr/payment/braintree/payment-methods/{paymentMethodToken}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"paymentMethodToken","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["204","401","404"],"pointer":"/zephr/payment/braintree/payment-methods/{paymentMethodToken}","href":"braintree-payments/deleteuserbraintreepaymentmethod","openApiOperationId":"deleteUserBraintreePaymentMethod","summary":"Delete the Braintree payment method","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/deleteuserbraintreepaymentmethod"}],"panels":[]}]},"httpPath":"/zephr/payment/braintree/payment-methods/{paymentMethodToken}"},{"label":"Set the default Braintree payment method","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/setuserdefaultbraintreepaymentmethod","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/setuserdefaultbraintreepaymentmethod","metadata":{"seo":{"title":"Set the default Braintree payment method","description":"Sets the Braintree default payment method for the logged-in user. This must be a valid payment method already associated with the user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setUserDefaultBraintreePaymentMethod","name":"Set the default Braintree payment method","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1braintree~1default-payment-method/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set the default Braintree payment method","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Sets the Braintree default payment method for the logged-in user.\nThis must be a valid payment method already associated with the user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1payment~1braintree~1default-payment-method/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_17"}},"schemaId":"schema_17","pointer":"/paths/~1zephr~1payment~1braintree~1default-payment-method/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/zephr/payment/braintree/default-payment-method","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_17"}},"responseCodes":["204","400","401","404"],"pointer":"/zephr/payment/braintree/default-payment-method","href":"braintree-payments/setuserdefaultbraintreepaymentmethod","openApiOperationId":"setUserDefaultBraintreePaymentMethod","summary":"Set the default Braintree payment method","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_17","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_17"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"No Content","headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1payment~1braintree~1default-payment-method/put/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/setuserdefaultbraintreepaymentmethod"}],"panels":[]}]},"httpPath":"/zephr/payment/braintree/default-payment-method"},{"label":"List all Braintree plans","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/listbraintreeplans","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/listbraintreeplans","metadata":{"seo":{"title":"List all Braintree plans","description":"Lists the plans associated with the identified product. The product ID is required."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listBraintreePlans","name":"List all Braintree plans","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1braintree~1plans/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List all Braintree plans","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Lists the plans associated with the identified product.\nThe product ID is required."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"product_id","in":"query","schemaId":"schema_0","description":"Product ID","required":true}],"pointer":"/paths/~1zephr~1payment~1braintree~1plans/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1payment~1braintree~1plans/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/payment/braintree/plans","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"product_id","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","401","404"],"pointer":"/zephr/payment/braintree/plans","href":"braintree-payments/listbraintreeplans","openApiOperationId":"listBraintreePlans","summary":"List all Braintree plans","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18","exampleIds":["paths/~1zephr~1payment~1braintree~1plans/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_18","exampleIds":["paths/~1zephr~1payment~1braintree~1plans/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1payment~1braintree~1plans/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_18","exampleIds":["paths/~1zephr~1payment~1braintree~1plans/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18","exampleIds":["paths/~1zephr~1payment~1braintree~1plans/get/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/listbraintreeplans"}],"panels":[]}]},"httpPath":"/zephr/payment/braintree/plans"},{"label":"Get a Braintree Promo Code","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/getbraintreepromocode","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/getbraintreepromocode","metadata":{"seo":{"title":"Get a Braintree Promo Code","description":"Gets a Braintree promo code."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getBraintreePromoCode","name":"Get a Braintree Promo Code","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1promo-code/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a Braintree Promo Code","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Gets a Braintree promo code."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"code","in":"query","schemaId":"schema_0","description":"Promo code to lookup by ID.","required":true},{"name":"paymentForm","in":"query","schemaId":"schema_0","description":"Payment form to lookup by slug.","required":true}],"pointer":"/paths/~1blaize~1payment~1braintree~1promo-code/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/payment/braintree/promo-code","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"code","in":"query","required":true,"schemaId":"schema_0"},{"name":"paymentForm","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","401","403","404"],"pointer":"/blaize/payment/braintree/promo-code","href":"braintree-payments/getbraintreepromocode","openApiOperationId":"getBraintreePromoCode","summary":"Get a Braintree Promo Code","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19","exampleIds":["paths/~1blaize~1payment~1braintree~1promo-code/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_19","exampleIds":["paths/~1blaize~1payment~1braintree~1promo-code/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"403","description":"Forbidden","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1promo-code/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_19","exampleIds":["paths/~1blaize~1payment~1braintree~1promo-code/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19","exampleIds":["paths/~1blaize~1payment~1braintree~1promo-code/get/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"401"},{"code":"403"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/getbraintreepromocode"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/promo-code"},{"label":"List Braintree add-ons","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/listbraintreeaddons","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/listbraintreeaddons","metadata":{"seo":{"title":"List Braintree add-ons","description":"Lists the Braintree add-ons."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listBraintreeAddons","name":"List Braintree add-ons","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List Braintree add-ons","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Lists the Braintree add-ons."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"promoCode","in":"path","schemaId":"schema_0","description":"Promo code to lookup by ID.","required":true}],"pointer":"/paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"paymentForm","in":"query","schemaId":"schema_0","description":"Payment form to lookup by slug.","required":true}],"pointer":"/paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/payment/braintree/addons&promoCode={promoCode}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"promoCode","in":"path","required":true,"schemaId":"schema_0"}],"query":[{"name":"paymentForm","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","401","403","404"],"pointer":"/blaize/payment/braintree/addons&promoCode={promoCode}","href":"braintree-payments/listbraintreeaddons","openApiOperationId":"listBraintreeAddons","summary":"List Braintree add-ons","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/add-ons","exampleIds":["paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/add-ons","exampleIds":["paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"403","description":"Forbidden","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/add-ons","exampleIds":["paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/add-ons","exampleIds":["paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"401"},{"code":"403"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/listbraintreeaddons"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/addons&promoCode={promoCode}"},{"label":"Start the Braintree subscription (Deprecated)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/braintree-payments/startbraintreesubscriptiondeprecated","routeSlug":"/zephr-api-reference/zephr-public-api/braintree-payments/startbraintreesubscriptiondeprecated","metadata":{"seo":{"title":"Start the Braintree subscription (Deprecated)","description":"** (Deprecated - use the \"/zephr/subscribe\" operation intead)**Uses the payment info captured by the braintree drop-in UI and encoded in the payment nonce to create a braintree customer in with a recurring payment.When braintree responds successfully, the logged-in user will be temporarily granted all entitlements in the product's associated bundle."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startBraintreeSubscriptionDeprecated","name":"Start the Braintree subscription (Deprecated)","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1braintree~1subscribe/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start the Braintree subscription (Deprecated)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"** (Deprecated - use the \"/zephr/subscribe\" operation intead)**"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Uses the payment info captured by the braintree drop-in UI and encoded in the payment nonce to create a braintree customer in with a recurring payment."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When braintree responds successfully, the logged-in user will be temporarily granted all entitlements in the product's associated bundle."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscribe/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_20"}},"schemaId":"schema_20","pointer":"/paths/~1blaize~1payment~1braintree~1subscribe/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/payment/braintree/subscribe","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_20"}},"responseCodes":["200","400","401"],"pointer":"/blaize/payment/braintree/subscribe","href":"braintree-payments/startbraintreesubscriptiondeprecated","openApiOperationId":"startBraintreeSubscriptionDeprecated","summary":"Start the Braintree subscription (Deprecated)","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_20","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_20"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_21","exampleIds":["paths/~1blaize~1payment~1braintree~1subscribe/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_21","exampleIds":["paths/~1blaize~1payment~1braintree~1subscribe/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}}],"pointer":"/paths/~1blaize~1payment~1braintree~1subscribe/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_21","exampleIds":["paths/~1blaize~1payment~1braintree~1subscribe/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_21","exampleIds":["paths/~1blaize~1payment~1braintree~1subscribe/post/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/braintree-payments/startbraintreesubscriptiondeprecated"}],"panels":[]}]},"httpPath":"/blaize/payment/braintree/subscribe"}],"content":{"contentType":"group","meta":{"name":"Braintree Payments"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Braintree Payments","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/blaize/payment/braintree/token","summary":"Retrieve the Braintree token","prefix":{"name":"get","color":"get"},"badges":[],"link":"/braintree-payments/getbraintreetoken","deprecated":false},{"title":"/blaize/payment/braintree/subscriptionChargedCallback","summary":"Create a subscription charged callback","prefix":{"name":"post","color":"post"},"badges":[],"link":"/braintree-payments/createsubscriptionchargedcallback","deprecated":false},{"title":"/blaize/payment/braintree/subscriptions","summary":"List the Braintree subscriptions of a user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/braintree-payments/listuserbraintreesubscriptions","deprecated":false},{"title":"/blaize/payment/braintree/subscriptions/{subscriptionId}","summary":"Update the Braintree subscription","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/braintree-payments/updatebraintreesubscription","deprecated":false},{"title":"/blaize/payment/braintree/subscriptions/{subscriptionId}","summary":"Cancel the Braintree subscription","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/braintree-payments/cancelbraintreesubscription","deprecated":false},{"title":"/blaize/payment/braintree/buy","summary":"Create a Braintree buy (one-off)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/braintree-payments/createbraintreebuyoneoff","deprecated":false},{"title":"/zephr/payment/braintree/payment-methods","summary":"List Braintree payment methods","prefix":{"name":"get","color":"get"},"badges":[],"link":"/braintree-payments/listbraintreeuserpaymentmethods","deprecated":false},{"title":"/zephr/payment/braintree/payment-methods","summary":"Create a new Braintree payment method.","prefix":{"name":"post","color":"post"},"badges":[],"link":"/braintree-payments/createbraintreeuserpaymentmethod","deprecated":false},{"title":"/zephr/payment/braintree/payment-methods/{paymentMethodToken}","summary":"Update a Braintree payment method","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/braintree-payments/updateuserbraintreepaymentmethod","deprecated":false},{"title":"/zephr/payment/braintree/payment-methods/{paymentMethodToken}","summary":"Delete the Braintree payment method","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/braintree-payments/deleteuserbraintreepaymentmethod","deprecated":false},{"title":"/zephr/payment/braintree/default-payment-method","summary":"Set the default Braintree payment method","prefix":{"name":"put","color":"put"},"badges":[],"link":"/braintree-payments/setuserdefaultbraintreepaymentmethod","deprecated":false},{"title":"/zephr/payment/braintree/plans","summary":"List all Braintree plans","prefix":{"name":"get","color":"get"},"badges":[],"link":"/braintree-payments/listbraintreeplans","deprecated":false},{"title":"/blaize/payment/braintree/promo-code","summary":"Get a Braintree Promo Code","prefix":{"name":"get","color":"get"},"badges":[],"link":"/braintree-payments/getbraintreepromocode","deprecated":false},{"title":"/blaize/payment/braintree/addons&promoCode={promoCode}","summary":"List Braintree add-ons","prefix":{"name":"get","color":"get"},"badges":[],"link":"/braintree-payments/listbraintreeaddons","deprecated":false},{"title":"/blaize/payment/braintree/subscribe","summary":"Start the Braintree subscription (Deprecated)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/braintree-payments/startbraintreesubscriptiondeprecated","deprecated":false}]}]}]}]}},{"type":"group","label":"Browser Feature Transformations","link":"/zephr-api-reference/zephr-public-api/browser-feature-transformations","routeSlug":"/zephr-api-reference/zephr-public-api/browser-feature-transformations","items":[{"label":"Execute Browser feature decisions","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/browser-feature-transformations/executebrowserfeaturesdecisions","routeSlug":"/zephr-api-reference/zephr-public-api/browser-feature-transformations/executebrowserfeaturesdecisions","metadata":{"seo":{"title":"Execute Browser feature decisions","description":"Zephr HTML Features can be run in the browser by calling this API directly or using the Zephr Browser SDK. For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"executeBrowserFeaturesDecisions","name":"Execute Browser feature decisions","isWebhook":false,"pointer":"/paths/~1zephr~1feature-decisions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Execute Browser feature decisions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Zephr HTML Features can be run in the browser by calling this API directly or using the Zephr Browser SDK. For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Providing a JWT"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supply it as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query parameter, an "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-Blaize-Jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header, an "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-Zephr-Jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header, an "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header, or a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie. If more than one is present, the first found in that order is used."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"blaize_session=..."}],"pointer":"/paths/~1zephr~1feature-decisions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_22"}},"schemaId":"schema_22","pointer":"/paths/~1zephr~1feature-decisions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/feature-decisions","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Cookie","in":"header","required":false,"example":"blaize_session=...","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_22"}},"responseCodes":["200"],"pointer":"/zephr/feature-decisions","href":"browser-feature-transformations/executebrowserfeaturesdecisions","openApiOperationId":"executeBrowserFeaturesDecisions","summary":"Execute Browser feature decisions","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_22","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_22"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/browser-features-response","exampleIds":["paths/~1zephr~1feature-decisions/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/browser-features-response","exampleIds":["paths/~1zephr~1feature-decisions/post/responses/200/content/application~1json/examples/response"],"headers":{}}],"pointer":"/paths/~1zephr~1feature-decisions/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/browser-features-response","exampleIds":["paths/~1zephr~1feature-decisions/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/browser-features-response","exampleIds":["paths/~1zephr~1feature-decisions/post/responses/200/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/browser-feature-transformations/executebrowserfeaturesdecisions"}],"panels":[]}]},"httpPath":"/zephr/feature-decisions"},{"label":"Execute Browser feature transformations","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/browser-feature-transformations/executebrowserfeaturetransformations","routeSlug":"/zephr-api-reference/zephr-public-api/browser-feature-transformations/executebrowserfeaturetransformations","metadata":{"seo":{"title":"Execute Browser feature transformations","description":"Zephr HTML Features can be run in the browser by calling this API directly or using the Zephr Browser SDK. For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"executeBrowserFeatureTransformations","name":"Execute Browser feature transformations","isWebhook":false,"pointer":"/paths/~1zephr~1feature-transformations/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Execute Browser feature transformations","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Zephr HTML Features can be run in the browser by calling this API directly or using the Zephr Browser SDK. For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Providing a JWT"},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Supply it as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query parameter, an "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-Blaize-Jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header, an "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"X-Zephr-Jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header, an "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Authorization: Bearer"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header, or a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie. If more than one is present, the first found in that order is used."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"blaize_session=..."}],"pointer":"/paths/~1zephr~1feature-transformations/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_23"}},"schemaId":"schema_23","pointer":"/paths/~1zephr~1feature-transformations/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/feature-transformations","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Cookie","in":"header","required":false,"example":"blaize_session=...","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_23"}},"responseCodes":["200"],"pointer":"/zephr/feature-transformations","href":"browser-feature-transformations/executebrowserfeaturetransformations","openApiOperationId":"executeBrowserFeatureTransformations","summary":"Execute Browser feature transformations","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_23","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_23"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/browser-features-transformations-response","exampleIds":["paths/~1zephr~1feature-transformations/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/browser-features-transformations-response","exampleIds":["paths/~1zephr~1feature-transformations/post/responses/200/content/application~1json/examples/response"],"headers":{}}],"pointer":"/paths/~1zephr~1feature-transformations/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/browser-features-transformations-response","exampleIds":["paths/~1zephr~1feature-transformations/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/browser-features-transformations-response","exampleIds":["paths/~1zephr~1feature-transformations/post/responses/200/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/browser-feature-transformations/executebrowserfeaturetransformations"}],"panels":[]}]},"httpPath":"/zephr/feature-transformations"}],"content":{"contentType":"group","meta":{"name":"Browser Feature Transformations"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Browser Feature Transformations","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/feature-decisions","summary":"Execute Browser feature decisions","prefix":{"name":"post","color":"post"},"badges":[],"link":"/browser-feature-transformations/executebrowserfeaturesdecisions","deprecated":false},{"title":"/zephr/feature-transformations","summary":"Execute Browser feature transformations","prefix":{"name":"post","color":"post"},"badges":[],"link":"/browser-feature-transformations/executebrowserfeaturetransformations","deprecated":false}]}]}]}]}},{"type":"group","label":"Decision Engine","link":"/zephr-api-reference/zephr-public-api/decision-engine","routeSlug":"/zephr-api-reference/zephr-public-api/decision-engine","items":[{"label":"Execute the Decision Engine","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/decision-engine/executedecisionengine","routeSlug":"/zephr-api-reference/zephr-public-api/decision-engine/executedecisionengine","metadata":{"seo":{"title":"Execute the Decision Engine","description":"The Blaize Decision Engine can be invoked via the Public API to calculate an HTTP Response based upon Request-Level Rules created in the Admin Console. This functionality is built into the Blaize Dynamic CDN but the API variant is useful for CMS or edge side integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"executeDecisionEngine","name":"Execute the Decision Engine","isWebhook":false,"pointer":"/paths/~1blaize~1decision-engine/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Execute the Decision Engine","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"\nThe Blaize Decision Engine can be invoked via the Public API to calculate an HTTP Response based upon Request-Level Rules created in the Admin Console. This functionality is built into the Blaize Dynamic CDN but the API variant is useful for CMS or edge side integrations.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_24"}},"schemaId":"schema_24","pointer":"/paths/~1blaize~1decision-engine/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/decision-engine","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_24"}},"responseCodes":["200","409"],"pointer":"/blaize/decision-engine","href":"decision-engine/executedecisionengine","openApiOperationId":"executeDecisionEngine","summary":"Execute the Decision Engine","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_24","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_24"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/access-decision-response","exampleIds":["paths/~1blaize~1decision-engine/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/access-decision-response","exampleIds":["paths/~1blaize~1decision-engine/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"409","description":"Conflict","headers":{}}],"pointer":"/paths/~1blaize~1decision-engine/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/access-decision-response","exampleIds":["paths/~1blaize~1decision-engine/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/access-decision-response","exampleIds":["paths/~1blaize~1decision-engine/post/responses/200/content/application~1json/examples/response"]}}},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/decision-engine/executedecisionengine"}],"panels":[]}]},"httpPath":"/blaize/decision-engine"},{"label":"Retrieve the Decision Engine","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/decision-engine/getdecisionengine","routeSlug":"/zephr-api-reference/zephr-public-api/decision-engine/getdecisionengine","metadata":{"seo":{"title":"Retrieve the Decision Engine","description":"For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getDecisionEngine","name":"Retrieve the Decision Engine","isWebhook":false,"pointer":"/paths/~1blaize~1decision-engine/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the Decision Engine","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"path","in":"query","schemaId":"schema_0","description":"Uniquely identifies the content Zephr is making a decision about. Request rules can be configured to only execute when the request path matches a provided regular expression.","required":true},{"name":"session","in":"query","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Zephr Session ID - same as the blaize_session cookie used by the CDN and authentication endpoints."},"children":[]}]}]}],"required":true},{"name":"foreign_id.xxx","in":"query","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Foreign ID used to identify the user. The foreign system is parsed as the remainder of the parameter key name following 'foreign_id.'"},"children":[]}]}]}],"required":true},{"name":"content_id","in":"query","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Passed as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"metadata.content_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" to the Content API template, used to"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"perform requests to a 3rd party API for additional content"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"information used in making a decision."},"children":[]}]}]}],"required":true},{"name":"jwt","in":"query","schemaId":"schema_0","description":"A JSON Web Token, may include identity or product holding claims.","required":true},{"name":"btr","in":"query","schemaId":"schema_0","description":"A trusted referrer token. If Zephr generates a matching token using path, passed-in Referer header and a configured secret, all entitlements used in this decision will be temporarily granted for this request.","required":true}],"pointer":"/paths/~1blaize~1decision-engine/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/decision-engine","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"path","in":"query","required":true,"schemaId":"schema_0"},{"name":"session","in":"query","required":true,"schemaId":"schema_0"},{"name":"foreign_id.xxx","in":"query","required":true,"schemaId":"schema_0"},{"name":"content_id","in":"query","required":true,"schemaId":"schema_0"},{"name":"jwt","in":"query","required":true,"schemaId":"schema_0"},{"name":"btr","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/blaize/decision-engine","href":"decision-engine/getdecisionengine","openApiOperationId":"getDecisionEngine","summary":"Retrieve the Decision Engine","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Response status and body are determined by the executed rule. If there is an error executing the rule, a 200 will be returned.","headers":{}}],"pointer":"/paths/~1blaize~1decision-engine/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/decision-engine/getdecisionengine"}],"panels":[]}]},"httpPath":"/blaize/decision-engine"}],"content":{"contentType":"group","meta":{"name":"Decision Engine"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Decision Engine","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/blaize/decision-engine","summary":"Execute the Decision Engine","prefix":{"name":"post","color":"post"},"badges":[],"link":"/decision-engine/executedecisionengine","deprecated":false},{"title":"/blaize/decision-engine","summary":"Retrieve the Decision Engine","prefix":{"name":"get","color":"get"},"badges":[],"link":"/decision-engine/getdecisionengine","deprecated":false}]}]}]}]}},{"type":"group","label":"Dynamic Offer Decision Engine","link":"/zephr-api-reference/zephr-public-api/dynamic-offer-decision-engine","routeSlug":"/zephr-api-reference/zephr-public-api/dynamic-offer-decision-engine","items":[{"label":"Process dynamic offer decisions","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/dynamic-offer-decision-engine/processdynamicofferdecisions","routeSlug":"/zephr-api-reference/zephr-public-api/dynamic-offer-decision-engine/processdynamicofferdecisions","metadata":{"seo":{"title":"Process dynamic offer decisions","description":"The Dynamic Offer Decision Engine can be invoked via the Public API to calculate a decision output response based upon each property rule under the Dynamic Offer created in the Zephr Console."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"processDynamicOfferDecisions","name":"Process dynamic offer decisions","isWebhook":false,"pointer":"/paths/~1zephr~1public~1decisions~1v2~1dynamic-offers/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Process dynamic offer decisions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"The Dynamic Offer Decision Engine can be invoked via the Public API to calculate a decision output response based upon each property rule under the Dynamic Offer created in the Zephr Console.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_25"}},"schemaId":"schema_25","pointer":"/paths/~1zephr~1public~1decisions~1v2~1dynamic-offers/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/public/decisions/v2/dynamic-offers","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_25"}},"responseCodes":["200","400"],"pointer":"/zephr/public/decisions/v2/dynamic-offers","href":"dynamic-offer-decision-engine/processdynamicofferdecisions","openApiOperationId":"processDynamicOfferDecisions","summary":"Process dynamic offer decisions","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_25","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_25"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/dynamic-offer-decision-response"}},"schemaId":"components/schemas/dynamic-offer-decision-response","headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1public~1decisions~1v2~1dynamic-offers/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/dynamic-offer-decision-response","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/dynamic-offer-decision-response"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/dynamic-offer-decision-engine/processdynamicofferdecisions"}],"panels":[]}]},"httpPath":"/zephr/public/decisions/v2/dynamic-offers"},{"label":"Validate dynamic offer decisions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/dynamic-offer-decision-engine/validatedynamicofferdecisions","routeSlug":"/zephr-api-reference/zephr-public-api/dynamic-offer-decision-engine/validatedynamicofferdecisions","metadata":{"seo":{"title":"Validate dynamic offer decisions","description":"The Dynamic Offer Decision Engine can be tested via this endpoint to calculate a decision output response based on the criteria of the provided validation ID. Validation criteria is configured on the Zephr Console and determines the version of the dynamic offer being used."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"validateDynamicOfferDecisions","name":"Validate dynamic offer decisions","isWebhook":false,"pointer":"/paths/~1zephr~1public~1decisions~1v2~1dynamic-offers~1{offerId}~1validations~1{validationId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Validate dynamic offer decisions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"The Dynamic Offer Decision Engine can be tested via this endpoint to calculate a decision output response based on the criteria of the provided validation ID.\nValidation criteria is configured on the Zephr Console and determines the version of the dynamic offer being used.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"offerId","in":"path","schemaId":"schema_0","description":"The dynamic offer ID.","required":true},{"name":"validationId","in":"path","schemaId":"schema_0","description":"The dynamic offer validation ID.","required":true}],"pointer":"/paths/~1zephr~1public~1decisions~1v2~1dynamic-offers~1{offerId}~1validations~1{validationId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/decisions/v2/dynamic-offers/{offerId}/validations/{validationId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"offerId","in":"path","required":true,"schemaId":"schema_0"},{"name":"validationId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","404"],"pointer":"/zephr/public/decisions/v2/dynamic-offers/{offerId}/validations/{validationId}","href":"dynamic-offer-decision-engine/validatedynamicofferdecisions","openApiOperationId":"validateDynamicOfferDecisions","summary":"Validate dynamic offer decisions","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/dynamic-offer-decision-response"}},"schemaId":"components/schemas/dynamic-offer-decision-response","headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1public~1decisions~1v2~1dynamic-offers~1{offerId}~1validations~1{validationId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/dynamic-offer-decision-response","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/dynamic-offer-decision-response"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/dynamic-offer-decision-engine/validatedynamicofferdecisions"}],"panels":[]}]},"httpPath":"/zephr/public/decisions/v2/dynamic-offers/{offerId}/validations/{validationId}"}],"content":{"contentType":"group","meta":{"name":"Dynamic Offer Decision Engine"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Dynamic Offer Decision Engine","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/public/decisions/v2/dynamic-offers","summary":"Process dynamic offer decisions","prefix":{"name":"post","color":"post"},"badges":[],"link":"/dynamic-offer-decision-engine/processdynamicofferdecisions","deprecated":false},{"title":"/zephr/public/decisions/v2/dynamic-offers/{offerId}/validations/{validationId}","summary":"Validate dynamic offer decisions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/dynamic-offer-decision-engine/validatedynamicofferdecisions","deprecated":false}]}]}]}]}},{"type":"group","label":"Dynamic Offer Promo Code Decision","link":"/zephr-api-reference/zephr-public-api/dynamic-offer-promo-code-decision","routeSlug":"/zephr-api-reference/zephr-public-api/dynamic-offer-promo-code-decision","items":[{"label":"Process promo code decisions","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/dynamic-offer-promo-code-decision/processpromocodedecisions","routeSlug":"/zephr-api-reference/zephr-public-api/dynamic-offer-promo-code-decision/processpromocodedecisions","metadata":{"seo":{"title":"Process promo code decisions","description":"The Promo Code decision would execute the discount rule defined behind the given promo code, which is configured from the Zephr console.The decision request would require a list of relevant products with its pricing data, typically it would have come from a Dynamic Offer decision response.The Promo Code decision would generate decision response like a regular Dynamic Offer, but with the discount output according to the Promo Code's discount rule."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"processPromoCodeDecisions","name":"Process promo code decisions","isWebhook":false,"pointer":"/paths/~1zephr~1public~1decisions~1v1~1promo-codes/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Process promo code decisions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Promo Code decision would execute the discount rule defined behind the given promo code, which is configured from the Zephr console."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The decision request would require a list of relevant products with its pricing data, typically it would have come from a Dynamic Offer decision response."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The Promo Code decision would generate decision response like a regular Dynamic Offer, but with the discount output according to the Promo Code's discount rule."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Alternatively, if configured and the feature is enabled, this api can execute a dynamic offer rule that is linked to this promo code. Selected products are not required for executing promo codes using this method."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Parameters supplied to the dynamic offers decisions api can also be supplied to this api for this promo code flow (session, foreign_keys, etc)."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_26"}},"schemaId":"schema_26","pointer":"/paths/~1zephr~1public~1decisions~1v1~1promo-codes/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/public/decisions/v1/promo-codes","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_26"}},"responseCodes":["200","400","404"],"pointer":"/zephr/public/decisions/v1/promo-codes","href":"dynamic-offer-promo-code-decision/processpromocodedecisions","openApiOperationId":"processPromoCodeDecisions","summary":"Process promo code decisions","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_26","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_26"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/dynamic-offer-decision-response"}},"schemaId":"components/schemas/dynamic-offer-decision-response","headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1public~1decisions~1v1~1promo-codes/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/dynamic-offer-decision-response","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/dynamic-offer-decision-response"}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/dynamic-offer-promo-code-decision/processpromocodedecisions"}],"panels":[]}]},"httpPath":"/zephr/public/decisions/v1/promo-codes"}],"content":{"contentType":"group","meta":{"name":"Dynamic Offer Promo Code Decision"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Dynamic Offer Promo Code Decision","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/public/decisions/v1/promo-codes","summary":"Process promo code decisions","prefix":{"name":"post","color":"post"},"badges":[],"link":"/dynamic-offer-promo-code-decision/processpromocodedecisions","deprecated":false}]}]}]}]}},{"type":"group","label":"OAuth Flow","link":"/zephr-api-reference/zephr-public-api/oauth-flow","routeSlug":"/zephr-api-reference/zephr-public-api/oauth-flow","items":[{"label":"Start an OAuth flow","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/oauth-flow/startoauthflow","routeSlug":"/zephr-api-reference/zephr-public-api/oauth-flow/startoauthflow","metadata":{"seo":{"title":"Start an OAuth flow","description":"Starts the OAuth flow."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startOAuthFlow","name":"Start an OAuth flow","isWebhook":false,"pointer":"/paths/~1blaize~1oauth~1state/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start an OAuth flow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Starts the OAuth flow."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_27"}},"schemaId":"schema_27","pointer":"/paths/~1blaize~1oauth~1state/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/oauth/state","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_27"}},"responseCodes":["200"],"pointer":"/blaize/oauth/state","href":"oauth-flow/startoauthflow","openApiOperationId":"startOAuthFlow","summary":"Start an OAuth flow","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_27","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_27"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/oauth-state-response","exampleIds":["paths/~1blaize~1oauth~1state/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/oauth-state-response","exampleIds":["paths/~1blaize~1oauth~1state/post/responses/200/content/application~1json/examples/response"],"headers":{}}],"pointer":"/paths/~1blaize~1oauth~1state/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/oauth-state-response","exampleIds":["paths/~1blaize~1oauth~1state/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/oauth-state-response","exampleIds":["paths/~1blaize~1oauth~1state/post/responses/200/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/oauth-flow/startoauthflow"}],"panels":[]}]},"httpPath":"/blaize/oauth/state"},{"label":"Create a callback for the Google OAuth flow","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/oauth-flow/creategoogleoauthflow","routeSlug":"/zephr-api-reference/zephr-public-api/oauth-flow/creategoogleoauthflow","metadata":{"seo":{"title":"Create a callback for the Google OAuth flow","description":"Callback for Google OAuth Flow."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createGoogleOAuthFlow","name":"Create a callback for the Google OAuth flow","isWebhook":false,"pointer":"/paths/~1blaize~1oauth~1google~1callback/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a callback for the Google OAuth flow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Callback for Google OAuth Flow."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"code","in":"query","schemaId":"schema_0","description":"OAuth code","required":true}],"pointer":"/paths/~1blaize~1oauth~1google~1callback/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/oauth/google/callback","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"code","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["302"],"pointer":"/blaize/oauth/google/callback","href":"oauth-flow/creategoogleoauthflow","openApiOperationId":"createGoogleOAuthFlow","summary":"Create a callback for the Google OAuth flow","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"302","description":"Found","headers":{"Location":{"schema":{"type":"string"}},"Set-Cookie":{"schema":{"type":"string"}}},"headerSchemaId":"schema_3"}],"pointer":"/paths/~1blaize~1oauth~1google~1callback/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/oauth-flow/creategoogleoauthflow"}],"panels":[]}]},"httpPath":"/blaize/oauth/google/callback"},{"label":"Create a callback for the Facebook OAuth flow","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/oauth-flow/createfacebookoauthflow","routeSlug":"/zephr-api-reference/zephr-public-api/oauth-flow/createfacebookoauthflow","metadata":{"seo":{"title":"Create a callback for the Facebook OAuth flow","description":"Callback for Facebook OAuth flow."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createFacebookOAuthFlow","name":"Create a callback for the Facebook OAuth flow","isWebhook":false,"pointer":"/paths/~1blaize~1oauth~1facebook~1callback/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a callback for the Facebook OAuth flow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Callback for Facebook OAuth flow."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"code","in":"query","schemaId":"schema_0","description":"OAuth code","required":true}],"pointer":"/paths/~1blaize~1oauth~1facebook~1callback/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/oauth/facebook/callback","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"code","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["302"],"pointer":"/blaize/oauth/facebook/callback","href":"oauth-flow/createfacebookoauthflow","openApiOperationId":"createFacebookOAuthFlow","summary":"Create a callback for the Facebook OAuth flow","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"302","description":"Found","headers":{"Location":{"schema":{"type":"string"}},"Set-Cookie":{"schema":{"type":"string"}}},"headerSchemaId":"schema_3"}],"pointer":"/paths/~1blaize~1oauth~1facebook~1callback/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/oauth-flow/createfacebookoauthflow"}],"panels":[]}]},"httpPath":"/blaize/oauth/facebook/callback"},{"label":"Create a callback for the Linkedin OAuth flow","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/oauth-flow/createlinkedinoauthflow","routeSlug":"/zephr-api-reference/zephr-public-api/oauth-flow/createlinkedinoauthflow","metadata":{"seo":{"title":"Create a callback for the Linkedin OAuth flow","description":"Callback for Linkedin OAuth flow."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createLinkedinOAuthFlow","name":"Create a callback for the Linkedin OAuth flow","isWebhook":false,"pointer":"/paths/~1blaize~1oauth~1linkedin~1callback/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a callback for the Linkedin OAuth flow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Callback for Linkedin OAuth flow."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"code","in":"query","schemaId":"schema_0","description":"OAuth code","required":true}],"pointer":"/paths/~1blaize~1oauth~1linkedin~1callback/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/oauth/linkedin/callback","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"code","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["302"],"pointer":"/blaize/oauth/linkedin/callback","href":"oauth-flow/createlinkedinoauthflow","openApiOperationId":"createLinkedinOAuthFlow","summary":"Create a callback for the Linkedin OAuth flow","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"302","description":"Found","headers":{"Location":{"schema":{"type":"string"}},"Set-Cookie":{"schema":{"type":"string"}}},"headerSchemaId":"schema_3"}],"pointer":"/paths/~1blaize~1oauth~1linkedin~1callback/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/oauth-flow/createlinkedinoauthflow"}],"panels":[]}]},"httpPath":"/blaize/oauth/linkedin/callback"}],"content":{"contentType":"group","meta":{"name":"OAuth Flow"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"OAuth Flow","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/blaize/oauth/state","summary":"Start an OAuth flow","prefix":{"name":"post","color":"post"},"badges":[],"link":"/oauth-flow/startoauthflow","deprecated":false},{"title":"/blaize/oauth/google/callback","summary":"Create a callback for the Google OAuth flow","prefix":{"name":"get","color":"get"},"badges":[],"link":"/oauth-flow/creategoogleoauthflow","deprecated":false},{"title":"/blaize/oauth/facebook/callback","summary":"Create a callback for the Facebook OAuth flow","prefix":{"name":"get","color":"get"},"badges":[],"link":"/oauth-flow/createfacebookoauthflow","deprecated":false},{"title":"/blaize/oauth/linkedin/callback","summary":"Create a callback for the Linkedin OAuth flow","prefix":{"name":"get","color":"get"},"badges":[],"link":"/oauth-flow/createlinkedinoauthflow","deprecated":false}]}]}]}]}},{"type":"group","label":"Payments","link":"/zephr-api-reference/zephr-public-api/payments","routeSlug":"/zephr-api-reference/zephr-public-api/payments","items":[{"label":"Start the subscription","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/payments/startsubscription","routeSlug":"/zephr-api-reference/zephr-public-api/payments/startsubscription","metadata":{"seo":{"title":"Start the subscription","description":"Uses the payment info captured by the payment provider drop-in UI and create a customer with a recurring payment. When the payment provider responds successfully, the logged-in user will be temporarily granted all entitlements in the product's associated bundle."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startSubscription","name":"Start the subscription","isWebhook":false,"pointer":"/paths/~1zephr~1subscribe/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start the subscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Uses the payment info captured by the payment provider drop-in UI and create a customer with a recurring payment.\nWhen the payment provider responds successfully, the logged-in user will be temporarily granted all entitlements in the product's associated bundle.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1subscribe/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_28"}},"schemaId":"schema_28","pointer":"/paths/~1zephr~1subscribe/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/subscribe","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_28"}},"responseCodes":["200","400","401","403"],"pointer":"/zephr/subscribe","href":"payments/startsubscription","openApiOperationId":"startSubscription","summary":"Start the subscription","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_28","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_28"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_29","exampleIds":["paths/~1zephr~1subscribe/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_29","exampleIds":["paths/~1zephr~1subscribe/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"403","description":"Forbidden","headers":{}}],"pointer":"/paths/~1zephr~1subscribe/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_29","exampleIds":["paths/~1zephr~1subscribe/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_29","exampleIds":["paths/~1zephr~1subscribe/post/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"401"},{"code":"403"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payments/startsubscription"}],"panels":[]}]},"httpPath":"/zephr/subscribe"},{"label":"Update the subscription","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/payments/changesubscription","routeSlug":"/zephr-api-reference/zephr-public-api/payments/changesubscription","metadata":{"seo":{"title":"Update the subscription","description":"Updates an existing subscription to change the associated product and plan. Updating the subscription may modify the price of the subscription, and if so the balance will be billed immediately at a pro-rated amount. Parameters specific to the vendor may be specified to change the payment method for the subscription. Changing to a plan with a different billing frequency from the existing subscription is not supported for some payment providers (Braintree)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"changeSubscription","name":"Update the subscription","isWebhook":false,"pointer":"/paths/~1zephr~1subscriptions~1:subscriptionId/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update the subscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Updates an existing subscription to change the associated product and plan. Updating the subscription may modify the price of the subscription, and if so the balance will be billed immediately at a pro-rated amount. Parameters specific to the vendor may be specified to change the payment method for the subscription. Changing to a plan with a different billing frequency from the existing subscription is not supported for some payment providers (Braintree)."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1subscriptions~1:subscriptionId/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_30"}},"schemaId":"schema_30","pointer":"/paths/~1zephr~1subscriptions~1:subscriptionId/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/zephr/subscriptions/:subscriptionId","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_30"}},"responseCodes":["200","400","401","404"],"pointer":"/zephr/subscriptions/:subscriptionId","href":"payments/changesubscription","openApiOperationId":"changeSubscription","summary":"Update the subscription","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_30","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_30"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_21","exampleIds":["paths/~1zephr~1subscriptions~1:subscriptionId/patch/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_21","exampleIds":["paths/~1zephr~1subscriptions~1:subscriptionId/patch/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1subscriptions~1:subscriptionId/patch/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_21","exampleIds":["paths/~1zephr~1subscriptions~1:subscriptionId/patch/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_21","exampleIds":["paths/~1zephr~1subscriptions~1:subscriptionId/patch/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/payments/changesubscription"}],"panels":[]}]},"httpPath":"/zephr/subscriptions/:subscriptionId"}],"content":{"contentType":"group","meta":{"name":"Payments"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Payments","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/subscribe","summary":"Start the subscription","prefix":{"name":"post","color":"post"},"badges":[],"link":"/payments/startsubscription","deprecated":false},{"title":"/zephr/subscriptions/:subscriptionId","summary":"Update the subscription","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/payments/changesubscription","deprecated":false}]}]}]}]}},{"type":"group","label":"Product Sharing","link":"/zephr-api-reference/zephr-public-api/product-sharing","routeSlug":"/zephr-api-reference/zephr-public-api/product-sharing","items":[{"label":"Retrieve the product sharing summary","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/product-sharing/getproductsharingsummary","routeSlug":"/zephr-api-reference/zephr-public-api/product-sharing/getproductsharingsummary","metadata":{"seo":{"title":"Retrieve the product sharing summary","description":"Retrieves a summary of the products that the current user shares with other users, and products that are shared with the current user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getProductSharingSummary","name":"Retrieve the product sharing summary","isWebhook":false,"pointer":"/paths/~1zephr~1public~1products~1v1~1shares/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the product sharing summary","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves a summary of the products that the current user shares with other users, and products that are shared with the current user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/products/v1/shares","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/zephr/public/products/v1/shares","href":"product-sharing/getproductsharingsummary","openApiOperationId":"getProductSharingSummary","summary":"Retrieve the product sharing summary","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/product_sharing_response","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/product_sharing_response","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"403","description":"Forbidden","headers":{}}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/product_sharing_response","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/product_sharing_response","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares/get/responses/200/content/application~1json/examples/response"]}}},{"code":"401"},{"code":"403"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/product-sharing/getproductsharingsummary"}],"panels":[]}]},"httpPath":"/zephr/public/products/v1/shares"},{"label":"Delete the product sharing by ID","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/product-sharing/deleteuserproductsharing","routeSlug":"/zephr-api-reference/zephr-public-api/product-sharing/deleteuserproductsharing","metadata":{"seo":{"title":"Delete the product sharing by ID","description":"Deletes a user product share by ID. Pending invites and accepted shares can be deleted. Invoking this method will increase the number of shares that the user has available for the given product. If the sharing_id corresponds to an accepted share, the member will immediately lose access to the product unless they have separate access. The member will receive an email notification about their removal.  This email can be configured in the Admin Console."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteUserProductSharing","name":"Delete the product sharing by ID","isWebhook":false,"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1{sharing_id}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete the product sharing by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deletes a user product share by ID. Pending invites and accepted shares can be deleted. Invoking this method will increase the number of shares that the user has available for the given product. If the sharing_id corresponds to an accepted share, the member will immediately lose access to the product unless they have separate access. The member will receive an email notification about their removal.  This email can be configured in the Admin Console."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"sharing_id","in":"path","schemaId":"schema_0","description":"The ID of the user product share to delete.","required":true,"example":"0nasdj-aso25-6454"}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1{sharing_id}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/zephr/public/products/v1/shares/{sharing_id}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"sharing_id","in":"path","required":true,"example":"0nasdj-aso25-6454","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/zephr/public/products/v1/shares/{sharing_id}","href":"product-sharing/deleteuserproductsharing","openApiOperationId":"deleteUserProductSharing","summary":"Delete the product sharing by ID","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"404","description":"Product share ID not found","headers":{}}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1{sharing_id}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/product-sharing/deleteuserproductsharing"}],"panels":[]}]},"httpPath":"/zephr/public/products/v1/shares/{sharing_id}"},{"label":"Create a product sharing invite via Email","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/product-sharing/createproductsharinginviteviaemail","routeSlug":"/zephr-api-reference/zephr-public-api/product-sharing/createproductsharinginviteviaemail","metadata":{"seo":{"title":"Create a product sharing invite via Email","description":"Creates a new user product share and send it via email. The exact contents of this email are configurable in the admin console. The email may include a link composed of the required attribute base_url and an additional path parameter sharing_id. It is expected that the specified base_url will direct invite recipients to a page that allows them to accept the invite and register/login. Custom metadata can also be passed to this method, which will be made available in the invitation email template and any later calls to access the publicly available share data. This metadata can be used, for example, to include the product owner's first name and a personalised message that is shown to the recipient in the invitation email and in a screen that allows the recipient to accept the invite. Invoking this method will reduce the number of shares that the user has available for the given product. The specified product must be shareable, the current user must have active grants for the product and must not have already exceeded the configured maximum number of shares for the product."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createProductSharingInviteViaEmail","name":"Create a product sharing invite via Email","isWebhook":false,"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a product sharing invite via Email","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creates a new user product share and send it via email. The exact contents of this email are configurable in the admin console. The email may include a link composed of the required attribute "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"base_url"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and an additional path parameter "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"sharing_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". It is expected that the specified "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"base_url"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" will direct invite recipients to a page that allows them to accept the invite and register/login. Custom metadata can also be passed to this method, which will be made available in the invitation email template and any later calls to access the publicly available share data. This metadata can be used, for example, to include the product owner's first name and a personalised message that is shown to the recipient in the invitation email and in a screen that allows the recipient to accept the invite. Invoking this method will reduce the number of shares that the user has available for the given product. The specified product must be shareable, the current user must have active grants for the product and must not have already exceeded the configured maximum number of shares for the product."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_31"}},"schemaId":"schema_31","pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/public/products/v1/shares/invitations/emails","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_31"}},"responseCodes":["200","400","403","404","409"],"pointer":"/zephr/public/products/v1/shares/invitations/emails","href":"product-sharing/createproductsharinginviteviaemail","openApiOperationId":"createProductSharingInviteViaEmail","summary":"Create a product sharing invite via Email","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_31","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_31"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_32","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_32","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request. Also returned if the product is not shareable.","headers":{}},{"code":"403","description":"Forbidden","headers":{}},{"code":"404","description":"Product ID not found.","headers":{}},{"code":"409","description":"Conflict. There already is a sharing invite for this product and email.","headers":{}}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_32","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_32","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"403"},{"code":"404"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/product-sharing/createproductsharinginviteviaemail"}],"panels":[]}]},"httpPath":"/zephr/public/products/v1/shares/invitations/emails"},{"label":"Create a product share invite token","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/product-sharing/createproductshareinvitetoken","routeSlug":"/zephr-api-reference/zephr-public-api/product-sharing/createproductshareinvitetoken","metadata":{"seo":{"title":"Create a product share invite token","description":"Creates a new user product share. Invoking this method will reduce the number of shares that the user has available for the given product. The returned token sharing ID can later be passed to the accept invite method. Custom metadata can also be passed to this method, which will be made available in later calls to access the publicly available share data. This metadata can be used, for example, to include the product owner's first name and a personalised message that is shown to the recipient in a screen that allows the recipient to accept the invite. Invoking this method will reduce the number of shares that the user has available for the given product. The specified product must be shareable, the current user must have active grants for the product and must not have already exceeded the configured maximum number of shares for the product."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createProductShareInviteToken","name":"Create a product share invite token","isWebhook":false,"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a product share invite token","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Creates a new user product share. Invoking this method will reduce the number of shares that the user has available for the given product. The returned token sharing ID can later be passed to the accept invite method. Custom metadata can also be passed to this method, which will be made available in later calls to access the publicly available share data. This metadata can be used, for example, to include the product owner's first name and a personalised message that is shown to the recipient in a screen that allows the recipient to accept the invite. Invoking this method will reduce the number of shares that the user has available for the given product. The specified product must be shareable, the current user must have active grants for the product and must not have already exceeded the configured maximum number of shares for the product."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_33"}},"schemaId":"schema_33","pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/public/products/v1/shares/invitations/tokens","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_33"}},"responseCodes":["200","400","403","404","409"],"pointer":"/zephr/public/products/v1/shares/invitations/tokens","href":"product-sharing/createproductshareinvitetoken","openApiOperationId":"createProductShareInviteToken","summary":"Create a product share invite token","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_33","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_33"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_32","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_32","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request. Also returned if the product is not shareable.","headers":{}},{"code":"403","description":"Forbidden","headers":{}},{"code":"404","description":"Product ID not found.","headers":{}},{"code":"409","description":"Conflict. There already is a sharing invite for this product and email.","headers":{}}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_32","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_32","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post/responses/200/content/application~1json/examples/response"]}}},{"code":"400"},{"code":"403"},{"code":"404"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/product-sharing/createproductshareinvitetoken"}],"panels":[]}]},"httpPath":"/zephr/public/products/v1/shares/invitations/tokens"},{"label":"Retrieve the product share invite public data","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/product-sharing/getproductshareinvitepublicdata","routeSlug":"/zephr-api-reference/zephr-public-api/product-sharing/getproductshareinvitepublicdata","metadata":{"seo":{"title":"Retrieve the product share invite public data","description":"Retrieves the publicly accessible data relating to a user product share invite. This can be used to inform the invitee of the details of the product that is being shared, and any meta_data added at the point of invite creation, such as the name of the user that sent the invite.This endpoint is not authenticated. The information provided by this endpoint is available to anyone with a valid sharing_id.Invoking this endpoint too rapidly will result in a 429 error response."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getProductShareInvitePublicData","name":"Retrieve the product share invite public data","isWebhook":false,"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the product share invite public data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieves the publicly accessible data relating to a user product share invite. This can be used to inform the invitee of the details of the product that is being shared, and any meta_data added at the point of invite creation, such as the name of the user that sent the invite."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is not authenticated. The information provided by this endpoint is available to anyone with a valid "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"sharing_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Invoking this endpoint too rapidly will result in a 429 error response."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"sharing_id","in":"path","schemaId":"schema_0","description":"The ID of the user product sharing invite.","required":true,"example":"0nasdj-aso25-6454"}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/products/v1/shares/invitations/{sharing_id}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"sharing_id","in":"path","required":true,"example":"0nasdj-aso25-6454","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","404","429"],"pointer":"/zephr/public/products/v1/shares/invitations/{sharing_id}","href":"product-sharing/getproductshareinvitepublicdata","openApiOperationId":"getProductShareInvitePublicData","summary":"Retrieve the product share invite public data","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_34","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_34","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"404","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Not Found - No product share invite found with the supplied "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"sharing_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"headers":{}},{"code":"429","description":"Too Many Requests","headers":{}}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_34","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_34","exampleIds":["paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get/responses/200/content/application~1json/examples/response"]}}},{"code":"404"},{"code":"429"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/product-sharing/getproductshareinvitepublicdata"}],"panels":[]}]},"httpPath":"/zephr/public/products/v1/shares/invitations/{sharing_id}"},{"label":"Accept a product share invite","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/product-sharing/acceptproductshareinvite","routeSlug":"/zephr-api-reference/zephr-public-api/product-sharing/acceptproductshareinvite","metadata":{"seo":{"title":"Accept a product share invite","description":"Accepts a product sharing invite. The current user will gain access to the product linked to the sharing invite. The user that send the invite must have an active grant for the product at the point of acceptance. If the current user already has a product share for the same product from the same product owner, an error code 409 will be returned and the invite will not be accepted."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"acceptProductShareInvite","name":"Accept a product share invite","isWebhook":false,"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accept a product share invite","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Accepts a product sharing invite. The current user will gain access to the product linked to the sharing invite. The user that send the invite must have an active grant for the product at the point of acceptance. If the current user already has a product share for the same product from the same product owner, an error code 409 will be returned and the invite will not be accepted."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"sharing_id","in":"path","schemaId":"schema_0","description":"The ID of the user product sharing invite.","required":true,"example":"0nasdj-aso25-6454"}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/zephr/public/products/v1/shares/invitations/{sharing_id}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"sharing_id","in":"path","required":true,"example":"0nasdj-aso25-6454","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","404","409"],"pointer":"/zephr/public/products/v1/shares/invitations/{sharing_id}","href":"product-sharing/acceptproductshareinvite","openApiOperationId":"acceptProductShareInvite","summary":"Accept a product share invite","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"400","description":"Bad request","headers":{}},{"code":"404","description":"Product share ID or product ID not found.","headers":{}},{"code":"409","description":"Conflict. The current user already has a product share for the same product from the same product owner.","headers":{}}],"pointer":"/paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/put/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/product-sharing/acceptproductshareinvite"}],"panels":[]}]},"httpPath":"/zephr/public/products/v1/shares/invitations/{sharing_id}"}],"content":{"contentType":"group","meta":{"name":"Product Sharing"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Product Sharing","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/public/products/v1/shares","summary":"Retrieve the product sharing summary","prefix":{"name":"get","color":"get"},"badges":[],"link":"/product-sharing/getproductsharingsummary","deprecated":false},{"title":"/zephr/public/products/v1/shares/{sharing_id}","summary":"Delete the product sharing by ID","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/product-sharing/deleteuserproductsharing","deprecated":false},{"title":"/zephr/public/products/v1/shares/invitations/emails","summary":"Create a product sharing invite via Email","prefix":{"name":"post","color":"post"},"badges":[],"link":"/product-sharing/createproductsharinginviteviaemail","deprecated":false},{"title":"/zephr/public/products/v1/shares/invitations/tokens","summary":"Create a product share invite token","prefix":{"name":"post","color":"post"},"badges":[],"link":"/product-sharing/createproductshareinvitetoken","deprecated":false},{"title":"/zephr/public/products/v1/shares/invitations/{sharing_id}","summary":"Retrieve the product share invite public data","prefix":{"name":"get","color":"get"},"badges":[],"link":"/product-sharing/getproductshareinvitepublicdata","deprecated":false},{"title":"/zephr/public/products/v1/shares/invitations/{sharing_id}","summary":"Accept a product share invite","prefix":{"name":"put","color":"put"},"badges":[],"link":"/product-sharing/acceptproductshareinvite","deprecated":false}]}]}]}]}},{"type":"group","label":"SDK Feature Decision Engine","link":"/zephr-api-reference/zephr-public-api/sdk-feature-decision-engine","routeSlug":"/zephr-api-reference/zephr-public-api/sdk-feature-decision-engine","items":[{"label":"Process multiple decisions","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/sdk-feature-decision-engine/processmultipledecisions","routeSlug":"/zephr-api-reference/zephr-public-api/sdk-feature-decision-engine/processmultipledecisions","metadata":{"seo":{"title":"Process multiple decisions","description":"Processes multiple decisions. The SDK Feature Decision Engine can be invoked via the Public API to calculate a decision output response based upon Feature SDK Rules created in the Zephr Console."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"processMultipleDecisions","name":"Process multiple decisions","isWebhook":false,"pointer":"/paths/~1zephr~1decide/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Process multiple decisions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Processes multiple decisions. The SDK Feature Decision Engine can be invoked via the Public API to calculate a decision output response based upon Feature SDK Rules created in the Zephr Console.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_35"}},"schemaId":"schema_35","pointer":"/paths/~1zephr~1decide/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/decide","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_35"}},"responseCodes":["200","400"],"pointer":"/zephr/decide","href":"sdk-feature-decision-engine/processmultipledecisions","openApiOperationId":"processMultipleDecisions","summary":"Process multiple decisions","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_35","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_35"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/feature-decisions-response","exampleIds":["paths/~1zephr~1decide/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/feature-decisions-response","exampleIds":["paths/~1zephr~1decide/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1decide/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/feature-decisions-response","exampleIds":["paths/~1zephr~1decide/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/feature-decisions-response","exampleIds":["paths/~1zephr~1decide/post/responses/200/content/application~1json/examples/response"]}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sdk-feature-decision-engine/processmultipledecisions"}],"panels":[]}]},"httpPath":"/zephr/decide"},{"label":"Process a single decision","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/sdk-feature-decision-engine/processsingledecision","routeSlug":"/zephr-api-reference/zephr-public-api/sdk-feature-decision-engine/processsingledecision","metadata":{"seo":{"title":"Process a single decision","description":"Processes a single SDK feature decision. An SDK feature rule can be configured in the console, and allows a custom decision to be made using a range of inputs to drive the behaviour of a website or app. SDK features can output any one of several data types as configured in the console."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"processSingleDecision","name":"Process a single decision","isWebhook":false,"pointer":"/paths/~1zephr~1decision-engine/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Process a single decision","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Processes a single SDK feature decision. An SDK feature rule can be configured in the console, and allows a custom decision to be made using a range of inputs to drive the behaviour of a website or app. SDK features can output any one of several data types as configured in the console."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"String: The output can be any string."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Number: The output can be any numerical value"},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Enum: The output can be one of a list of strings as configured in the developer panel for the rule. This is used for short output strings."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Component: The output can be one of a list of strings as configured in the developer panel for the rule. This is used for long output strings, such as HTML or JSON."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"JSON: The output can be any JSON object. JSON schema validation can optionally be enforced when creating JSON outputs in the console."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Transformation: The output will be a JSON array of transformations to be applied to content on a webpage or in an app. This allows the configuration of the same types of outcomes that can be built with an HTML feature rule, such as hiding content and displaying a payment form."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"SDK features permit business decisions to drive access or behaviour to be made in an app that is not using HTML content. SDK decisions are relevant for both anonymous and authenticated sessions. If no session is provided via the request then an anonymous session will not be created."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Invoking an SDK decision may cause side effects as configured in the rule, such as invoking webhooks or recording trial usages. When "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"dryRunMode"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is enabled in the request, trial usages will not be recorded."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"raw","in":"query","schemaId":"schema_36","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If set to true, then the decision output will be returned in it's raw form, without metadata. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" If set to false, the decision output will be returned in an escaped form together with metadata about the decision."},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1zephr~1decision-engine/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_37"}},"schemaId":"schema_37","pointer":"/paths/~1zephr~1decision-engine/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/decision-engine","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"raw","in":"query","required":true,"schemaId":"schema_36"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_37"}},"responseCodes":["200"],"pointer":"/zephr/decision-engine","href":"sdk-feature-decision-engine/processsingledecision","openApiOperationId":"processSingleDecision","summary":"Process a single decision","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_37","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_37"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OK. The output of the SDK feature rule, which may be wrapped with metadata according to the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"raw"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" query parameter value."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json","none"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/feature-decision-response","exampleIds":["paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/success","paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/error"]},"none":{"schemaId":"components/schemas/feature-decision-response-raw","exampleIds":["paths/~1zephr~1decision-engine/post/responses/200/content/none/examples/string","paths/~1zephr~1decision-engine/post/responses/200/content/none/examples/json"]}},"schemaId":"components/schemas/feature-decision-response","exampleIds":["paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/success","paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/error"],"headers":{}}],"pointer":"/paths/~1zephr~1decision-engine/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/feature-decision-response","exampleIds":["paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/success","paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/error"],"mediaTypes":["application/json","none"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/feature-decision-response","exampleIds":["paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/success","paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/error"]},"none":{"schemaId":"components/schemas/feature-decision-response-raw","exampleIds":["paths/~1zephr~1decision-engine/post/responses/200/content/none/examples/string","paths/~1zephr~1decision-engine/post/responses/200/content/none/examples/json"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sdk-feature-decision-engine/processsingledecision"}],"panels":[]}]},"httpPath":"/zephr/decision-engine"},{"label":"Retrieve a single decision","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/sdk-feature-decision-engine/getsingledecision","routeSlug":"/zephr-api-reference/zephr-public-api/sdk-feature-decision-engine/getsingledecision","metadata":{"seo":{"title":"Retrieve a single decision","description":"For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSingleDecision","name":"Retrieve a single decision","isWebhook":false,"pointer":"/paths/~1zephr~1decision-engine/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve a single decision","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"sdkFeatureSlug","in":"query","schemaId":"schema_0","description":"Feature SDK slug","required":true,"example":"featureX"},{"name":"session","in":"query","schemaId":"schema_0","description":"Zephr Session ID, required for trials.","required":true,"example":"xxx-xxx-xxx"},{"name":"foreign_id.xxx","in":"query","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Foreign ID used to identify the user. The foreign system is parsed as the remainder of the parameter key name following 'foreign_id.'"},"children":[]}]}]}],"required":true,"example":"xxx-xxx-xxx"},{"name":"ip","in":"query","schemaId":"schema_0","description":"Client IP address, defaults to request IP.","required":true,"example":"x.x.x.x"},{"name":"userAgent","in":"query","schemaId":"schema_0","description":"Client user agent","required":true,"example":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11)..."},{"name":"path","in":"query","schemaId":"schema_0","description":"Request path, required for trials.","required":true,"example":"/x.html"},{"name":"content_id","in":"query","schemaId":"schema_0","description":"Content ID, used to perform requests to a 3rd party API for additional content information used in making a decision.","required":true,"example":"xxx-xxx-xxx"},{"name":"jwt","in":"query","schemaId":"schema_0","description":"A Json web token, may include identity or product holding claims.","required":true,"example":"xxx-xxx-xxx"},{"name":"raw","in":"query","schemaId":"schema_36","description":"Should output raw value","required":true}],"pointer":"/paths/~1zephr~1decision-engine/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/decision-engine","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"sdkFeatureSlug","in":"query","required":true,"example":"featureX","schemaId":"schema_0"},{"name":"session","in":"query","required":true,"example":"xxx-xxx-xxx","schemaId":"schema_0"},{"name":"foreign_id.xxx","in":"query","required":true,"example":"xxx-xxx-xxx","schemaId":"schema_0"},{"name":"ip","in":"query","required":true,"example":"x.x.x.x","schemaId":"schema_0"},{"name":"userAgent","in":"query","required":true,"example":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11)...","schemaId":"schema_0"},{"name":"path","in":"query","required":true,"example":"/x.html","schemaId":"schema_0"},{"name":"content_id","in":"query","required":true,"example":"xxx-xxx-xxx","schemaId":"schema_0"},{"name":"jwt","in":"query","required":true,"example":"xxx-xxx-xxx","schemaId":"schema_0"},{"name":"raw","in":"query","required":true,"schemaId":"schema_36"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/zephr/decision-engine","href":"sdk-feature-decision-engine/getsingledecision","openApiOperationId":"getSingleDecision","summary":"Retrieve a single decision","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Raw parameter response","mediaType":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"components/schemas/feature-decision-response"}},"schemaId":"components/schemas/feature-decision-response","headers":{}}],"pointer":"/paths/~1zephr~1decision-engine/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/feature-decision-response","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"components/schemas/feature-decision-response"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sdk-feature-decision-engine/getsingledecision"}],"panels":[]}]},"httpPath":"/zephr/decision-engine"}],"content":{"contentType":"group","meta":{"name":"SDK Feature Decision Engine"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"SDK Feature Decision Engine","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/decide","summary":"Process multiple decisions","prefix":{"name":"post","color":"post"},"badges":[],"link":"/sdk-feature-decision-engine/processmultipledecisions","deprecated":false},{"title":"/zephr/decision-engine","summary":"Process a single decision","prefix":{"name":"post","color":"post"},"badges":[],"link":"/sdk-feature-decision-engine/processsingledecision","deprecated":false},{"title":"/zephr/decision-engine","summary":"Retrieve a single decision","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sdk-feature-decision-engine/getsingledecision","deprecated":false}]}]}]}]}},{"type":"group","label":"Sessions","link":"/zephr-api-reference/zephr-public-api/sessions","routeSlug":"/zephr-api-reference/zephr-public-api/sessions","items":[{"label":"List all the user sessions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/sessions/listusersessions","routeSlug":"/zephr-api-reference/zephr-public-api/sessions/listusersessions","metadata":{"seo":{"title":"List all the user sessions","description":"Lists of all sessions for the current user and site."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listUserSessions","name":"List all the user sessions","isWebhook":false,"pointer":"/paths/~1zephr~1public~1sessions~1v1~1sessions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List all the user sessions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Lists of all sessions for the current user and site."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/sessions/v1/sessions","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/zephr/public/sessions/v1/sessions","href":"sessions/listusersessions","openApiOperationId":"listUserSessions","summary":"List all the user sessions","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_38","exampleIds":["paths/~1zephr~1public~1sessions~1v1~1sessions/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_38","exampleIds":["paths/~1zephr~1public~1sessions~1v1~1sessions/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"401","description":"Unauthorized","headers":{}},{"code":"403","description":"Forbidden","headers":{}}],"pointer":"/paths/~1zephr~1public~1sessions~1v1~1sessions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_38","exampleIds":["paths/~1zephr~1public~1sessions~1v1~1sessions/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_38","exampleIds":["paths/~1zephr~1public~1sessions~1v1~1sessions/get/responses/200/content/application~1json/examples/response"]}}},{"code":"401"},{"code":"403"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sessions/listusersessions"}],"panels":[]}]},"httpPath":"/zephr/public/sessions/v1/sessions"},{"label":"Delete all other sessions","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/sessions/deleteallothersessions","routeSlug":"/zephr-api-reference/zephr-public-api/sessions/deleteallothersessions","metadata":{"seo":{"title":"Delete all other sessions","description":"Deletes all sessions for the current user and site apart from the session used to make the request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteAllOtherSessions","name":"Delete all other sessions","isWebhook":false,"pointer":"/paths/~1zephr~1public~1sessions~1v1~1sessions/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete all other sessions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Deletes all sessions for the current user and site apart from the session used to make the request."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"except-current","in":"query","schemaId":"schema_8","required":true}],"pointer":"/paths/~1zephr~1public~1sessions~1v1~1sessions/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/zephr/public/sessions/v1/sessions","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"except-current","in":"query","required":true,"schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/zephr/public/sessions/v1/sessions","href":"sessions/deleteallothersessions","openApiOperationId":"deleteAllOtherSessions","summary":"Delete all other sessions","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}}],"pointer":"/paths/~1zephr~1public~1sessions~1v1~1sessions/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sessions/deleteallothersessions"}],"panels":[]}]},"httpPath":"/zephr/public/sessions/v1/sessions"},{"label":"Delete the session by ID","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/sessions/deletesession","routeSlug":"/zephr-api-reference/zephr-public-api/sessions/deletesession","metadata":{"seo":{"title":"Delete the session by ID","description":"Deletes a session by ID. Returns a 404 if the specified session does not exist or does not belong to the current user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteSession","name":"Delete the session by ID","isWebhook":false,"pointer":"/paths/~1zephr~1public~1sessions~1v1~1sessions~1{sessionId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete the session by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Deletes a session by ID. Returns a 404 if the specified session does not exist or does not belong to the current user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"sessionId","in":"path","schemaId":"schema_0","description":"The ID of the session to delete.","required":true,"example":"0nasdj-aso25-6454"}],"pointer":"/paths/~1zephr~1public~1sessions~1v1~1sessions~1{sessionId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/zephr/public/sessions/v1/sessions/{sessionId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"sessionId","in":"path","required":true,"example":"0nasdj-aso25-6454","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/zephr/public/sessions/v1/sessions/{sessionId}","href":"sessions/deletesession","openApiOperationId":"deleteSession","summary":"Delete the session by ID","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1public~1sessions~1v1~1sessions~1{sessionId}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sessions/deletesession"}],"panels":[]}]},"httpPath":"/zephr/public/sessions/v1/sessions/{sessionId}"}],"content":{"contentType":"group","meta":{"name":"Sessions"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Sessions","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/public/sessions/v1/sessions","summary":"List all the user sessions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sessions/listusersessions","deprecated":false},{"title":"/zephr/public/sessions/v1/sessions","summary":"Delete all other sessions","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/sessions/deleteallothersessions","deprecated":false},{"title":"/zephr/public/sessions/v1/sessions/{sessionId}","summary":"Delete the session by ID","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/sessions/deletesession","deprecated":false}]}]}]}]}},{"type":"group","label":"Stripe Payments","link":"/zephr-api-reference/zephr-public-api/stripe-payments","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments","items":[{"label":"Retrieve the Stripe public key","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/getstripepublickey","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/getstripepublickey","metadata":{"seo":{"title":"Retrieve the Stripe public key","description":"This API endpoint fetches the public key associated with a tenant for payment processing. If the user is authenticated and the tenant has a configured Stripe public key, the endpoint will return the Stripe public key in a String format."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getStripePublicKey","name":"Retrieve the Stripe public key","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1stripe~1publicKey/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the Stripe public key","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This API endpoint fetches the public key associated with a tenant for payment processing.  If the user is authenticated and the tenant has a configured Stripe public key,  the endpoint will return the Stripe public key in a String format."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie is employed to ascertain whether a user is already authenticated or has an active session.","required":true,"example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0"}],"pointer":"/paths/~1blaize~1payment~1stripe~1publicKey/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/payment/stripe/publicKey","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":true,"example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/blaize/payment/stripe/publicKey","href":"stripe-payments/getstripepublickey","openApiOperationId":"getStripePublicKey","summary":"Retrieve the Stripe public key","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"A stripe public key for the tenant.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0","exampleIds":["paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyFound","paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyNotFound"]}},"schemaId":"schema_0","exampleIds":["paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyFound","paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyNotFound"],"headers":{}}],"pointer":"/paths/~1blaize~1payment~1stripe~1publicKey/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_0","exampleIds":["paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyFound","paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyNotFound"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0","exampleIds":["paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyFound","paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyNotFound"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/getstripepublickey"}],"panels":[]}]},"httpPath":"/blaize/payment/stripe/publicKey"},{"label":"Create a Stripe setup intent secret","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/createstripesetupintentsecret","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/createstripesetupintentsecret","metadata":{"seo":{"title":"Create a Stripe setup intent secret","description":"Creates the client secret to update card details"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createStripeSetupIntentSecret","name":"Create a Stripe setup intent secret","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1stripe~1setupIntentSecret/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a Stripe setup intent secret","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Creates the client secret to update card details"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1zephr~1payment~1stripe~1setupIntentSecret/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/payment/stripe/setupIntentSecret","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/zephr/payment/stripe/setupIntentSecret","href":"stripe-payments/createstripesetupintentsecret","openApiOperationId":"createStripeSetupIntentSecret","summary":"Create a Stripe setup intent secret","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_39","exampleIds":["paths/~1zephr~1payment~1stripe~1setupIntentSecret/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_39","exampleIds":["paths/~1zephr~1payment~1stripe~1setupIntentSecret/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"404","description":"Could not find a Stripe customer for the current Zephr user.","headers":{}}],"pointer":"/paths/~1zephr~1payment~1stripe~1setupIntentSecret/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_39","exampleIds":["paths/~1zephr~1payment~1stripe~1setupIntentSecret/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_39","exampleIds":["paths/~1zephr~1payment~1stripe~1setupIntentSecret/post/responses/200/content/application~1json/examples/response"]}}},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/createstripesetupintentsecret"}],"panels":[]}]},"httpPath":"/zephr/payment/stripe/setupIntentSecret"},{"label":"Start the Stripe subscription confirmation","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/startstripesubscriptionconfirmation","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/startstripesubscriptionconfirmation","metadata":{"seo":{"title":"Start the Stripe subscription confirmation","description":"If a payment requires confirmation (3dSecure etc), the payment is confirmed in the front end."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startStripeSubscriptionConfirmation","name":"Start the Stripe subscription confirmation","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start the Stripe subscription confirmation","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"If a payment requires confirmation (3dSecure etc), the payment is confirmed in the front end."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_40"}},"schemaId":"schema_40","pointer":"/paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/payment/stripe/subscription/confirmation","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_40"}},"responseCodes":["200"],"pointer":"/blaize/payment/stripe/subscription/confirmation","href":"stripe-payments/startstripesubscriptionconfirmation","openApiOperationId":"startStripeSubscriptionConfirmation","summary":"Start the Stripe subscription confirmation","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_40","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_40"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_41","exampleIds":["paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_41","exampleIds":["paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post/responses/200/content/application~1json/examples/response"],"headers":{}}],"pointer":"/paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_41","exampleIds":["paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_41","exampleIds":["paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post/responses/200/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/startstripesubscriptionconfirmation"}],"panels":[]}]},"httpPath":"/blaize/payment/stripe/subscription/confirmation"},{"label":"Update the Stripe subscription","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/updatestripesubscription","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/updatestripesubscription","metadata":{"seo":{"title":"Update the Stripe subscription","description":"Updates the payment method in the subscription. Payment method id will be provided by stripe on updating card details in the front end."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateStripeSubscription","name":"Update the Stripe subscription","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1stripe~1updateSubscription/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update the Stripe subscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Updates the payment method in the subscription. Payment method id will be provided by stripe on updating card details in the front end."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_42"}},"schemaId":"schema_42","pointer":"/paths/~1zephr~1payment~1stripe~1updateSubscription/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/payment/stripe/updateSubscription","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_42"}},"responseCodes":["200"],"pointer":"/zephr/payment/stripe/updateSubscription","href":"stripe-payments/updatestripesubscription","openApiOperationId":"updateStripeSubscription","summary":"Update the Stripe subscription","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_42","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_42"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}}],"pointer":"/paths/~1zephr~1payment~1stripe~1updateSubscription/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/updatestripesubscription"}],"panels":[]}]},"httpPath":"/zephr/payment/stripe/updateSubscription"},{"label":"Create a Stripe one-off payment","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/buystripe","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/buystripe","metadata":{"seo":{"title":"Create a Stripe one-off payment","description":"Uses the payment method collected by Stripe Elements to create a one off payment."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"buyStripe","name":"Create a Stripe one-off payment","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1stripe~1buy/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a Stripe one-off payment","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Uses the payment method collected by Stripe Elements to create a one off payment."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_43"}},"schemaId":"schema_43","pointer":"/paths/~1blaize~1payment~1stripe~1buy/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/payment/stripe/buy","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_43"}},"responseCodes":["200"],"pointer":"/blaize/payment/stripe/buy","href":"stripe-payments/buystripe","openApiOperationId":"buyStripe","summary":"Create a Stripe one-off payment","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_43","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_43"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_44","exampleIds":["paths/~1blaize~1payment~1stripe~1buy/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"schema_44","exampleIds":["paths/~1blaize~1payment~1stripe~1buy/post/responses/200/content/application~1json/examples/response"],"headers":{}}],"pointer":"/paths/~1blaize~1payment~1stripe~1buy/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_44","exampleIds":["paths/~1blaize~1payment~1stripe~1buy/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_44","exampleIds":["paths/~1blaize~1payment~1stripe~1buy/post/responses/200/content/application~1json/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/buystripe"}],"panels":[]}]},"httpPath":"/blaize/payment/stripe/buy"},{"label":"Receive a webhook from Stripe for when a user is charged for a subscription.","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/callbackstripesubscriptioncharged","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/callbackstripesubscriptioncharged","metadata":{"seo":{"title":"Receive a webhook from Stripe for when a user is charged for a subscription.","description":"To use subscriptions, Stripe Webhooks for invoice.payment_succeeded must be configured to point to this endpoint."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"callbackStripeSubscriptionCharged","name":"Receive a webhook from Stripe for when a user is charged for a subscription.","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1stripe~1subscriptionChargedCallback/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Receive a webhook from Stripe for when a user is charged for a subscription.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"To use subscriptions, Stripe Webhooks for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"invoice.payment_succeeded"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" must be configured to point to this endpoint."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/payment/stripe/subscriptionChargedCallback","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/blaize/payment/stripe/subscriptionChargedCallback","href":"stripe-payments/callbackstripesubscriptioncharged","openApiOperationId":"callbackStripeSubscriptionCharged","summary":"Receive a webhook from Stripe for when a user is charged for a subscription.","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}}],"pointer":"/paths/~1blaize~1payment~1stripe~1subscriptionChargedCallback/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/callbackstripesubscriptioncharged"}],"panels":[]}]},"httpPath":"/blaize/payment/stripe/subscriptionChargedCallback"},{"label":"Preview the Stripe subscription change","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/previewstripechangesubscription","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/previewstripechangesubscription","metadata":{"seo":{"title":"Preview the Stripe subscription change","description":"Generates a preview of the invoice that Stripe will create for the customer if theirsubscription is changed to a new plan. The invoice will be a prorated invoice for theprice difference between current and new subscription plans for the remainder of the current billing period.The invoice will be billed immediately upon changing subscription.The invoice amount may be negative if the customer is changing to a lower-priced plan."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"previewStripeChangeSubscription","name":"Preview the Stripe subscription change","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1stripe~1subscription~1{subscriptionId}~1change-previews/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Preview the Stripe subscription change","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generates a preview of the invoice that Stripe will create for the customer if their"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"subscription is changed to a new plan. The invoice will be a prorated invoice for the"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"price difference between current and new subscription plans for the remainder of the current billing period."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The invoice will be billed immediately upon changing subscription."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The invoice amount may be negative if the customer is changing to a lower-priced plan."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": This method does not modify the user's subscription."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"subscriptionId","in":"path","schemaId":"schema_0","description":"The ID of the Stripe subscription to change.","required":true}],"pointer":"/paths/~1zephr~1payment~1stripe~1subscription~1{subscriptionId}~1change-previews/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_45"}},"schemaId":"schema_45","pointer":"/paths/~1zephr~1payment~1stripe~1subscription~1{subscriptionId}~1change-previews/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/payment/stripe/subscription/{subscriptionId}/change-previews","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"subscriptionId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_45"}},"responseCodes":["200","400","401"],"pointer":"/zephr/payment/stripe/subscription/{subscriptionId}/change-previews","href":"stripe-payments/previewstripechangesubscription","openApiOperationId":"previewStripeChangeSubscription","summary":"Preview the Stripe subscription change","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_45","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_45"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"schema_46"}},"schemaId":"schema_46","headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"401","description":"Unauthorized","headers":{}}],"pointer":"/paths/~1zephr~1payment~1stripe~1subscription~1{subscriptionId}~1change-previews/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_46","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"schema_46"}}},{"code":"400"},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/previewstripechangesubscription"}],"panels":[]}]},"httpPath":"/zephr/payment/stripe/subscription/{subscriptionId}/change-previews"},{"label":"Preview the Stripe subscription price","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/previewstripesubscriptionprice","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/previewstripesubscriptionprice","metadata":{"seo":{"title":"Preview the Stripe subscription price","description":"Generates a preview of the total price and tax amount that Stripe will charge the customer if theycreate a new subscription for the specified plan."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"previewStripeSubscriptionPrice","name":"Preview the Stripe subscription price","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1stripe~1create-subscription-previews/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Preview the Stripe subscription price","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Generates a preview of the total price and tax amount that Stripe will charge the customer if they"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"create a new subscription for the specified plan."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Note"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": This method does not create any entities in Stripe and does not result in any payments being made."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_47"}},"schemaId":"schema_47","pointer":"/paths/~1zephr~1payment~1stripe~1create-subscription-previews/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/payment/stripe/create-subscription-previews","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_47"}},"responseCodes":["200","400"],"pointer":"/zephr/payment/stripe/create-subscription-previews","href":"stripe-payments/previewstripesubscriptionprice","openApiOperationId":"previewStripeSubscriptionPrice","summary":"Preview the Stripe subscription price","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_47","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_47"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"schema_48"}},"schemaId":"schema_48","headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1payment~1stripe~1create-subscription-previews/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_48","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"schema_48"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/previewstripesubscriptionprice"}],"panels":[]}]},"httpPath":"/zephr/payment/stripe/create-subscription-previews"},{"label":"Check a Stripe promo code for a user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/checkstripepromocode","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/checkstripepromocode","metadata":{"seo":{"title":"Check a Stripe promo code for a user","description":"Checks a Stripe promo code for the logged in user. The promo code is checked for validity of the current user based on first time order restriction, specific customer restriction, max allowed redemptions and expiration. The payment form payment options are checked to match the minimum payment amount requirements of the promo code."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"checkStripePromoCode","name":"Check a Stripe promo code for a user","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1stripe~1promo-code/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Check a Stripe promo code for a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Checks a Stripe promo code for the logged in user. The promo code is checked for validity of the current user based on first time order restriction, specific customer restriction, max allowed redemptions and expiration. The payment form payment options are checked to match the minimum payment amount requirements of the promo code."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"code","in":"query","schemaId":"schema_0","description":"The ID of the Stripe promo code to check.","required":true},{"name":"paymentForm","in":"query","schemaId":"schema_0","description":"The slug of the Stripe payment form the promo code relates to.","required":true}],"pointer":"/paths/~1zephr~1payment~1stripe~1promo-code/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/payment/stripe/promo-code","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"code","in":"query","required":true,"schemaId":"schema_0"},{"name":"paymentForm","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/zephr/payment/stripe/promo-code","href":"stripe-payments/checkstripepromocode","openApiOperationId":"checkStripePromoCode","summary":"Check a Stripe promo code for a user","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/StripePromoCodeCheckResponse"}},"schemaId":"components/schemas/StripePromoCodeCheckResponse","headers":{}}],"pointer":"/paths/~1zephr~1payment~1stripe~1promo-code/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/StripePromoCodeCheckResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/StripePromoCodeCheckResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/checkstripepromocode"}],"panels":[]}]},"httpPath":"/zephr/payment/stripe/promo-code"},{"label":"Check a Stripe promo code for a user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/checkstripepromocodewithpaymentoptions","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/checkstripepromocodewithpaymentoptions","metadata":{"seo":{"title":"Check a Stripe promo code for a user","description":"Checks a Stripe promo code for the logged in user. The promo code is checked for validity of the current user based on first time order restriction, specific customer restriction, max allowed redemptions and expiration. The supplied payment payment options are checked to match the minimum payment amount requirements of the promo code."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"checkStripePromoCodeWithPaymentOptions","name":"Check a Stripe promo code for a user","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1stripe~1promo-code-check/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Check a Stripe promo code for a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Checks a Stripe promo code for the logged in user. The promo code is checked for validity of the current user based on first time order restriction, specific customer restriction, max allowed redemptions and expiration. The supplied payment payment options are checked to match the minimum payment amount requirements of the promo code."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/StripePromoCodeCheckRequest"}},"schemaId":"components/schemas/StripePromoCodeCheckRequest","pointer":"/paths/~1zephr~1payment~1stripe~1promo-code-check/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/payment/stripe/promo-code-check","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/StripePromoCodeCheckRequest"}},"responseCodes":["200"],"pointer":"/zephr/payment/stripe/promo-code-check","href":"stripe-payments/checkstripepromocodewithpaymentoptions","openApiOperationId":"checkStripePromoCodeWithPaymentOptions","summary":"Check a Stripe promo code for a user","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/StripePromoCodeCheckRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/StripePromoCodeCheckRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/StripePromoCodeCheckResponse"}},"schemaId":"components/schemas/StripePromoCodeCheckResponse","headers":{}}],"pointer":"/paths/~1zephr~1payment~1stripe~1promo-code-check/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/StripePromoCodeCheckResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/StripePromoCodeCheckResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/checkstripepromocodewithpaymentoptions"}],"panels":[]}]},"httpPath":"/zephr/payment/stripe/promo-code-check"},{"label":"Start the Stripe subscription (Deprecated)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/startstripesubscription","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/startstripesubscription","metadata":{"seo":{"title":"Start the Stripe subscription (Deprecated)","description":"(Deprecated - use /zephr/subscribe)Uses the payment method info captured by the Stripe Elements UI to create a Stripe customer with a recurring payment.When Stripe responds successfully, the logged-in user will be temporarily granted all entitlements in the product's associated bundle."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startStripeSubscription","name":"Start the Stripe subscription (Deprecated)","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1stripe~1subscribe/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start the Stripe subscription (Deprecated)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"(Deprecated - use "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"#payments-start-subscription-post"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"/zephr/subscribe"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":")"},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Uses the payment method info captured by the Stripe Elements UI to create a Stripe customer with a recurring payment."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When Stripe responds successfully, the logged-in user will be temporarily granted all entitlements in the product's associated bundle."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_49"}},"schemaId":"schema_49","pointer":"/paths/~1blaize~1payment~1stripe~1subscribe/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/payment/stripe/subscribe","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_49"}},"responseCodes":["200"],"pointer":"/blaize/payment/stripe/subscribe","href":"stripe-payments/startstripesubscription","openApiOperationId":"startStripeSubscription","summary":"Start the Stripe subscription (Deprecated)","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_49","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_49"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/stripe_start_response_body"}},"schemaId":"components/schemas/stripe_start_response_body","headers":{}}],"pointer":"/paths/~1blaize~1payment~1stripe~1subscribe/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/stripe_start_response_body","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/stripe_start_response_body"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/startstripesubscription"}],"panels":[]}]},"httpPath":"/blaize/payment/stripe/subscribe"},{"label":"List the user's Stripe subscriptions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/liststripesubscriptions","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/liststripesubscriptions","metadata":{"seo":{"title":"List the user's Stripe subscriptions","description":"Lists the user's Stripe subscriptions."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listStripeSubscriptions","name":"List the user's Stripe subscriptions","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1stripe~1subscriptions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List the user's Stripe subscriptions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Lists the user's Stripe subscriptions."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/payment/stripe/subscriptions","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/blaize/payment/stripe/subscriptions","href":"stripe-payments/liststripesubscriptions","openApiOperationId":"listStripeSubscriptions","summary":"List the user's Stripe subscriptions","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_50"}},"schemaId":"schema_50","headers":{}},{"code":"401","description":"Unauthenticated","headers":{}}],"pointer":"/paths/~1blaize~1payment~1stripe~1subscriptions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_50","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_50"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/liststripesubscriptions"}],"panels":[]}]},"httpPath":"/blaize/payment/stripe/subscriptions"},{"label":"Cancel a user's Stripe subscription","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/stripe-payments/cancelstripesubscription","routeSlug":"/zephr-api-reference/zephr-public-api/stripe-payments/cancelstripesubscription","metadata":{"seo":{"title":"Cancel a user's Stripe subscription","description":"Cancels a user's Stripe subscription"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"cancelStripeSubscription","name":"Cancel a user's Stripe subscription","isWebhook":false,"pointer":"/paths/~1blaize~1payment~1stripe~1subscriptions~1{externalId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel a user's Stripe subscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Cancels a user's Stripe subscription"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"externalId","in":"path","schemaId":"schema_0","description":"The ID of the Stripe subscription to cancel.","required":true}],"pointer":"/paths/~1blaize~1payment~1stripe~1subscriptions~1{externalId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/blaize/payment/stripe/subscriptions/{externalId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"externalId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","403","404","409"],"pointer":"/blaize/payment/stripe/subscriptions/{externalId}","href":"stripe-payments/cancelstripesubscription","openApiOperationId":"cancelStripeSubscription","summary":"Cancel a user's Stripe subscription","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"403","description":"Forbidden","headers":{}},{"code":"404","description":"Cannot find the subscription.","headers":{}},{"code":"409","description":"Subscription was already cancelled","headers":{}}],"pointer":"/paths/~1blaize~1payment~1stripe~1subscriptions~1{externalId}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/stripe-payments/cancelstripesubscription"}],"panels":[]}]},"httpPath":"/blaize/payment/stripe/subscriptions/{externalId}"}],"content":{"contentType":"group","meta":{"name":"Stripe Payments"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Stripe Payments","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/blaize/payment/stripe/publicKey","summary":"Retrieve the Stripe public key","prefix":{"name":"get","color":"get"},"badges":[],"link":"/stripe-payments/getstripepublickey","deprecated":false},{"title":"/zephr/payment/stripe/setupIntentSecret","summary":"Create a Stripe setup intent secret","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/createstripesetupintentsecret","deprecated":false},{"title":"/blaize/payment/stripe/subscription/confirmation","summary":"Start the Stripe subscription confirmation","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/startstripesubscriptionconfirmation","deprecated":false},{"title":"/zephr/payment/stripe/updateSubscription","summary":"Update the Stripe subscription","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/updatestripesubscription","deprecated":false},{"title":"/blaize/payment/stripe/buy","summary":"Create a Stripe one-off payment","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/buystripe","deprecated":false},{"title":"/blaize/payment/stripe/subscriptionChargedCallback","summary":"Receive a webhook from Stripe for when a user is charged for a subscription.","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/callbackstripesubscriptioncharged","deprecated":false},{"title":"/zephr/payment/stripe/subscription/{subscriptionId}/change-previews","summary":"Preview the Stripe subscription change","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/previewstripechangesubscription","deprecated":false},{"title":"/zephr/payment/stripe/create-subscription-previews","summary":"Preview the Stripe subscription price","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/previewstripesubscriptionprice","deprecated":false},{"title":"/zephr/payment/stripe/promo-code","summary":"Check a Stripe promo code for a user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/stripe-payments/checkstripepromocode","deprecated":false},{"title":"/zephr/payment/stripe/promo-code-check","summary":"Check a Stripe promo code for a user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/checkstripepromocodewithpaymentoptions","deprecated":false},{"title":"/blaize/payment/stripe/subscribe","summary":"Start the Stripe subscription (Deprecated)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/stripe-payments/startstripesubscription","deprecated":false},{"title":"/blaize/payment/stripe/subscriptions","summary":"List the user's Stripe subscriptions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/stripe-payments/liststripesubscriptions","deprecated":false},{"title":"/blaize/payment/stripe/subscriptions/{externalId}","summary":"Cancel a user's Stripe subscription","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/stripe-payments/cancelstripesubscription","deprecated":false}]}]}]}]}},{"type":"group","label":"Third-Party Authentication","link":"/zephr-api-reference/zephr-public-api/third-party-authentication","routeSlug":"/zephr-api-reference/zephr-public-api/third-party-authentication","items":[{"label":"Start an authorization code flow","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/third-party-authentication/startoauth2flow","routeSlug":"/zephr-api-reference/zephr-public-api/third-party-authentication/startoauth2flow","metadata":{"seo":{"title":"Start an authorization code flow","description":"Starts OAuth2 Authorization Code Flow. The resource owner will be authenticated and be presented with the third-party application access request."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startOAuth2Flow","name":"Start an authorization code flow","isWebhook":false,"pointer":"/paths/~1zephr~1oauth2/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start an authorization code flow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Starts OAuth2 Authorization Code Flow. The resource owner will be authenticated and be presented with the third-party application access request."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"client_id","in":"query","schemaId":"schema_0","description":"Zephr Site Oauth2 Client ID.","required":true},{"name":"response_type","in":"query","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Must be set to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}],"required":true},{"name":"redirect_uri","in":"query","schemaId":"schema_0","description":"Client's redirection endpoint. Must be an absolute URI.","required":true},{"name":"scope","in":"query","schemaId":"schema_0","description":"The scope of the access request.","required":true},{"name":"state","in":"query","schemaId":"schema_0","description":"An opaque value used by the client to maintain state between the request and callback.","required":true}],"pointer":"/paths/~1zephr~1oauth2/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/oauth2","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"client_id","in":"query","required":true,"schemaId":"schema_0"},{"name":"response_type","in":"query","required":true,"schemaId":"schema_0"},{"name":"redirect_uri","in":"query","required":true,"schemaId":"schema_0"},{"name":"scope","in":"query","required":true,"schemaId":"schema_0"},{"name":"state","in":"query","required":true,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["302"],"pointer":"/zephr/oauth2","href":"third-party-authentication/startoauth2flow","openApiOperationId":"startOAuth2Flow","summary":"Start an authorization code flow","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"302","description":"Found","headers":{"Location":{"schema":{"type":"string"}}},"headerSchemaId":"schema_51"}],"pointer":"/paths/~1zephr~1oauth2/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/third-party-authentication/startoauth2flow"}],"panels":[]}]},"httpPath":"/zephr/oauth2"},{"label":"Returns a list of your user's access scopes","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/third-party-authentication/listoauth2consentflow","routeSlug":"/zephr-api-reference/zephr-public-api/third-party-authentication/listoauth2consentflow","metadata":{"seo":{"title":"Returns a list of your user's access scopes","description":"Returns a list of your user's access scopes"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listOAuth2ConsentFlow","name":"Returns a list of your user's access scopes","isWebhook":false,"pointer":"/paths/~1zephr~1oauth2~1consent~1{clientId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Returns a list of your user's access scopes","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientId","in":"path","schemaId":"schema_0","description":"The Zephr site's Oauth2 client ID.","required":true}],"pointer":"/paths/~1zephr~1oauth2~1consent~1{clientId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/oauth2/consent/{clientId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"clientId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/zephr/oauth2/consent/{clientId}","href":"third-party-authentication/listoauth2consentflow","openApiOperationId":"listOAuth2ConsentFlow","summary":"Returns a list of your user's access scopes","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/list-oauth2-consent","exampleIds":["paths/~1zephr~1oauth2~1consent~1{clientId}/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/list-oauth2-consent","exampleIds":["paths/~1zephr~1oauth2~1consent~1{clientId}/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Missing required clientId parameter."},{"code":"401","description":"User session not authenticated."}],"pointer":"/paths/~1zephr~1oauth2~1consent~1{clientId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/list-oauth2-consent","exampleIds":["paths/~1zephr~1oauth2~1consent~1{clientId}/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/list-oauth2-consent","exampleIds":["paths/~1zephr~1oauth2~1consent~1{clientId}/get/responses/200/content/application~1json/example"]}}},{"code":"400"},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/third-party-authentication/listoauth2consentflow"}],"panels":[]}]},"httpPath":"/zephr/oauth2/consent/{clientId}"},{"label":"Grant the access request","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/third-party-authentication/grantaccessrequest","routeSlug":"/zephr-api-reference/zephr-public-api/third-party-authentication/grantaccessrequest","metadata":{"seo":{"title":"Grant the access request","description":"The resource owner will consent or deny the third party application access request, and Zephr will return an authorization code upon user's consent."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"grantAccessRequest","name":"Grant the access request","isWebhook":false,"pointer":"/paths/~1zephr~1oauth2~1grant/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Grant the access request","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"The resource owner will consent or deny the third party application access request, and Zephr will return an authorization code upon user's consent."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/oauth2-request-body"}},"schemaId":"components/schemas/oauth2-request-body","pointer":"/paths/~1zephr~1oauth2~1grant/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/oauth2/grant","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/oauth2-request-body"}},"responseCodes":["200","401"],"pointer":"/zephr/oauth2/grant","href":"third-party-authentication/grantaccessrequest","openApiOperationId":"grantAccessRequest","summary":"Grant the access request","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/oauth2-request-body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/oauth2-request-body"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"OK. The template variable \"BASICAUTH\" is set as the authorization header of \"$CLIENTID\" and \"$CLIENTSECRET\". The template variable \"AUTHCODE\" is set to the response body \"code\" field."},"children":[]}]}]}],"mediaType":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"schema_52"}},"schemaId":"schema_52","headers":{"Location":{"schema":{"type":"string"}}},"headerSchemaId":"schema_51"},{"code":"401","description":"Unauthorized","mediaType":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"schema_53"}},"schemaId":"schema_53","headers":{}}],"pointer":"/paths/~1zephr~1oauth2~1grant/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_52","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"schema_52"}}},{"code":"401","schemaId":"schema_53","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"schema_53"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/third-party-authentication/grantaccessrequest"}],"panels":[]}]},"httpPath":"/zephr/oauth2/grant"},{"label":"Retrieves the oauth2 configured fields","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/third-party-authentication/getoauth2config","routeSlug":"/zephr-api-reference/zephr-public-api/third-party-authentication/getoauth2config","metadata":{"seo":{"title":"Retrieves the oauth2 configured fields","description":"Gets the public oauth2 fields configured on the Third Party Authentication section of the site"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getOAuth2Config","name":"Retrieves the oauth2 configured fields","isWebhook":false,"pointer":"/paths/~1zephr~1oauth2~1config/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieves the oauth2 configured fields","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Gets the public oauth2 fields configured on the Third Party Authentication section of the site"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/oauth2/config","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/zephr/oauth2/config","href":"third-party-authentication/getoauth2config","openApiOperationId":"getOAuth2Config","summary":"Retrieves the oauth2 configured fields","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Public OAuth2 fields returned","mediaType":"*/*","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"components/schemas/oauth2-config-response"}},"schemaId":"components/schemas/oauth2-config-response","headers":{}}],"pointer":"/paths/~1zephr~1oauth2~1config/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/oauth2-config-response","mediaTypes":["*/*"],"mediaTypeContent":{"*/*":{"schemaId":"components/schemas/oauth2-config-response"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/third-party-authentication/getoauth2config"}],"panels":[]}]},"httpPath":"/zephr/oauth2/config"},{"label":"Get the OAuth2 error page","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/third-party-authentication/getoauth2errorpage","routeSlug":"/zephr-api-reference/zephr-public-api/third-party-authentication/getoauth2errorpage","metadata":{"seo":{"title":"Get the OAuth2 error page","description":"Gets the OAuth2 error page."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getOAuth2ErrorPage","name":"Get the OAuth2 error page","isWebhook":false,"pointer":"/paths/~1zephr~1oauth2~1error/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get the OAuth2 error page","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Gets the OAuth2 error page."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/oauth2/error","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/zephr/oauth2/error","href":"third-party-authentication/getoauth2errorpage","openApiOperationId":"getOAuth2ErrorPage","summary":"Get the OAuth2 error page","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"text/html","mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1oauth2~1error/get/responses/200/content/text~1html/examples/response"]}},"exampleIds":["paths/~1zephr~1oauth2~1error/get/responses/200/content/text~1html/examples/response"],"headers":{}}],"pointer":"/paths/~1zephr~1oauth2~1error/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","exampleIds":["paths/~1zephr~1oauth2~1error/get/responses/200/content/text~1html/examples/response"],"mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1oauth2~1error/get/responses/200/content/text~1html/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/third-party-authentication/getoauth2errorpage"}],"panels":[]}]},"httpPath":"/zephr/oauth2/error"}],"content":{"contentType":"group","meta":{"name":"Third-Party Authentication"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Third-Party Authentication","showPageActions":true},{"nodeType":"markdoc","content":"This section contains the API operations for the OAuth 2.0 Authorization Code Flow."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/oauth2","summary":"Start an authorization code flow","prefix":{"name":"get","color":"get"},"badges":[],"link":"/third-party-authentication/startoauth2flow","deprecated":false},{"title":"/zephr/oauth2/consent/{clientId}","summary":"Returns a list of your user's access scopes","prefix":{"name":"get","color":"get"},"badges":[],"link":"/third-party-authentication/listoauth2consentflow","deprecated":false},{"title":"/zephr/oauth2/grant","summary":"Grant the access request","prefix":{"name":"post","color":"post"},"badges":[],"link":"/third-party-authentication/grantaccessrequest","deprecated":false},{"title":"/zephr/oauth2/config","summary":"Retrieves the oauth2 configured fields","prefix":{"name":"get","color":"get"},"badges":[],"link":"/third-party-authentication/getoauth2config","deprecated":false},{"title":"/zephr/oauth2/error","summary":"Get the OAuth2 error page","prefix":{"name":"get","color":"get"},"badges":[],"link":"/third-party-authentication/getoauth2errorpage","deprecated":false}]}]}]}]}},{"type":"group","label":"User","link":"/zephr-api-reference/zephr-public-api/user","routeSlug":"/zephr-api-reference/zephr-public-api/user","items":[{"label":"Register a user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/registerusers","routeSlug":"/zephr-api-reference/zephr-public-api/user/registerusers","metadata":{"seo":{"title":"Register a user","description":"This endpoint enables clients to initiate the creation of a new user account. If a contact with an identical  email address already exists, that contact will be elevated to the status of a registered user.  Essential attributes like identifiers.email_address and validators.password are mandatory for this endpoint.  If any of these attributes are absent, registration attempts will trigger an error.  Upon a successful request, session cookies like blaize_session and blaize_tracking_id are generated and  included in the response header."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"registerUsers","name":"Register a user","isWebhook":false,"pointer":"/paths/~1blaize~1register/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Register a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint enables clients to initiate the creation of a new user account. If a contact with an identical  email address already exists, that contact will be elevated to the status of a registered user.  Essential attributes like "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"identifiers.email_address"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"validators.password"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" are mandatory for this endpoint.  If any of these attributes are absent, registration attempts will trigger an error.  Upon a successful request, session cookies like blaize_session and blaize_tracking_id are generated and  included in the response header."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/user-register-request"}},"schemaId":"components/schemas/user-register-request","pointer":"/paths/~1blaize~1register/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/register","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/user-register-request"}},"responseCodes":["200","400"],"pointer":"/blaize/register","href":"user/registerusers","openApiOperationId":"registerUsers","summary":"Register a user","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/user-register-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/user-register-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The user was registered successfully.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/user-register-response"}},"schemaId":"components/schemas/user-register-response","headers":{"Set-Cookie":{"description":"The authenticated user session.","schema":{"type":"string","example":"blaize_session=443ed68f-0b44-4f32-8443-553d584cb0dd; Expires=Fri, 16 Nov 2018 12:35:56 GMT; Path=/;"}},"\u0000Set-Cookie":{"description":"The user tracking ID.","schema":{"type":"string","example":"blaize_tracking_id=b117093c-e1f7-4ee0-8dda-6b5205f7fbee; Expires=Fri, 16 Nov 2018 12:35:56 GMT; Path=/;"}}},"headerSchemaId":"schema_54"},{"code":"400","description":"Bad Request. The request included invalid syntax or was missing required parameters.  This could alternatively be attributed to the absence of a user email address in the request body.","headers":{}}],"pointer":"/paths/~1blaize~1register/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/user-register-response","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/user-register-response"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/registerusers"}],"panels":[]}]},"httpPath":"/blaize/register"},{"label":"Create or Update a Contact User","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/createcontact","routeSlug":"/zephr-api-reference/zephr-public-api/user/createcontact","metadata":{"seo":{"title":"Create or Update a Contact User","description":"This endpoint creates a new contact user or updates the attributes of an existing contact user if one exists with the supplied email address. To use this endpoint, 'contact users' must be enabled in the identity settings page in the console. A contact user is a type of user that has no validators and so no ability to create authenticated sessions. Contact users can be created to capture user information, such as email addresses, without fully registering users. This endpoint cannot be used to update the attributes of a registered user. Attempting to do so will return a 409 response. After creating a contact with an anonomyous session, the session is updated to include a flag to identify that this has happened. In the rules builder, the 'Contact Capture' decision node can be used to test this flag value and so determine if the current anonymous session was used to create a contact. This can be used, for example, to prevent showing a contact form to anonymous users that have already filled in such a form."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createContact","name":"Create or Update a Contact User","isWebhook":false,"pointer":"/paths/~1zephr~1createContact/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create or Update a Contact User","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint creates a new contact user or updates the attributes of an existing contact user if one exists with the supplied email address.\nTo use this endpoint, 'contact users' must be enabled in the identity settings page in the  console.\nA contact user is a type of user that has no validators and so no ability to create authenticated sessions. Contact users can be created to capture user information, such as email addresses, without fully registering users.\nThis endpoint cannot be used to update the attributes of a registered user. Attempting to do so will return a 409 response.\nAfter creating a contact with an anonomyous session, the session is updated to include a flag to identify that this has happened. In the rules builder, the 'Contact Capture' decision node can be used to test this flag value and so determine if the current anonymous session was used to create a contact. This can be used, for example, to prevent showing a contact form to anonymous users that have already filled in such a form."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/contact-create-request"}},"schemaId":"components/schemas/contact-create-request","pointer":"/paths/~1zephr~1createContact/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/createContact","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/contact-create-request"}},"responseCodes":["200","400","403","409"],"pointer":"/zephr/createContact","href":"user/createcontact","openApiOperationId":"createContact","summary":"Create or Update a Contact User","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/contact-create-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/contact-create-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Created or updated a contact user","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55","exampleIds":["paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Create-New-Contact","paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Update-Existing-Contact"]}},"schemaId":"schema_55","exampleIds":["paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Create-New-Contact","paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Update-Existing-Contact"],"headers":{}},{"code":"400","description":"Bad Request\n\nReturned if a request is missing an email identifier, or if some user attributes are invalid.","headers":{}},{"code":"403","description":"Contact creation not enabled","headers":{}},{"code":"409","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"User {email} already exists"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returned when attempting to update the attributes of an already registered user."},"children":[]}]}]}],"headers":{}}],"pointer":"/paths/~1zephr~1createContact/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_55","exampleIds":["paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Create-New-Contact","paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Update-Existing-Contact"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55","exampleIds":["paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Create-New-Contact","paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Update-Existing-Contact"]}}},{"code":"400"},{"code":"403"},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/createcontact"}],"panels":[]}]},"httpPath":"/zephr/createContact"},{"label":"Delete the user data","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/deleteuserdata","routeSlug":"/zephr-api-reference/zephr-public-api/user/deleteuserdata","metadata":{"seo":{"title":"Delete the user data","description":"Deletes user related data like sessions, elasticSearch data, O2Auth tokens according to the provided user_id in the session cookie."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteUserData","name":"Delete the user data","isWebhook":false,"pointer":"/paths/~1blaize~1forget-me/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete the user data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Deletes user related data like sessions, elasticSearch data, O2Auth tokens according to the provided "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"user_id"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" in the session cookie."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1forget-me/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/forget-me","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","500"],"pointer":"/blaize/forget-me","href":"user/deleteuserdata","openApiOperationId":"deleteUserData","summary":"Delete the user data","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK - User deleted successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/delete-user-response","exampleIds":["paths/~1blaize~1forget-me/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/delete-user-response","exampleIds":["paths/~1blaize~1forget-me/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"500","description":"Internal Server Error","headers":{}}],"pointer":"/paths/~1blaize~1forget-me/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/delete-user-response","exampleIds":["paths/~1blaize~1forget-me/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/delete-user-response","exampleIds":["paths/~1blaize~1forget-me/post/responses/200/content/application~1json/examples/response"]}}},{"code":"500"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/deleteuserdata"}],"panels":[]}]},"httpPath":"/blaize/forget-me"},{"label":"Retrieve the account","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/retrieveaccount","routeSlug":"/zephr-api-reference/zephr-public-api/user/retrieveaccount","metadata":{"seo":{"title":"Retrieve the account","description":"Retrieves the user's core account details."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveAccount","name":"Retrieve the account","isWebhook":false,"pointer":"/paths/~1blaize~1account/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the account","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves the user's core account details."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1account/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/account","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/blaize/account","href":"user/retrieveaccount","openApiOperationId":"retrieveAccount","summary":"Retrieve the account","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/user-public-account","exampleIds":["paths/~1blaize~1account/get/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/user-public-account","exampleIds":["paths/~1blaize~1account/get/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"401","description":"Unauthorized","headers":{}}],"pointer":"/paths/~1blaize~1account/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/user-public-account","exampleIds":["paths/~1blaize~1account/get/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/user-public-account","exampleIds":["paths/~1blaize~1account/get/responses/200/content/application~1json/examples/response"]}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/retrieveaccount"}],"panels":[]}]},"httpPath":"/blaize/account"},{"label":"Retrieves the attributes for an authenticated user in the Zephr user store.","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/retrieveprofile","routeSlug":"/zephr-api-reference/zephr-public-api/user/retrieveprofile","metadata":{"seo":{"title":"Retrieves the attributes for an authenticated user in the Zephr user store.","description":"Retrieves the attributes for an authenticated user in the Zephr user store. In addition to the standard authenticators, this endpoint also accepts an OAuth bearer token through the Authorization header. The response will only include publicly accessible user attributes."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveProfile","name":"Retrieves the attributes for an authenticated user in the Zephr user store.","isWebhook":false,"pointer":"/paths/~1blaize~1profile/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieves the attributes for an authenticated user in the Zephr user store.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves the attributes for an authenticated user in the Zephr user store. In addition to the standard authenticators, this endpoint also accepts an OAuth bearer token through the Authorization header. The response will only include publicly accessible user attributes."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0"},{"name":"Authorization","in":"header","schemaId":"schema_0","description":"An OAuth access token key that references a previously created OAuth token. Such a token can be created using the '/zephr/oauth2/token' endpoint and is expected to have the scope 'user.profile:update'.","example":"Bearer AYjcyMzY3ZDhiNmJkNTYt0Zi"}],"pointer":"/paths/~1blaize~1profile/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/profile","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Cookie","in":"header","required":false,"example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0","schemaId":"schema_0"},{"name":"Authorization","in":"header","required":false,"example":"Bearer AYjcyMzY3ZDhiNmJkNTYt0Zi","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/blaize/profile","href":"user/retrieveprofile","openApiOperationId":"retrieveProfile","summary":"Retrieves the attributes for an authenticated user in the Zephr user store.","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The user attributes were successfully retrieved. Returns a single layer JSON object of this user's attributes.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/attributes","exampleIds":["paths/~1blaize~1profile/get/responses/200/content/application~1json/examples/NameAttributes"]}},"schemaId":"components/schemas/attributes","exampleIds":["paths/~1blaize~1profile/get/responses/200/content/application~1json/examples/NameAttributes"],"headers":{}},{"code":"401","description":"Unauthorized. This endpoint will return successfully for existing authenticated users only.","headers":{}}],"pointer":"/paths/~1blaize~1profile/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/attributes","exampleIds":["paths/~1blaize~1profile/get/responses/200/content/application~1json/examples/NameAttributes"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/attributes","exampleIds":["paths/~1blaize~1profile/get/responses/200/content/application~1json/examples/NameAttributes"]}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/retrieveprofile"}],"panels":[]}]},"httpPath":"/blaize/profile"},{"label":"Sets the attributes for an authenticated user in the Zephr user store.","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/saveprofile","routeSlug":"/zephr-api-reference/zephr-public-api/user/saveprofile","metadata":{"seo":{"title":"Sets the attributes for an authenticated user in the Zephr user store.","description":"Sets the attributes for an authenticated user in the Zephr user store. The provided attributes are saved for the user. Any existing attributes for the user are removed and replaced with this new set."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"saveProfile","name":"Sets the attributes for an authenticated user in the Zephr user store.","isWebhook":false,"pointer":"/paths/~1blaize~1profile/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Sets the attributes for an authenticated user in the Zephr user store.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Sets the attributes for an authenticated user in the Zephr user store. The provided attributes are saved for the user. Any existing attributes for the user are removed and replaced with this new set."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0"},{"name":"Authorization","in":"header","schemaId":"schema_0","description":"An OAuth access token key that references a previously created OAuth token. Such a token can be created using the '/zephr/oauth2/token' endpoint and is expected to have the scope 'user.profile:update'.","example":"Bearer AYjcyMzY3ZDhiNmJkNTYt0Zi"}],"pointer":"/paths/~1blaize~1profile/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/attributes"}},"schemaId":"components/schemas/attributes","pointer":"/paths/~1blaize~1profile/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/blaize/profile","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0","schemaId":"schema_0"},{"name":"Authorization","in":"header","required":false,"example":"Bearer AYjcyMzY3ZDhiNmJkNTYt0Zi","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/attributes"}},"responseCodes":["200","400","401"],"pointer":"/blaize/profile","href":"user/saveprofile","openApiOperationId":"saveProfile","summary":"Sets the attributes for an authenticated user in the Zephr user store.","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/attributes","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/attributes"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The message 'User profile updated' is displayed to confirm that the user attributes were successfully saved.","headers":{}},{"code":"400","description":"Bad Request. The request body must be a single layer JSON object. All provided attributes must also pass any applicable attribute validation. All required attributes must be provided and be non-null. All provided attributes must be publicly writable.","headers":{}},{"code":"401","description":"Unauthorized. This endpoint will only return successfully for existing authenticated users.","headers":{}}],"pointer":"/paths/~1blaize~1profile/put/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/saveprofile"}],"panels":[]}]},"httpPath":"/blaize/profile"},{"label":"Updates the attributes for an authenticated user in the Zephr user store.","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/updateprofile","routeSlug":"/zephr-api-reference/zephr-public-api/user/updateprofile","metadata":{"seo":{"title":"Updates the attributes for an authenticated user in the Zephr user store.","description":"Updates the attributes for an authenticated user in the Zephr user store. The behaviour for the POST and PATCH methods on this endpoint is identical. The provided attributes are saved for the user. Any new attributes are added. Any existing attributes with the same keys are updated. Any existing attributes with different keys remain unchanged. The request can also include an optional 'blaize-validator' property to authenticate a previously partially registered user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateProfile","name":"Updates the attributes for an authenticated user in the Zephr user store.","isWebhook":false,"pointer":"/paths/~1blaize~1profile/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Updates the attributes for an authenticated user in the Zephr user store.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Updates the attributes for an authenticated user in the Zephr user store. The behaviour for the POST and PATCH methods on this endpoint is identical. The provided attributes are saved for the user. Any new attributes are added. Any existing attributes with the same keys are updated. Any existing attributes with different keys remain unchanged. The request can also include an optional 'blaize-validator' property to authenticate a previously partially registered user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0"}],"pointer":"/paths/~1blaize~1profile/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/update-attributes"}},"schemaId":"components/schemas/update-attributes","pointer":"/paths/~1blaize~1profile/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/profile","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/update-attributes"}},"responseCodes":["200","400","401"],"pointer":"/blaize/profile","href":"user/updateprofile","openApiOperationId":"updateProfile","summary":"Updates the attributes for an authenticated user in the Zephr user store.","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/update-attributes","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/update-attributes"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The message 'User profile updated' is displayed, to confirm that the user attributes were successfully saved.","headers":{"Set-Cookie":{"schema":{"type":"string"},"description":"If a 'blaize-validator' was supplied and successfully used to authenticate the request then the response will include blaize session cookies."}},"headerSchemaId":"schema_56"},{"code":"400","description":"Bad Request. The request body must be a single layer JSON object. All provided attributes must also pass any applicable attribute validation. All provided required attributes must be non-null. All provided attributes must be publicly writable.","headers":{}},{"code":"401","description":"Unauthorized. This endpoint will only return successfully for existing authenticated users.","headers":{}}],"pointer":"/paths/~1blaize~1profile/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/updateprofile"}],"panels":[]}]},"httpPath":"/blaize/profile"},{"label":"Updates the attributes for an authenticated user in the Zephr user store.","deprecated":false,"httpVerb":"patch","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/updateprofilepatch","routeSlug":"/zephr-api-reference/zephr-public-api/user/updateprofilepatch","metadata":{"seo":{"title":"Updates the attributes for an authenticated user in the Zephr user store.","description":"Updates the attributes for an authenticated user in the Zephr user store. The behaviour for the POST and PATCH methods on this endpoint is identical. The provided attributes are saved for the user. Any new attributes are added. Any existing attributes with the same keys are updated. Any existing attributes with different keys remain unchanged. The request can also include an optional 'blaize-validator' property to authenticate a previously partially registered user."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateProfilePatch","name":"Updates the attributes for an authenticated user in the Zephr user store.","isWebhook":false,"pointer":"/paths/~1blaize~1profile/patch","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Updates the attributes for an authenticated user in the Zephr user store.","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Updates the attributes for an authenticated user in the Zephr user store. The behaviour for the POST and PATCH methods on this endpoint is identical. The provided attributes are saved for the user. Any new attributes are added. Any existing attributes with the same keys are updated. Any existing attributes with different keys remain unchanged. The request can also include an optional 'blaize-validator' property to authenticate a previously partially registered user."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0"}],"pointer":"/paths/~1blaize~1profile/patch/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/update-attributes"}},"schemaId":"components/schemas/update-attributes","pointer":"/paths/~1blaize~1profile/patch/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PATCH","path":"/blaize/profile","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"blaize_session=57685913-7365-4dae-a425-1c2c2f72cc0","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/update-attributes"}},"responseCodes":["200","400","401"],"pointer":"/blaize/profile","href":"user/updateprofilepatch","openApiOperationId":"updateProfilePatch","summary":"Updates the attributes for an authenticated user in the Zephr user store.","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/update-attributes","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/update-attributes"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The message 'User profile updated', to confirm that the user attributes were successfully saved.","headers":{"Set-Cookie":{"schema":{"type":"string"},"description":"If a 'blaize-validator' was supplied and successfully used to authenticate the request then the response will include blaize session cookies."}},"headerSchemaId":"schema_56"},{"code":"400","description":"Bad Request. The request body must be a single layer JSON object. All provided attributes must also pass any applicable attribute validation. All provided required attributes must be non-null. All provided attributes must be publicly writable.","headers":{}},{"code":"401","description":"Unauthorized. This endpoint will only return successfully for existing authenticated users.","headers":{}}],"pointer":"/paths/~1blaize~1profile/patch/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/updateprofilepatch"}],"panels":[]}]},"httpPath":"/blaize/profile"},{"label":"Retrieve Extended Profile","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/retrieveextendedprofile","routeSlug":"/zephr-api-reference/zephr-public-api/user/retrieveextendedprofile","metadata":{"seo":{"title":"Retrieve Extended Profile","description":"Extended Profile is used to store additional user information that is not part of the core profile. This endpoint is designed to be used for retrieving the user's Extended Profile. The body can be any valid JSON."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveExtendedProfile","name":"Retrieve Extended Profile","isWebhook":false,"pointer":"/paths/~1blaize~1profile~1{appId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve Extended Profile","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Extended Profile is used to store additional user information that is not part of the core profile. This endpoint is designed to be used for retrieving the user's Extended Profile. The body can be any valid JSON."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"appId","in":"path","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Unique, caller-provided path parameter that represents the context under which the end user's data is stored within a tenant. This cannot start with '_restricted'."},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1blaize~1profile~1{appId}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1profile~1{appId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/profile/{appId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"appId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","401","404"],"pointer":"/blaize/profile/{appId}","href":"user/retrieveextendedprofile","openApiOperationId":"retrieveExtendedProfile","summary":"Retrieve Extended Profile","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/arrayExample"]}},"schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/arrayExample"],"headers":{}},{"code":"400","description":"Bad Request. Returned if the appId is invalid.","headers":{}},{"code":"401","description":"Unauthorized. Returned if no valid session was provided.","headers":{}},{"code":"404","description":"Not Found. Returned if the appId is not found.","headers":{}}],"pointer":"/paths/~1blaize~1profile~1{appId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/arrayExample"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/arrayExample"]}}},{"code":"400"},{"code":"401"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/retrieveextendedprofile"}],"panels":[]}]},"httpPath":"/blaize/profile/{appId}"},{"label":"Save Extended Profile","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/saveextendedprofile","routeSlug":"/zephr-api-reference/zephr-public-api/user/saveextendedprofile","metadata":{"seo":{"title":"Save Extended Profile","description":"Extended Profile is used to store additional user information that is not part of the core profile. This endpoint will create an Extended Profile for the App ID if one did not exist already, or overwrite an existing Extended Profile for the App ID. The body can be any valid JSON."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"saveExtendedProfile","name":"Save Extended Profile","isWebhook":false,"pointer":"/paths/~1blaize~1profile~1{appId}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Save Extended Profile","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Extended Profile is used to store additional user information that is not part of the core profile. This endpoint will create an Extended Profile for the App ID if one did not exist already, or overwrite an existing Extended Profile for the App ID. The body can be any valid JSON."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"appId","in":"path","schemaId":"schema_0","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Unique, caller-provided path parameter that represents the context under which the end user's data is stored within a tenant. This cannot start with '_restricted'."},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1blaize~1profile~1{appId}/put/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"`blaize_session=...` (string)"}],"pointer":"/paths/~1blaize~1profile~1{appId}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/arrayExample"]}},"schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/arrayExample"],"pointer":"/paths/~1blaize~1profile~1{appId}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/blaize/profile/{appId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"appId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"`blaize_session=...` (string)","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/arrayExample"]}},"responseCodes":["200","400","401"],"pointer":"/blaize/profile/{appId}","href":"user/saveextendedprofile","openApiOperationId":"saveExtendedProfile","summary":"Save Extended Profile","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/arrayExample"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/extended-profile","exampleIds":["paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/jsonExample","paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/arrayExample"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Extended Profile is used to store additional user information that is not part of the core profile. This endpoint is designed to be used for updating the user's Extended Profile.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_57"}},"schemaId":"schema_57","headers":{}},{"code":"400","description":"Bad Request. Returned if the appID or the provided body content is invalid.","headers":{}},{"code":"401","description":"Unauthorized. Returned if no valid session was provided.","headers":{}}],"pointer":"/paths/~1blaize~1profile~1{appId}/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_57","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_57"}}},{"code":"400"},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/saveextendedprofile"}],"panels":[]}]},"httpPath":"/blaize/profile/{appId}"},{"label":"Create an authorization challenge","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/createauthorizationchallenge","routeSlug":"/zephr-api-reference/zephr-public-api/user/createauthorizationchallenge","metadata":{"seo":{"title":"Create an authorization challenge","description":"Authorization Challenge against array of entitlement IDs."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createAuthorizationChallenge","name":"Create an authorization challenge","isWebhook":false,"pointer":"/paths/~1blaize~1authorization~1challenge/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create an authorization challenge","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Authorization Challenge against array of entitlement IDs."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"cookie","in":"header","schemaId":"schema_0","description":"The session cookie.","example":"blaize_session=5562c0cf-b07a-42d0-ac1a-c0e29735e73a;..."}],"pointer":"/paths/~1blaize~1authorization~1challenge/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_58"}},"schemaId":"schema_58","pointer":"/paths/~1blaize~1authorization~1challenge/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/authorization/challenge","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"cookie","in":"header","required":false,"example":"blaize_session=5562c0cf-b07a-42d0-ac1a-c0e29735e73a;...","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_58"}},"responseCodes":["200","401"],"pointer":"/blaize/authorization/challenge","href":"user/createauthorizationchallenge","openApiOperationId":"createAuthorizationChallenge","summary":"Create an authorization challenge","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_58","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_58"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/cdn-auth-challenge-response","exampleIds":["paths/~1blaize~1authorization~1challenge/post/responses/200/content/application~1json/examples/response"]}},"schemaId":"components/schemas/cdn-auth-challenge-response","exampleIds":["paths/~1blaize~1authorization~1challenge/post/responses/200/content/application~1json/examples/response"],"headers":{}},{"code":"401","description":"Unauthorized","headers":{}}],"pointer":"/paths/~1blaize~1authorization~1challenge/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/cdn-auth-challenge-response","exampleIds":["paths/~1blaize~1authorization~1challenge/post/responses/200/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/cdn-auth-challenge-response","exampleIds":["paths/~1blaize~1authorization~1challenge/post/responses/200/content/application~1json/examples/response"]}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/createauthorizationchallenge"}],"panels":[]}]},"httpPath":"/blaize/authorization/challenge"},{"label":"Retrieve the user schema","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/retrieveuserschema","routeSlug":"/zephr-api-reference/zephr-public-api/user/retrieveuserschema","metadata":{"seo":{"title":"Retrieve the user schema","description":"Retrieves the user attribute schema for the tenant. This includes all fields configured in the admin console for the user schema."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveUserSchema","name":"Retrieve the user schema","isWebhook":false,"pointer":"/paths/~1blaize~1schema~1users/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the user schema","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves the user attribute schema for the tenant. This includes all fields configured in the admin console for the user schema."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/schema/users","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/blaize/schema/users","href":"user/retrieveuserschema","openApiOperationId":"retrieveUserSchema","summary":"Retrieve the user schema","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. Returns a list of schema fields.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/blaize-schema-users-response"}},"schemaId":"components/schemas/blaize-schema-users-response","headers":{}},{"code":"401","description":"Unauthorized. Returned if no valid authentication was provided.","headers":{}}],"pointer":"/paths/~1blaize~1schema~1users/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/blaize-schema-users-response","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/blaize-schema-users-response"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/retrieveuserschema"}],"panels":[]}]},"httpPath":"/blaize/schema/users"},{"label":"Fingerprint","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/browserfingerprint","routeSlug":"/zephr-api-reference/zephr-public-api/user/browserfingerprint","metadata":{"seo":{"title":"Fingerprint","description":"Returns an HTML page that fingerprints the user's browser, sends the fingerprint data to POST /blaize/anonymous-session, and then redirects the user to a specified path provided as a query parameter (defaulting to '/')."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"browserFingerprint","name":"Fingerprint","isWebhook":false,"pointer":"/paths/~1blaize~1browser-fingerprint/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Fingerprint","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns an HTML page that fingerprints the user's browser, sends the fingerprint data to POST /blaize/anonymous-session,\nand then redirects the user to a specified path provided as a query parameter (defaulting to '/').\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"redirect","in":"query","schemaId":"schema_59","description":"TODO"}],"pointer":"/paths/~1blaize~1browser-fingerprint/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/browser-fingerprint","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"redirect","in":"query","required":false,"schemaId":"schema_59"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/blaize/browser-fingerprint","href":"user/browserfingerprint","openApiOperationId":"browserFingerprint","summary":"Fingerprint","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"text/html","mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1blaize~1browser-fingerprint/get/responses/200/content/text~1html/examples/response"]}},"exampleIds":["paths/~1blaize~1browser-fingerprint/get/responses/200/content/text~1html/examples/response"],"headers":{}}],"pointer":"/paths/~1blaize~1browser-fingerprint/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","exampleIds":["paths/~1blaize~1browser-fingerprint/get/responses/200/content/text~1html/examples/response"],"mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1blaize~1browser-fingerprint/get/responses/200/content/text~1html/examples/response"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/browserfingerprint"}],"panels":[]}]},"httpPath":"/blaize/browser-fingerprint"},{"label":"Start the email update flow for a passwordless user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/startupdateemailpasswordless","routeSlug":"/zephr-api-reference/zephr-public-api/user/startupdateemailpasswordless","metadata":{"seo":{"title":"Start the email update flow for a passwordless user","description":"Starts the email update flow for a passwordless user. An email will be sent to the new email address for verification."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"startUpdateEmailPasswordless","name":"Start the email update flow for a passwordless user","isWebhook":false,"pointer":"/paths/~1blaize~1users~1update-email-passwordless~1{state}/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start the email update flow for a passwordless user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Starts the email update flow for a passwordless user. An email will be sent to the new email address for verification."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"state","in":"path","schemaId":"schema_0","description":"An identifier linking this request to a previous one, that set the new email address.","required":true}],"pointer":"/paths/~1blaize~1users~1update-email-passwordless~1{state}/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/users/update-email-passwordless/{state}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"state","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["201"],"pointer":"/blaize/users/update-email-passwordless/{state}","href":"user/startupdateemailpasswordless","openApiOperationId":"startUpdateEmailPasswordless","summary":"Start the email update flow for a passwordless user","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"An email with instructions to update your email has been sent to the new email address.","headers":{}}],"pointer":"/paths/~1blaize~1users~1update-email-passwordless~1{state}/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/startupdateemailpasswordless"}],"panels":[]}]},"httpPath":"/blaize/users/update-email-passwordless/{state}"},{"label":"Start two factor authentication process","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/start2fa","routeSlug":"/zephr-api-reference/zephr-public-api/user/start2fa","metadata":{"seo":{"title":"Start two factor authentication process","description":"Starts the two factor authentication process. An email will be sent to the email address provided in the request with a link to complete the process."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"start2FA","name":"Start two factor authentication process","isWebhook":false,"pointer":"/paths/~1blaize~1two-factor-authentication/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Start two factor authentication process","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Starts the two factor authentication process. An email will be sent to the email address provided in the request with a link to complete the process."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/StartTwoFactorAuthenticationRequest"}},"schemaId":"components/schemas/StartTwoFactorAuthenticationRequest","pointer":"/paths/~1blaize~1two-factor-authentication/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/blaize/two-factor-authentication","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/StartTwoFactorAuthenticationRequest"}},"responseCodes":["201","404","405"],"pointer":"/blaize/two-factor-authentication","href":"user/start2fa","openApiOperationId":"start2FA","summary":"Start two factor authentication process","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/StartTwoFactorAuthenticationRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/StartTwoFactorAuthenticationRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"OK","headers":{}},{"code":"404","description":"User not found","headers":{}},{"code":"405","description":"Two factor authentication is not active","headers":{}}],"pointer":"/paths/~1blaize~1two-factor-authentication/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/start2fa"}],"panels":[]}]},"httpPath":"/blaize/two-factor-authentication"},{"label":"Recognise the user as a previously logged-in user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/recogniseuser","routeSlug":"/zephr-api-reference/zephr-public-api/user/recogniseuser","metadata":{"seo":{"title":"Recognise the user as a previously logged-in user","description":"Recognises the user as a previously logged-in user. Users can be fingerprinted on login based on their email address, their user agent and their IP address. This endpoint can then be used with the same parameters to give users a limited access to their logged-in experience. This is an opt-in feature."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"recogniseUser","name":"Recognise the user as a previously logged-in user","isWebhook":false,"pointer":"/paths/~1zephr~1recognise-me/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Recognise the user as a previously logged-in user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Recognises the user as a previously logged-in user. Users can be fingerprinted on login\nbased on their email address, their user agent and their IP address. This endpoint can then be used\nwith the same parameters to give users a limited access to their logged-in experience. This is an opt-in feature.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_60"}},"schemaId":"schema_60","pointer":"/paths/~1zephr~1recognise-me/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/recognise-me","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_60"}},"responseCodes":["200"],"pointer":"/zephr/recognise-me","href":"user/recogniseuser","openApiOperationId":"recogniseUser","summary":"Recognise the user as a previously logged-in user","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_60","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_60"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The lookup was performed successfully. If the user was recognised, a Set-Cookie header will be returned.","headers":{}}],"pointer":"/paths/~1zephr~1recognise-me/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/recogniseuser"}],"panels":[]}]},"httpPath":"/zephr/recognise-me"},{"label":"Complete the change password flow","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/user/changecompletepasswordflow","routeSlug":"/zephr-api-reference/zephr-public-api/user/changecompletepasswordflow","metadata":{"seo":{"title":"Complete the change password flow","description":"Complete the change password flow. This endpoint changes the password to the one submitted previously in another request. The otp in this request is used to match this request with the previous one that started the flow and submitted the new password."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"changeCompletePasswordFlow","name":"Complete the change password flow","isWebhook":false,"pointer":"/paths/~1zephr~1users~1change-password~1{otp}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Complete the change password flow","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Complete the change password flow. This endpoint changes the password to the one submitted previously in another request. The otp in this request is used to match this request with the previous one that started the flow and submitted the new password."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"otp","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1zephr~1users~1change-password~1{otp}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/users/change-password/{otp}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"otp","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/zephr/users/change-password/{otp}","href":"user/changecompletepasswordflow","openApiOperationId":"changeCompletePasswordFlow","summary":"Complete the change password flow","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"404","description":"User not found","headers":{}}],"pointer":"/paths/~1zephr~1users~1change-password~1{otp}/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user/changecompletepasswordflow"}],"panels":[]}]},"httpPath":"/zephr/users/change-password/{otp}"}],"content":{"contentType":"group","meta":{"name":"User"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"User","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/blaize/register","summary":"Register a user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/registerusers","deprecated":false},{"title":"/zephr/createContact","summary":"Create or Update a Contact User","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/createcontact","deprecated":false},{"title":"/blaize/forget-me","summary":"Delete the user data","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/deleteuserdata","deprecated":false},{"title":"/blaize/account","summary":"Retrieve the account","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/retrieveaccount","deprecated":false},{"title":"/blaize/profile","summary":"Retrieves the attributes for an authenticated user in the Zephr user store.","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/retrieveprofile","deprecated":false},{"title":"/blaize/profile","summary":"Sets the attributes for an authenticated user in the Zephr user store.","prefix":{"name":"put","color":"put"},"badges":[],"link":"/user/saveprofile","deprecated":false},{"title":"/blaize/profile","summary":"Updates the attributes for an authenticated user in the Zephr user store.","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/updateprofile","deprecated":false},{"title":"/blaize/profile","summary":"Updates the attributes for an authenticated user in the Zephr user store.","prefix":{"name":"patch","color":"patch"},"badges":[],"link":"/user/updateprofilepatch","deprecated":false},{"title":"/blaize/profile/{appId}","summary":"Retrieve Extended Profile","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/retrieveextendedprofile","deprecated":false},{"title":"/blaize/profile/{appId}","summary":"Save Extended Profile","prefix":{"name":"put","color":"put"},"badges":[],"link":"/user/saveextendedprofile","deprecated":false},{"title":"/blaize/authorization/challenge","summary":"Create an authorization challenge","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/createauthorizationchallenge","deprecated":false},{"title":"/blaize/schema/users","summary":"Retrieve the user schema","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/retrieveuserschema","deprecated":false},{"title":"/blaize/browser-fingerprint","summary":"Fingerprint","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/browserfingerprint","deprecated":false},{"title":"/blaize/users/update-email-passwordless/{state}","summary":"Start the email update flow for a passwordless user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/startupdateemailpasswordless","deprecated":false},{"title":"/blaize/two-factor-authentication","summary":"Start two factor authentication process","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/start2fa","deprecated":false},{"title":"/zephr/recognise-me","summary":"Recognise the user as a previously logged-in user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user/recogniseuser","deprecated":false},{"title":"/zephr/users/change-password/{otp}","summary":"Complete the change password flow","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user/changecompletepasswordflow","deprecated":false}]}]}]}]}},{"type":"group","label":"V4 Gifts","link":"/zephr-api-reference/zephr-public-api/v4-gifts","routeSlug":"/zephr-api-reference/zephr-public-api/v4-gifts","items":[{"label":"Create a gift V4","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/v4-gifts/createv4gift","routeSlug":"/zephr-api-reference/zephr-public-api/v4-gifts/createv4gift","metadata":{"seo":{"title":"Create a gift V4","description":"Creates a gift (V4)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createV4Gift","name":"Create a gift V4","isWebhook":false,"pointer":"/paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a gift V4","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Creates a gift (V4)."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_61"}},"schemaId":"schema_61","pointer":"/paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/public/gift-tokens/v1/gift-tokens","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_61"}},"responseCodes":["201","400"],"pointer":"/zephr/public/gift-tokens/v1/gift-tokens","href":"v4-gifts/createv4gift","openApiOperationId":"createV4Gift","summary":"Create a gift V4","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_61","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_61"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/v4-gift-response","exampleIds":["paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post/responses/201/content/application~1json/examples/response"]}},"schemaId":"components/schemas/v4-gift-response","exampleIds":["paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post/responses/201/content/application~1json/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"components/schemas/v4-gift-response","exampleIds":["paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post/responses/201/content/application~1json/examples/response"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/v4-gift-response","exampleIds":["paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post/responses/201/content/application~1json/examples/response"]}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/v4-gifts/createv4gift"}],"panels":[]}]},"httpPath":"/zephr/public/gift-tokens/v1/gift-tokens"}],"content":{"contentType":"group","meta":{"name":"V4 Gifts"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"V4 Gifts","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Create a Gift resource for V4. Gifts can be used to provide access to a particular URL for one session only by appending a gift token ID to the URL as the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"gift"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" path parameter."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/public/gift-tokens/v1/gift-tokens","summary":"Create a gift V4","prefix":{"name":"post","color":"post"},"badges":[],"link":"/v4-gifts/createv4gift","deprecated":false}]}]}]}]}},{"type":"group","label":"Web Analytics","link":"/zephr-api-reference/zephr-public-api/web-analytics","routeSlug":"/zephr-api-reference/zephr-public-api/web-analytics","items":[{"label":"Retrieve the datalayer","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/web-analytics/getdatalayer","routeSlug":"/zephr-api-reference/zephr-public-api/web-analytics/getdatalayer","metadata":{"seo":{"title":"Retrieve the datalayer","description":"Retrieves the Datalayer object for the current session. The datalayer can be used to provide contextual data when tracking user activity, for example providing values for 'User Attributes' in hotjar. The /blaize/profile endpoint is preferred for retrieving complete user profile information.  All fields configured in the admin console will be resolved against the current session and returned.  The top-level property in the response object defaults to 'dataLayer' and can be configured in the console under the data layer settings using the 'Data Layer Name' field.  Data layer fields can be grouped by their 'Entity' as configured in the console. An example of the possible groupings is included."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getDatalayer","name":"Retrieve the datalayer","isWebhook":false,"pointer":"/paths/~1blaize~1datalayer/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the datalayer","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieves the Datalayer object for the current session. The datalayer can be used to provide contextual data when tracking user activity, for example providing values for 'User Attributes' in hotjar. The /blaize/profile endpoint is preferred for retrieving complete user profile information. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" All fields configured in the admin console will be resolved against the current session and returned. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" The top-level property in the response object defaults to 'dataLayer' and can be configured in the console under the data layer settings using the 'Data Layer Name' field. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" Data layer fields can be grouped by their 'Entity' as configured in the console. An example of the possible groupings is included."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/blaize/datalayer","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/blaize/datalayer","href":"web-analytics/getdatalayer","openApiOperationId":"getDatalayer","summary":"Retrieve the datalayer","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_62","exampleIds":["paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Grouped-fields","paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Ungrouped-fields"]}},"schemaId":"schema_62","exampleIds":["paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Grouped-fields","paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Ungrouped-fields"],"headers":{"Cache-Control":{"schema":{"type":"string"},"description":"The response cache header max-age can be configured by support, and defaults to zero seconds."}},"headerSchemaId":"schema_63"},{"code":"401","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Unauthorized "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" Returned if no valid session was provided, either anonymous or authenticated."},"children":[]}]}]}],"headers":{}}],"pointer":"/paths/~1blaize~1datalayer/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_62","exampleIds":["paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Grouped-fields","paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Ungrouped-fields"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_62","exampleIds":["paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Grouped-fields","paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Ungrouped-fields"]}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/web-analytics/getdatalayer"}],"panels":[]}]},"httpPath":"/blaize/datalayer"},{"label":"Submit user conversion data","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/web-analytics/submituserconversiondata","routeSlug":"/zephr-api-reference/zephr-public-api/web-analytics/submituserconversiondata","metadata":{"seo":{"title":"Submit user conversion data","description":"Records a user conversion.  In Zephr, a conversion typically represents a user state change, such as transitioning from anonymous to registered or becoming a paying customer. This endpoint can also be used to record any event, like a user clicking on an advert. Conversions are tracked against specific rule versions and outcomes, enabling performance comparison between different outcomes.   Recording this data enables the comparison of performance of different outcomes in a rule. For example, a split test could be set up with two slightly different 'advert' outcomes that each record a conversion when a user interacts with them. After traffic has been processed by the rule, the conversion rates between the two outcomes can be compared in 'analytics' mode in the console. For example, it might show that 5% of users who saw Outcome1 clicked a button, compared to 8% for Outcome2. This analytics data can be downloaded in CSV format for further analysis.  Conversion data is only used to evaluate the performance of outcomes in rules and cannot be accessed on a per-user basis. To track if a particular registered user has interacted with an outcome, update a user attribute value.  This endpoint is only relevant where the Zephr in-rule analytics feature is enabled.  This endpoint must be called with a populated blaize_tracking_id cookie.If this cookie is missing, a 400 response code is returned."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"submitUserConversionData","name":"Submit user conversion data","isWebhook":false,"pointer":"/paths/~1zephr~1public~1rule-outcomes~1v1~1conversions/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Submit user conversion data","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Records a user conversion.  In Zephr, a conversion typically represents a user state change, such as transitioning from anonymous to registered or becoming a paying customer. This endpoint can also be used to record any event, like a user clicking on an advert. Conversions are tracked against specific rule versions and outcomes, enabling performance comparison between different outcomes.  "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" Recording this data enables the comparison of performance of different outcomes in a rule. For example, a split test could be set up with two slightly different 'advert' outcomes that each record a conversion when a user interacts with them. After traffic has been processed by the rule, the conversion rates between the two outcomes can be compared in 'analytics' mode in the console. For example, it might show that 5% of users who saw Outcome1 clicked a button, compared to 8% for Outcome2. This analytics data can be downloaded in CSV format for further analysis. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" Conversion data is only used to evaluate the performance of outcomes in rules and cannot be accessed on a per-user basis. To track if a particular registered user has interacted with an outcome, update a user attribute value. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" This endpoint is only relevant where the Zephr in-rule analytics feature is enabled. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" This endpoint must be called with a populated blaize_tracking_id cookie."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If this cookie is missing, a 400 response code is returned."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"cookies","label":"Cookies","labelTranslationKey":"cookie","parameters":[{"name":"blaize_tracking_id","in":"cookie","schemaId":"schema_0","description":"Zephr tracking ID cookie used to uniquely identify the user or anonymous session","required":true,"example":"dc8f7f9e-2deb-4485-a9f0-34b44fc7f45e"}],"pointer":"/paths/~1zephr~1public~1rule-outcomes~1v1~1conversions/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/conversion-request"}},"schemaId":"components/schemas/conversion-request","pointer":"/paths/~1zephr~1public~1rule-outcomes~1v1~1conversions/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/public/rule-outcomes/v1/conversions","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[{"name":"blaize_tracking_id","in":"cookie","required":true,"example":"dc8f7f9e-2deb-4485-a9f0-34b44fc7f45e","schemaId":"schema_0"}]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/conversion-request"}},"responseCodes":["201","400"],"pointer":"/zephr/public/rule-outcomes/v1/conversions","href":"web-analytics/submituserconversiondata","openApiOperationId":"submitUserConversionData","summary":"Submit user conversion data","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"components/schemas/conversion-request","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/conversion-request"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"OK. The user conversion data has been successfully recorded.","headers":{}},{"code":"400","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bad Request. Returned when the request is missing a blaize_tracking_id cookie."},"children":[]}]}]}],"mediaType":"text/plain","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"schemaId":"schema_64"}},"schemaId":"schema_64","headers":{}}],"pointer":"/paths/~1zephr~1public~1rule-outcomes~1v1~1conversions/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201"},{"code":"400","schemaId":"schema_64","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"schemaId":"schema_64"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/web-analytics/submituserconversiondata"}],"panels":[]}]},"httpPath":"/zephr/public/rule-outcomes/v1/conversions"}],"content":{"contentType":"group","meta":{"name":"Web Analytics"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Web Analytics","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/blaize/datalayer","summary":"Retrieve the datalayer","prefix":{"name":"get","color":"get"},"badges":[],"link":"/web-analytics/getdatalayer","deprecated":false},{"title":"/zephr/public/rule-outcomes/v1/conversions","summary":"Submit user conversion data","prefix":{"name":"post","color":"post"},"badges":[],"link":"/web-analytics/submituserconversiondata","deprecated":false}]}]}]}]}},{"type":"group","label":"Zephr Features","link":"/zephr-api-reference/zephr-public-api/zephr-features","routeSlug":"/zephr-api-reference/zephr-public-api/zephr-features","items":[{"label":"Retrieve the Zephr Feature","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/zephr-features/retrievezephrfeature","routeSlug":"/zephr-api-reference/zephr-public-api/zephr-features/retrievezephrfeature","metadata":{"seo":{"title":"Retrieve the Zephr Feature","description":"Retrieves the Zephr browser features by default, or optionally with query parameter ?ruleType returns the given type, they can be HTML, browser, JSON, SDK."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveZephrFeature","name":"Retrieve the Zephr Feature","isWebhook":false,"pointer":"/paths/~1zephr~1features/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the Zephr Feature","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves the Zephr browser features by default, or optionally with query parameter ?ruleType returns the given type, they can be HTML, browser, JSON, SDK."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ruleType","in":"query","schemaId":"schema_65","description":"Type of the feature rule"}],"pointer":"/paths/~1zephr~1features/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/features","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"ruleType","in":"query","required":false,"schemaId":"schema_65"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/zephr/features","href":"zephr-features/retrievezephrfeature","openApiOperationId":"retrieveZephrFeature","summary":"Retrieve the Zephr Feature","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK. The response will be an array of features.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/zephr-features-response-array","exampleIds":["paths/~1zephr~1features/get/responses/200/content/application~1json/examples/COMMENT_TAG","paths/~1zephr~1features/get/responses/200/content/application~1json/examples/CSS_SELECTOR"]}},"schemaId":"components/schemas/zephr-features-response-array","exampleIds":["paths/~1zephr~1features/get/responses/200/content/application~1json/examples/COMMENT_TAG","paths/~1zephr~1features/get/responses/200/content/application~1json/examples/CSS_SELECTOR"],"headers":{}}],"pointer":"/paths/~1zephr~1features/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/zephr-features-response-array","exampleIds":["paths/~1zephr~1features/get/responses/200/content/application~1json/examples/COMMENT_TAG","paths/~1zephr~1features/get/responses/200/content/application~1json/examples/CSS_SELECTOR"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/zephr-features-response-array","exampleIds":["paths/~1zephr~1features/get/responses/200/content/application~1json/examples/COMMENT_TAG","paths/~1zephr~1features/get/responses/200/content/application~1json/examples/CSS_SELECTOR"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/zephr-features/retrievezephrfeature"}],"panels":[]}]},"httpPath":"/zephr/features"}],"content":{"contentType":"group","meta":{"name":"Zephr Features"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Zephr Features","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/features","summary":"Retrieve the Zephr Feature","prefix":{"name":"get","color":"get"},"badges":[],"link":"/zephr-features/retrievezephrfeature","deprecated":false}]}]}]}]}},{"type":"group","label":"Component Library","link":"/zephr-api-reference/zephr-public-api/component-library","routeSlug":"/zephr-api-reference/zephr-public-api/component-library","items":[{"label":"Retrieve the Component Library","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/component-library/retrievecomponentlibrary","routeSlug":"/zephr-api-reference/zephr-public-api/component-library/retrievecomponentlibrary","metadata":{"seo":{"title":"Retrieve the Component Library","description":"Components configured in the component library can be retrieved as rendered HTML. The componentId passed in the path can be versioned to reference a specific version of a library component. For example, ‘payment-form:1’, ‘payment-form:4’ or ‘payment-form:active’ to reference the default version of the component."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveComponentLibrary","name":"Retrieve the Component Library","isWebhook":false,"pointer":"/paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the Component Library","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Components configured in the component library can be retrieved as rendered HTML. The componentId passed in the path can be versioned to reference a specific version of a library component. For example, ‘payment-form:1’, ‘payment-form:4’ or ‘payment-form:active’ to reference the default version of the component."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"componentId","in":"path","schemaId":"schema_0","description":"The versioned slug of the component in the library to render, as configured in the console.","required":true,"example":"my-component:1"}],"pointer":"/paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/component-library/v1/library-components/{componentId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"componentId","in":"path","required":true,"example":"my-component:1","schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400"],"pointer":"/zephr/public/component-library/v1/library-components/{componentId}","href":"component-library/retrievecomponentlibrary","openApiOperationId":"retrieveComponentLibrary","summary":"Retrieve the Component Library","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"text/html","mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get/responses/200/content/text~1html/examples/response"]}},"exampleIds":["paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get/responses/200/content/text~1html/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","exampleIds":["paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get/responses/200/content/text~1html/examples/response"],"mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get/responses/200/content/text~1html/examples/response"]}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/component-library/retrievecomponentlibrary"}],"panels":[]}]},"httpPath":"/zephr/public/component-library/v1/library-components/{componentId}"},{"label":"Retrieve the Template Components","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/component-library/retrievetemplatecomponents","routeSlug":"/zephr-api-reference/zephr-public-api/component-library/retrievetemplatecomponents","metadata":{"seo":{"title":"Retrieve the Template Components","description":"Template components can be retrieved as rendered HTML. This endpoint is intended to be consumed by callers processing the output of an SDK TRANSFORMATION rule, where templateConfigId will identify a particular instance of a template component being used in an outcome with variables specified."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveTemplateComponents","name":"Retrieve the Template Components","isWebhook":false,"pointer":"/paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the Template Components","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Template components can be retrieved as rendered HTML. This endpoint is intended to be consumed by callers processing the output of an SDK TRANSFORMATION rule, where templateConfigId will identify a particular instance of a template component being used in an outcome with variables specified.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"templateConfigId","in":"path","schemaId":"schema_0","description":"templateConfigId","required":true}],"pointer":"/paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/template-components/v1/template-components/{templateConfigId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"templateConfigId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400"],"pointer":"/zephr/public/template-components/v1/template-components/{templateConfigId}","href":"component-library/retrievetemplatecomponents","openApiOperationId":"retrieveTemplateComponents","summary":"Retrieve the Template Components","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"text/html","mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get/responses/200/content/text~1html/examples/response"]}},"exampleIds":["paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get/responses/200/content/text~1html/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","exampleIds":["paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get/responses/200/content/text~1html/examples/response"],"mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get/responses/200/content/text~1html/examples/response"]}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/component-library/retrievetemplatecomponents"}],"panels":[]}]},"httpPath":"/zephr/public/template-components/v1/template-components/{templateConfigId}"},{"label":"Retrieve the UI Components","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/component-library/retrieveuicomponents","routeSlug":"/zephr-api-reference/zephr-public-api/component-library/retrieveuicomponents","metadata":{"seo":{"title":"Retrieve the UI Components","description":"UI components can be retrieved as rendered HTML. This endpoint is intended to be consumed by callers processing the output of an SDK TRANSFORMATION rule, where componentId will reference a form or custom component created within an outcome of a rule."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveUIComponents","name":"Retrieve the UI Components","isWebhook":false,"pointer":"/paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve the UI Components","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"UI components can be retrieved as rendered HTML. This endpoint is intended to be consumed by callers processing the output of an SDK TRANSFORMATION rule, where componentId will reference a form or custom component created within an outcome of a rule.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"componentId","in":"path","schemaId":"schema_0","description":"componentId","required":true}],"pointer":"/paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ui component variable","in":"query","schemaId":"schema_0","description":"parameters can optionally be included and will be rendered where the matching param name exists in the UI component","example":"?myVar=test&otherVar=something"}],"pointer":"/paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/ui-components/v1/ui-components/{componentId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"componentId","in":"path","required":true,"schemaId":"schema_0"}],"query":[{"name":"ui component variable","in":"query","required":false,"example":"?myVar=test&otherVar=something","schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","404"],"pointer":"/zephr/public/ui-components/v1/ui-components/{componentId}","href":"component-library/retrieveuicomponents","openApiOperationId":"retrieveUIComponents","summary":"Retrieve the UI Components","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"text/html","mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/responses/200/content/text~1html/examples/response"]}},"exampleIds":["paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/responses/200/content/text~1html/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"404","description":"Not Found","headers":{}}],"pointer":"/paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","exampleIds":["paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/responses/200/content/text~1html/examples/response"],"mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/responses/200/content/text~1html/examples/response"]}}},{"code":"400"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/component-library/retrieveuicomponents"}],"panels":[]}]},"httpPath":"/zephr/public/ui-components/v1/ui-components/{componentId}"},{"label":"Retrieve a form by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/component-library/getform","routeSlug":"/zephr-api-reference/zephr-public-api/component-library/getform","metadata":{"seo":{"title":"Retrieve a form by ID","description":"Retrieves a form by ID and returns an HTML page that renders it."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getForm","name":"Retrieve a form by ID","isWebhook":false,"pointer":"/paths/~1zephr~1public~1forms~1v1~1forms~1{formId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve a form by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieves a form by ID and returns an HTML page that renders it."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"formId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1zephr~1public~1forms~1v1~1forms~1{formId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"outcomeId","in":"query","schemaId":"schema_0","description":"Used to render the form"},{"name":"ruleId","in":"query","schemaId":"schema_0","description":"Used to render the form"}],"pointer":"/paths/~1zephr~1public~1forms~1v1~1forms~1{formId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/forms/v1/forms/{formId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"formId","in":"path","required":true,"schemaId":"schema_0"}],"query":[{"name":"outcomeId","in":"query","required":false,"schemaId":"schema_0"},{"name":"ruleId","in":"query","required":false,"schemaId":"schema_0"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400"],"pointer":"/zephr/public/forms/v1/forms/{formId}","href":"component-library/getform","openApiOperationId":"getForm","summary":"Retrieve a form by ID","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1public~1forms~1v1~1forms~1{formId}/get/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/component-library/getform"}],"panels":[]}]},"httpPath":"/zephr/public/forms/v1/forms/{formId}"},{"label":"List custom components","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/component-library/retrievecustomcomponents","routeSlug":"/zephr-api-reference/zephr-public-api/component-library/retrievecustomcomponents","metadata":{"seo":{"title":"List custom components","description":"Custom components can be retrieved as rendered HTML. This endpoint is intended to be consumed by callers processing the output of an SDK TRANSFORMATION rule, where internalTemplateUsageId will identify a particular instance of a custom component being used in an outcome with variables specified. The variables used by the custom component can be passed in as query parameters with the request which will override the values provided in the rule."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveCustomComponents","name":"List custom components","isWebhook":false,"pointer":"/paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List custom components","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Custom components can be retrieved as rendered HTML. This endpoint is intended to be consumed by callers processing the output of an SDK TRANSFORMATION rule, where internalTemplateUsageId will identify a particular instance of a custom component being used in an outcome with variables specified. The variables used by the custom component can be passed in as query parameters with the request which will override the values provided in the rule.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"internalTemplateUsageId","in":"path","schemaId":"schema_0","description":"The internal template usage ID.","required":true}],"pointer":"/paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/zephr/public/internal-templates/v1/internal-templates/{internalTemplateUsageId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"internalTemplateUsageId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400","403","404"],"pointer":"/zephr/public/internal-templates/v1/internal-templates/{internalTemplateUsageId}","href":"component-library/retrievecustomcomponents","openApiOperationId":"retrieveCustomComponents","summary":"List custom components","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"text/html","mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get/responses/200/content/text~1html/examples/response"]}},"exampleIds":["paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get/responses/200/content/text~1html/examples/response"],"headers":{}},{"code":"400","description":"Bad Request","headers":{}},{"code":"403","description":"Forbidden","headers":{}},{"code":"404","description":"Form not found","headers":{}}],"pointer":"/paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","exampleIds":["paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get/responses/200/content/text~1html/examples/response"],"mediaTypes":["text/html"],"mediaTypeContent":{"text/html":{"exampleIds":["paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get/responses/200/content/text~1html/examples/response"]}}},{"code":"400"},{"code":"403"},{"code":"404"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/component-library/retrievecustomcomponents"}],"panels":[]}]},"httpPath":"/zephr/public/internal-templates/v1/internal-templates/{internalTemplateUsageId}"}],"content":{"contentType":"group","meta":{"name":"Component Library"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Component Library","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/public/component-library/v1/library-components/{componentId}","summary":"Retrieve the Component Library","prefix":{"name":"get","color":"get"},"badges":[],"link":"/component-library/retrievecomponentlibrary","deprecated":false},{"title":"/zephr/public/template-components/v1/template-components/{templateConfigId}","summary":"Retrieve the Template Components","prefix":{"name":"get","color":"get"},"badges":[],"link":"/component-library/retrievetemplatecomponents","deprecated":false},{"title":"/zephr/public/ui-components/v1/ui-components/{componentId}","summary":"Retrieve the UI Components","prefix":{"name":"get","color":"get"},"badges":[],"link":"/component-library/retrieveuicomponents","deprecated":false},{"title":"/zephr/public/forms/v1/forms/{formId}","summary":"Retrieve a form by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/component-library/getform","deprecated":false},{"title":"/zephr/public/internal-templates/v1/internal-templates/{internalTemplateUsageId}","summary":"List custom components","prefix":{"name":"get","color":"get"},"badges":[],"link":"/component-library/retrievecustomcomponents","deprecated":false}]}]}]}]}},{"label":"Change the Stripe subscription price","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/other/previeweditstripesubscriptionprice","routeSlug":"/zephr-api-reference/zephr-public-api/other/previeweditstripesubscriptionprice","metadata":{"seo":{"title":"Change the Stripe subscription price","description":"Generates a new preview of the price that Stripe will charge the customer if they create a new subscription for the specified plan. Note: This method does not create any entities in Stripe and does not result in any payments being made."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"previewEditStripeSubscriptionPrice","name":"Change the Stripe subscription price","isWebhook":false,"pointer":"/paths/~1zephr~1payment~1stripe~1subscriptions~1{externalId}~1change-previews/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change the Stripe subscription price","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Generates a new preview of the price that Stripe will charge the customer if they create a new subscription for the specified plan.\nNote: This method does not create any entities in Stripe and does not result in any payments being made."},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"externalId","in":"path","schemaId":"schema_0","required":true}],"pointer":"/paths/~1zephr~1payment~1stripe~1subscriptions~1{externalId}~1change-previews/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_66"}},"schemaId":"schema_66","pointer":"/paths/~1zephr~1payment~1stripe~1subscriptions~1{externalId}~1change-previews/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/payment/stripe/subscriptions/{externalId}/change-previews","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"externalId","in":"path","required":true,"schemaId":"schema_0"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_66"}},"responseCodes":["200","400"],"pointer":"/zephr/payment/stripe/subscriptions/{externalId}/change-previews","href":"other/previeweditstripesubscriptionprice","openApiOperationId":"previewEditStripeSubscriptionPrice","summary":"Change the Stripe subscription price","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"schemaId":"schema_66","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_66"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_67"}},"schemaId":"schema_67","headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1payment~1stripe~1subscriptions~1{externalId}~1change-previews/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_67","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_67"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/other/previeweditstripesubscriptionprice"}],"panels":[]}]},"httpPath":"/zephr/payment/stripe/subscriptions/{externalId}/change-previews"},{"type":"group","label":"Oauth2 Access Token","link":"/zephr-api-reference/zephr-public-api/oauth2-access-token","routeSlug":"/zephr-api-reference/zephr-public-api/oauth2-access-token","items":[{"label":"Request oauth2 access token","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/oauth2-access-token/requestoauth2accesstoken","routeSlug":"/zephr-api-reference/zephr-public-api/oauth2-access-token/requestoauth2accesstoken","metadata":{"seo":{"title":"Request oauth2 access token","description":"Facilitates the acquisition of an OAuth2 access token.  It requires either a basic authorization header or a client_id provided in the request body."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"requestOauth2AccessToken","name":"Request oauth2 access token","isWebhook":false,"pointer":"/paths/~1zephr~1oauth2~1token/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Request oauth2 access token","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Facilitates the acquisition of an OAuth2 access token.  It requires either a basic authorization header or a client_id provided in the request body."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"client_id","in":"query","schemaId":"schema_68","description":"The Zephr site's Oauth2 client ID."}],"pointer":"/paths/~1zephr~1oauth2~1token/post/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"authorization","in":"header","schemaId":"schema_0","description":"Encoded basic authorisation header that includes Zephr Site Oauth2 Client ID.","example":"Authorization: Basic ZGVtbzpwQDU1dzByZA=="}],"pointer":"/paths/~1zephr~1oauth2~1token/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/zephr/oauth2/token","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[],"query":[{"name":"client_id","in":"query","required":false,"example":"client_id=1234567890","schemaId":"schema_68"}],"querystring":[],"header":[{"name":"authorization","in":"header","required":false,"example":"Authorization: Basic ZGVtbzpwQDU1dzByZA==","schemaId":"schema_0"}],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","400"],"pointer":"/zephr/oauth2/token","href":"oauth2-access-token/requestoauth2accesstoken","openApiOperationId":"requestOauth2AccessToken","summary":"Request oauth2 access token","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/oauth2-token-response"}},"schemaId":"components/schemas/oauth2-token-response","headers":{}},{"code":"400","description":"Bad Request","headers":{}}],"pointer":"/paths/~1zephr~1oauth2~1token/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/oauth2-token-response","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/oauth2-token-response"}}},{"code":"400"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/oauth2-access-token/requestoauth2accesstoken"}],"panels":[]}]},"httpPath":"/zephr/oauth2/token"}],"content":{"contentType":"group","meta":{"name":"Oauth2 Access Token"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Oauth2 Access Token","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/oauth2/token","summary":"Request oauth2 access token","prefix":{"name":"post","color":"post"},"badges":[],"link":"/oauth2-access-token/requestoauth2accesstoken","deprecated":false}]}]}]}]}},{"type":"group","label":"Subscription","link":"/zephr-api-reference/zephr-public-api/subscription","routeSlug":"/zephr-api-reference/zephr-public-api/subscription","items":[{"label":"Cancel a subscription","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/zephr-api-reference/zephr-public-api/subscription/cancelsubscription","routeSlug":"/zephr-api-reference/zephr-public-api/subscription/cancelsubscription","metadata":{"seo":{"title":"Cancel a subscription","description":"It cancels the logged in user's subscription with the provided external identifier (extenalId). A logged in session is required for this operation."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"cancelSubscription","name":"Cancel a subscription","isWebhook":false,"pointer":"/paths/~1zephr~1subscriptions~1{externalId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cancel a subscription","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"It cancels the logged in user's subscription with the provided external identifier ("},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"extenalId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"). A logged in session is required for this operation."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"CookieBlaizeSession","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_session","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtQuery","scopes":[],"type":"apiKey","in":"query","paramName":"jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXBlaizeJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-blaize-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtHeaderXZephrJwt","scopes":[],"type":"apiKey","in":"header","paramName":"x-zephr-jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtBearer","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]},{"schemes":[{"name":"JwtCookie","scopes":[],"type":"apiKey","in":"cookie","paramName":"blaize_jwt","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"externalId","in":"path","schemaId":"schema_69","description":"The external identifier of the subscription","required":true}],"pointer":"/paths/~1zephr~1subscriptions~1{externalId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/zephr/subscriptions/{externalId}","servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"parameters":{"path":[{"name":"externalId","in":"path","required":true,"example":"mySubscription1","schemaId":"schema_69"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"CookieBlaizeSession","type":"apiKey","name":"blaize_session","in":"cookie"}],"scopes":[]},{"schemes":[{"id":"JwtQuery","type":"apiKey","name":"jwt","in":"query"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","name":"x-blaize-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtHeaderXZephrJwt","type":"apiKey","name":"x-zephr-jwt","in":"header"}],"scopes":[]},{"schemes":[{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]},{"schemes":[{"id":"JwtCookie","type":"apiKey","name":"blaize_jwt","in":"cookie"}],"scopes":[]}],"responseCodes":["200","403","409"],"pointer":"/zephr/subscriptions/{externalId}","href":"subscription/cancelsubscription","openApiOperationId":"cancelSubscription","summary":"Cancel a subscription","securityGroups":[{"CookieBlaizeSession":[]},{"JwtQuery":[]},{"JwtHeaderXBlaizeJwt":[]},{"JwtHeaderXZephrJwt":[]},{"JwtBearer":[]},{"JwtCookie":[]}]},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK - Subscription has been cancelled successfully","headers":{}},{"code":"403","description":"Forbidden - Invalid subscription provided","headers":{}},{"code":"409","description":"Conflict - This subscription had already been cancelled","headers":{}}],"pointer":"/paths/~1zephr~1subscriptions~1{externalId}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/subscription/cancelsubscription"}],"panels":[]}]},"httpPath":"/zephr/subscriptions/{externalId}"}],"content":{"contentType":"group","meta":{"name":"Subscription"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Subscription","showPageActions":true}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/zephr/subscriptions/{externalId}","summary":"Cancel a subscription","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/subscription/cancelsubscription","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/user-2fa-password-reset":{"id":"components/schemas/user-2fa-password-reset","kind":"json-schema","title":"user-2fa-password-reset","data":{"type":"object","example":{"identifiers":{"email_address":"joe.blow@company.com"}},"properties":{"identifiers":{"type":"object","required":["email_address"],"properties":{"email_address":{"type":"string"}}}}}},"components/schemas/oauth2":{"id":"components/schemas/oauth2","kind":"json-schema","title":"oauth2","data":{"type":"object","properties":{"identifiers":{"type":"object","properties":{"email_address":{"type":"string"},"password":{"type":"string"}}}},"required":["identifiers"],"example":{"identifiers":{"email_address":"joe.blow@company.com","password":"supersecret123!"}}}},"components/schemas/user-login-response":{"id":"components/schemas/user-login-response","kind":"json-schema","title":"user-login-response","data":{"type":"object","properties":{"cookie":{"type":"string","description":"The authenticated user session.","example":"blaize_session=443ed68f-0b44-4f32-8443-553d584cb0dd; Expires=Fri, 16 Nov 2018 12:35:56 GMT; Path=/;"},"message":{"type":"string","example":"Login successful"},"tracking_id":{"type":"string","description":"The user tracking ID.","example":"4fac49a6-e423-4ac1-b0ad-d678979344422"}}}},"components/schemas/user-registration-request":{"id":"components/schemas/user-registration-request","kind":"json-schema","title":"user-registration-request","data":{"type":"object","properties":{"identifiers":{"type":"object","properties":{"email_address":{"type":"string"}}},"validators":{"type":"object","properties":{"password":{"type":"string"},"use_sso":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When this is present there should be no identifiers in the body. The user is identified through a blaize_session cookie."},"children":[]}]}]}]}}}},"required":["identifiers","validators"],"example":{"identifiers":{"email_address":"abc@company.com"},"validators":{"password":"securepassword@123"}}}},"components/schemas/user-registration-response":{"id":"components/schemas/user-registration-response","kind":"json-schema","title":"user-registration-response","data":{"type":"object","properties":{"cookie":{"type":"string","example":"blaize_session=0123456789ABCD; Expires=Fri, 16 Nov 2018 12:35:56 GMT; Path=/;"},"message":{"type":"string","example":"Registration successful"},"tracking_id":{"type":"string","example":"TT0123456789ABCD"}}}},"components/schemas/admin-user-logout-request":{"id":"components/schemas/admin-user-logout-request","kind":"json-schema","title":"admin-user-logout-request","data":{"type":"object","properties":{"where":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"An enum of describing which sessions/devices to log out of."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Options are "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"JUST_HERE"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"THIS_DEVICE"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"OTHER_DEVICES"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"EVERYWHERE"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"These options are only valid when Single Sign-On is configured."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When SSO is configured as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"autoLogin"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", then the default behaviour is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"THIS_DEVICE"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When SSO is configured as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"optIn"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", then the default behaviour is "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"JUST_HERE"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]},{"$$mdtype":"Node","type":"softbreak","inline":true,"attributes":{},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"JUST_HERE"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is not a valid option when SSO is configured as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"autoLogin"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}},"example":{"where":"EVERYWHERE"}}},"components/schemas/admin-user-logout-response":{"id":"components/schemas/admin-user-logout-response","kind":"json-schema","title":"admin-user-logout-response","data":{"type":"object","properties":{"message":{"type":"string","example":"Session deleted"}}}},"components/schemas/RetrieveStatusResponse":{"id":"components/schemas/RetrieveStatusResponse","kind":"json-schema","title":"RetrieveStatusResponse","data":{"type":"object","required":["status"],"properties":{"status":{"type":"string","example":"authenticated","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The SSO status of the current user session. This can be:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"unknown"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The SSO token is not authenticated anywhere, or the current session is not associated with an SSO token."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"known"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The current session is anonymous, but the SSO token is authenticated on another site."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"authenticated"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": The current session is authenticated through an SSO token."},"children":[]}]}]}]}]}]},"meta":{"oneOf":[{"$ref":"#/components/schemas/customer-meta"},{"nullable":true,"type":"string"}]}}}},"components/schemas/customer-meta":{"id":"components/schemas/customer-meta","kind":"json-schema","title":"customer-meta","data":{"type":"object","properties":{}}},"components/schemas/conversion-request":{"id":"components/schemas/conversion-request","kind":"json-schema","title":"conversion-request","data":{"example":{"ruleId":"article-22","outcomeId":"graph/1#1,graph/1#2,graph/1#3,graph/2#1,graph/2#2","conversion":"REGISTERED"},"properties":{"ruleId":{"type":"string","description":"The ID of the specific Zephr rule version that led to the outcome causing this conversion."},"outcomeId":{"type":"string","description":"The ID of the outcome in the rule that triggered this conversion."},"conversion":{"type":"string","description":"The type of conversion to be recorded. For example, Zephr out-of-the-box components will submit conversion strings 'REGISTERED' and 'CUSTOMER' when registering a user or when a user purchases a product. Any string can be used for custom conversions."}},"required":["conversion","outcomeId","ruleId"],"type":"object"}},"components/schemas/passwordless-authentication-request":{"id":"components/schemas/passwordless-authentication-request","kind":"json-schema","title":"passwordless-authentication-request","data":{"type":"object","required":["identifiers","action"],"properties":{"identifiers":{"$ref":"#/components/schemas/identifiers"},"action":{"type":"string","enum":["login","register","completeRegistration"]},"redirect":{"type":"string","description":"Either a relative path to the current site or a full URL for another site in the current tenant."}}}},"components/schemas/password-reset-request":{"id":"components/schemas/password-reset-request","kind":"json-schema","title":"password-reset-request","data":{"type":"object","properties":{"identifiers":{"$ref":"#/components/schemas/identifiers"}},"required":["identifiers"]}},"components/schemas/cdn-anonymous-session-response":{"id":"components/schemas/cdn-anonymous-session-response","kind":"json-schema","title":"cdn-anonymous-session-response","data":{"type":"object","properties":{"message":{"type":"string","example":"Anonymous session created successfully"},"tracking_id":{"type":"string"}}}},"components/schemas/start-update-your-current-email-address-request":{"id":"components/schemas/start-update-your-current-email-address-request","kind":"json-schema","title":"start-update-your-current-email-address-request","data":{"type":"object","properties":{"new_identifiers":{"type":"object","properties":{"email_address":{"type":"string"}}}},"required":["new_identifiers"],"example":{"new_identifiers":{"email_address":"joe.blow@company.com"}}}},"components/schemas/start-update-your-current-zephr-email-address-request":{"id":"components/schemas/start-update-your-current-zephr-email-address-request","kind":"json-schema","title":"start-update-your-current-zephr-email-address-request","data":{"type":"object","properties":{"current_identifiers":{"$ref":"#/components/schemas/identifiers"},"new_identifiers":{"$ref":"#/components/schemas/identifiers"},"validators":{"$ref":"#/components/schemas/validators"}},"required":["current_identifiers","new_identifiers","validators"],"example":{"current_identifiers":{"email_address":"john.doe@company.com"},"new_identifiers":{"email_address":"doe.john@company.com"},"validators":{"password":"mysecurepassword123"}}}},"components/schemas/complete-update-your-current-zephr-email-address-request":{"id":"components/schemas/complete-update-your-current-zephr-email-address-request","kind":"json-schema","title":"complete-update-your-current-zephr-email-address-request","data":{"type":"object","properties":{"current_identifiers":{"$ref":"#/components/schemas/identifiers"},"validators":{"$ref":"#/components/schemas/validators"}},"required":["current_identifiers","validators"],"example":{"current_identifiers":{"email_address":"john.doe@company.com"},"validators":{"password":"mysecurepassword123"}}}},"components/schemas/identifiers":{"id":"components/schemas/identifiers","kind":"json-schema","title":"identifiers","data":{"type":"object","properties":{"email_address":{"type":"string","example":"joe.blow@company.com"}}}},"components/schemas/delivery":{"id":"components/schemas/delivery","kind":"json-schema","title":"delivery","data":{"type":"object","properties":{"method":{"type":"string","example":"email"},"destination":{"type":"string","example":"joe.blow@company.com"},"action":{"type":"string","example":"login"},"redirect":{"type":"string","example":"/"}}}},"components/schemas/braintree-subscription-product":{"id":"components/schemas/braintree-subscription-product","kind":"json-schema","title":"braintree-subscription-product","data":{"type":"object","properties":{"tenantId":{"type":"string","example":"your-tenant|site-slug","description":"Zephr tenant ID and site slug"},"subTenantId":{"type":"string","example":"your-tenant|site-slug","description":"Zephr subtenant ID and site slug"},"id":{"type":"string","example":"one-month-one-off","description":"Zephr product ID"},"label":{"type":"string","example":"One month access","description":"Zephr product label"},"description":{"type":"string","example":"One month access","description":"Description of Zephr product"},"entitlement":{"type":"object","properties":{"id":{"type":"string","example":"191f6d00-b8d4-46f1-a22d-2bf53f4f8fa3","description":"Zephr product entitlement ID"},"type":{"type":"string","example":"bundle","description":"Zephr product entitlement type"}}},"mapping":{"type":"object","properties":{"recurring":{"type":"object","properties":{"plans":{"type":"array","description":"Recurring plans assigned to this product","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"archived":{"type":"boolean"},"billingCycles":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Number of billing cycles for this plan, "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" if none defined"},"children":[]}]}]}]},"paymentProvider":{"type":"string","description":"Payment provider name in lowercase","example":"braintree"}}}},"multiPhasedPlans":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Multi-phased plans are not supported in Braintree, this will be "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]}]}]}],"default":null,"items":{"type":"object"}}}},"oneOff":{"type":"object","properties":{"plans":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"always "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]}]}]}]},"archived":{"type":"boolean"},"billingCycles":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"always "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]}]}]}]},"paymentProvider":{"type":"string","description":"Payment provider name in lowercase","example":"braintree"},"accessDuration":{"type":"object","properties":{"duration":{"type":"number","description":"Number of months this plan provides","example":2},"unit":{"type":"string","description":"always 'MONTHS'","example":"MONTHS"}}}}}}}},"jwt":{"type":"object","properties":{"claim_value":{"type":"string"}}}}},"sharingLimit":{"type":"number","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The number of users this product can be shared with. Users can share the product multiple times by canceling previous shares. A value of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"0"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" indicates that the product is not shareable."},"children":[]}]}]}],"example":0}}}},"components/schemas/payment_method":{"id":"components/schemas/payment_method","kind":"json-schema","title":"payment_method","data":{"type":"object","required":["token","default","nonce","type"],"properties":{"token":{"type":"string","example":"8m2kc5g","description":"The token identifier for this payment method."},"default":{"type":"boolean","description":"If this the default payment method for this user."},"card_type":{"type":"string","example":"Visa","description":"In the case of a card payment method, the type of the card."},"card_holder_name":{"type":"string","example":"John Rambo","description":"In the case of a credit card payment method, the name of the card holder."},"card_number_masked":{"type":"string","example":"654321******0987","description":"In the case of a card payment method, the masked card number, compliant with PCI security standards."},"expiration_date":{"type":"string","example":"07/22","description":"In the case of a card payment method, the expiration date, in the format of MM/YY or MM/YYYY."},"expired":{"type":"boolean","description":"In the case of a card payment method, if the card has expired."},"expiring_soon":{"type":"boolean","description":"In the case of a card payment method, if the card will expire within the configured number of days."},"in_use":{"type":"boolean","description":"Indicates if this payment method is used by any subscriptions that have not been finalised and would be cancelled if this payment method is deleted."},"last_4":{"type":"string","example":"1111","description":"In the case of a card payment method, the last four digits of the card number."},"nonce":{"type":"string","example":"086128f3-04c2-069e-78d2-3f4de98508e5","description":"A nonce that can be used for other payment method operations."},"type":{"type":"string","example":"CreditCard","description":"The payment method type."},"zipcode":{"type":"string","example":"123456","description":"In the case of a card payment method, the zip code associated with the card."}}}},"components/schemas/payment_methods":{"id":"components/schemas/payment_methods","kind":"json-schema","title":"payment_methods","data":{"type":"array","items":{"$ref":"#/components/schemas/payment_method"}}},"components/schemas/payment_plan":{"id":"components/schemas/payment_plan","kind":"json-schema","title":"payment_plan","data":{"type":"object","required":["id","name","currency_code","base_price","billing_interval_unit","billing_interval","billing_cycles","zephr_product_id"],"properties":{"id":{"type":"string","example":"annual-plan","description":"The identifier for this payment plan."},"name":{"type":"string","example":"Sports+ Membership Annual","description":"The name of this payment plan."},"currency_code":{"type":"string","example":"USD","description":"The ISO 4217 currency code for the transaction."},"base_price":{"type":"number","example":10.2,"description":"The price of this plan, without any discounts applied."},"billing_interval_unit":{"type":"string","example":"MONTH","description":"The time measurement unit for billing interval."},"billing_interval":{"type":"number","example":3,"description":"How many time units lapse between billing events."},"billing_cycles":{"type":"number","example":12,"description":"How many times billing will occur."},"trial_duration_unit":{"type":"string","example":"DAY","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The time measurement unit for trial duration. This will always be present if "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"trial_duration"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" is set."},"children":[]}]}]}]},"trial_duration":{"type":"number","example":30,"description":"How long the trial period lasts."},"discounts":{"type":"array","items":{},"description":"Any discounts that may apply to this plan."},"zephr_product_id":{"type":"string","example":"product-123","description":"The Zephr product ID associated with this plan."}}}},"components/schemas/add-ons":{"id":"components/schemas/add-ons","kind":"json-schema","title":"add-ons","data":{"type":"array","items":{"$ref":"#/components/schemas/add-on"}}},"components/schemas/add-on":{"id":"components/schemas/add-on","kind":"json-schema","title":"add-on","data":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"value":{"type":"number"},"paymentOptions":{"type":"array","items":{"$ref":"#/components/schemas/add-on-payment-options"}}}}},"components/schemas/add-on-payment-options":{"id":"components/schemas/add-on-payment-options","kind":"json-schema","title":"add-on-payment-options","data":{"type":"object","properties":{"slug":{"type":"string","example":"plan-123","description":"The plan slug with which this add-on is associated."},"currency":{"type":"string","example":"$","description":"The currency symbol."},"addonPrice":{"type":"number","example":12.34}}}},"components/schemas/promo-code-payment-options":{"id":"components/schemas/promo-code-payment-options","kind":"json-schema","title":"promo-code-payment-options","data":{"type":"object","properties":{"slug":{"type":"string","example":"plan-123","description":"The plan slug with which this promo code is associated."},"currency":{"type":"string","example":"$","description":"The currency symbol."},"pricePointId":{"type":"string","example":"cost-123"},"originalPrice":{"type":"number","example":3.45},"discountPrice":{"type":"number","example":2}}}},"components/schemas/browser-features-response":{"id":"components/schemas/browser-features-response","kind":"json-schema","title":"browser-features-response","data":{"type":"object","properties":{"featureResults":{"type":"object","properties":{"featureX":{"type":"string","example":"blaize.transform.resource('...')","description":"Feature result transformations"}},"description":"Map of HTML Feature IDs and feature result transformations."},"resources":{"type":"object","properties":{"forms":{"type":"object","properties":{},"description":"Forms used in feature results."},"paymentForms":{"type":"object","properties":{},"description":"Payment Forms used in feature results."},"uiComponents":{"type":"object","additionalProperties":{"type":"string","description":"UI Components used in feature results."},"example":"<h1>Example</h1>"},"hostedUiComponents":{"type":"object","properties":{},"description":"Hosted UI Components used in feature results."},"componentTemplates":{"type":"object","properties":{},"description":"Component Templates used in feature results."}},"description":"Map of transformation resources"},"accessDetails":{"type":"object","properties":{"authenticated":{"type":"boolean","description":"Is the session authenticated"},"accessDecisions":{"type":"object","additionalProperties":{"type":"boolean","description":"Map of access decisions for this feature"}},"entitlements":{"$ref":"#/components/schemas/access-details-usage-ent","description":"Map of entitlement usage"},"credits":{"$ref":"#/components/schemas/access-details-usage","description":"Map of credit usage"},"meters":{"$ref":"#/components/schemas/access-details-usage"},"trialTrackingDetails":{"type":"array","items":{},"description":"Array of trial tracking details"},"trials":{"$ref":"#/components/schemas/access-details-trial"},"timeTrials":{"$ref":"#/components/schemas/access-details-time-trial"},"testGroups":{"type":"object","additionalProperties":{"description":"Map of split test ID and group ID."}},"activeProducts":{"type":"array","items":{"type":"string"},"description":"Array of user's active products"}},"description":"Feature access details"}}}},"components/schemas/browser-features-transformations-response":{"id":"components/schemas/browser-features-transformations-response","kind":"json-schema","title":"browser-features-transformations-response","data":{"type":"object","properties":{"featureResults":{"type":"object","properties":{"featureX":{"type":"object","properties":{"ruleTransformations":{"type":"object","properties":{"type":{"type":"string","description":"The transformation type."},"id":{"type":"string","description":"The rule ID."},"contentLength":{"type":"number","description":"Content length"},"outcomeId":{"type":"string","description":"The outcome ID."},"outcomeLabel":{"type":"string","description":"The outcome label."},"ruleId":{"type":"string","description":"The rule ID."},"ruleLabel":{"type":"string","description":"The rule label."},"style":{"type":"string","description":"The transformation style."},"url":{"type":"string","description":"The transformation URL."},"value":{"type":"string","description":"The string transformation value."}}},"zoneRuleTransformations":{"type":"object","properties":{"zone":{"type":"string","description":"The zone type (HEADER, FOOTER, POPUP)."},"closeable":{"type":"boolean","description":"Indicates whether the zone can be closed."},"css":{"type":"string","description":"CSS"},"displayAfter":{"type":"string","description":"Specifies whether the content should be displayed after a specific condition or event."},"scrollable":{"type":"boolean","description":"Indicates whether the zone is scrollable."},"ruleTransformations":{"type":"array","items":{},"description":"Rule transformations"}}}}}},"description":"Map of HTML Feature IDs and feature result transformations"},"resources":{"type":"object","properties":{"forms":{"type":"object","properties":{},"description":"Forms used in feature results"},"paymentForms":{"type":"object","properties":{},"description":"Payment Forms used in feature results"},"uiComponents":{"type":"object","properties":{},"description":"UI Components used in feature results"}}}}}},"components/schemas/access-details-usage-ent":{"id":"components/schemas/access-details-usage-ent","kind":"json-schema","title":"access-details-usage-ent","data":{"description":"Map of meter usage","type":"object","properties":{"usedInDecision":{"type":"boolean"},"decrementedInDecision":{"type":"boolean"}}}},"components/schemas/access-details-usage":{"id":"components/schemas/access-details-usage","kind":"json-schema","title":"access-details-usage","data":{"allOf":[{"$ref":"#/components/schemas/access-details-usage-ent"},{"type":"object","properties":{"totalCredits":{"type":"number"},"remainingCredits":{"type":"number"}}}]}},"components/schemas/access-details-trial":{"id":"components/schemas/access-details-trial","kind":"json-schema","title":"access-details-trial","data":{"description":"Map of trial usage","type":"object","properties":{"totalCredits":{"type":"number"},"remainingCredits":{"type":"number"},"creditsConsumed":{"type":"number"},"trialExpired":{"type":"boolean"},"tracker":{"type":"string"},"reportInDataLayer":{"type":"boolean"},"dataLayerCreditsUsedKey":{"type":"string"},"dataLayerCreditsRemainingKey":{"type":"string"},"decrementedInDecision":{"type":"boolean"},"usedInDecision":{"type":"boolean"}}}},"components/schemas/access-details-time-trial":{"id":"components/schemas/access-details-time-trial","kind":"json-schema","title":"access-details-time-trial","data":{"description":"Map of time trial usage","type":"object","properties":{"reportInDataLayer":{"type":"boolean"},"trialDurationUnits":{"type":"string"},"trialDuration":{"type":"number"},"entryTime":{"type":"string"},"trackerHits":{"type":"number"},"timeRemainingInTrial":{"type":"number"},"dataLayerTrialDurationKey":{"type":"string"},"dataLayerTrialDurationUnitsKey":{"type":"string"},"dataLayerTrackerEntryTimeKey":{"type":"string"},"dataLayerTrackerHitsKey":{"type":"string"},"dataLayerTrialTimeRemainingKey":{"type":"string"},"activeInDecision":{"type":"boolean"}}}},"components/schemas/access-decision-response":{"id":"components/schemas/access-decision-response","kind":"json-schema","title":"access-decision-response","data":{"type":"object","properties":{"status":{"type":"string","example":"301"},"body":{"type":"string","example":"Redirecting to login page..."},"Location":{"type":"string","example":"/login.html"}}}},"components/schemas/dynamic-offer-decision-response":{"id":"components/schemas/dynamic-offer-decision-response","kind":"json-schema","title":"dynamic-offer-decision-response","data":{"type":"object","description":"The dynamic offer decision outcomes. Product rule output will be under the products array. Price rule output will be under each product based on where its rate plan is associated with. Discount output will be under each charge based on the discount rule condition. Any custom property rule output will be under the custom object. If you have in rule analytics enabled, there will be an outcome object returned as part of the response.","properties":{"products":{"type":"array","description":"The processed output for mainly the Product rule. Price and Discount, if present, the output of those would be nested under each product element according to the rule specification.","items":{"$ref":"#/components/schemas/do-product-response"}},"tagline":{"type":"string","description":"The tagline rule output"},"custom":{"type":"object","description":"key value pair of any custom property rule output. The key would be the property id, the value would be its rule output","properties":{}},"outcomes":{"type":"array","description":"The rule outcome for each property rule within the offer. If you wish to record user conversion data, you would need to send these outcome data back to Zephr upon when the conversion is happening.","items":{"type":"object","properties":{"ruleId":{"type":"string","description":"An identifier for the property rule"},"outcomeId":{"type":"string","description":"An identifier for the outcome of this property rule execution"}}}},"errors":{"type":"array","items":{"properties":{"property":{"type":"string","description":"The offer property id in which the rule failed to execute"},"error":{"type":"string","description":"The error message explaining why this decision failed to resolve. Present only if there was an error."}}}}}}},"components/schemas/do-product-response":{"id":"components/schemas/do-product-response","kind":"json-schema","title":"do-product-response","data":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"features":{"type":"array","items":{"$ref":"#/components/schemas/do-product-feature-response"}},"sharingLimit":{"type":"number"},"metadata":{"type":"object","properties":{"order":{"type":"number"},"recommended":{"type":"boolean"}}},"paymentPlans":{"type":"array","items":{"$ref":"#/components/schemas/do-product-price-response"}},"attributes":{"type":"object","description":"Product Attributes you've defined in the Product catalog and application overrides that you've specified in the Product rule."}}}},"components/schemas/do-product-feature-response":{"id":"components/schemas/do-product-feature-response","kind":"json-schema","title":"do-product-feature-response","data":{"type":"object","description":"The Feature defined in Zephr when configuring the product in Zephr's catalog","properties":{"id":{"type":"string"},"label":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"}}}},"components/schemas/do-product-price-response":{"id":"components/schemas/do-product-price-response","kind":"json-schema","title":"do-product-price-response","data":{"type":"object","description":"The price response for each returned product, it will contain data for each product's associated rate plans and their underlying charges","properties":{"planId":{"type":"string"},"planData":{"type":"object","description":"Any addition fields on the product rate plan level","properties":{}},"charges":{"type":"array","items":{"$ref":"#/components/schemas/do-product-price-charge-response"}}}}},"components/schemas/do-product-price-charge-response":{"id":"components/schemas/do-product-price-charge-response","kind":"json-schema","title":"do-product-price-charge-response","data":{"type":"object","description":"The charge response for each rate plan returned, it will contain processed price book items under each charge and any discount available according to the output and the condition defined in the Dynamic Offer's discount rule.","properties":{"chargeId":{"type":"string"},"prices":{"type":"array","description":"The prices associated with this charge, filtered/sorted according to the price rule of the Dynamic Offer","items":{"type":"object","properties":{"currency":{"type":"string"},"price":{"type":"number"}}}},"chargeDefinitionData":{"type":"object","description":"Any addition fields on the product charge definition level","properties":{}},"chargeData":{"type":"object","description":"Any addition fields on the product rate plan charge level","properties":{}},"discounts":{"type":"array","description":"The discounts associated with this charge, according to the discount rule output of this Dynamic Offer.","items":{"$ref":"#/components/schemas/do-product-price-charge-discount-response"}}}}},"components/schemas/do-product-price-charge-discount-response":{"id":"components/schemas/do-product-price-charge-discount-response","kind":"json-schema","title":"do-product-price-charge-discount-response","data":{"type":"object","description":"The discount output","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/do-product-price-charge-discount-item-response"}},"orderType":{"type":"string","description":"Specify how multiple discounts, if there is any, should be applied together","enum":["SEQUENTIAL","STACKED"]}}}},"components/schemas/do-product-price-charge-discount-item-response":{"id":"components/schemas/do-product-price-charge-discount-item-response","kind":"json-schema","title":"do-product-price-charge-discount-item-response","data":{"type":"object","properties":{"order":{"type":"number","description":"The order with defines the priority of this discount"},"type":{"type":"string","description":"The type of the discount","enum":["FIXED","PERCENTAGE","OVERRIDE"]},"value":{"type":"number"},"occurrence":{"type":"string","description":"The frequency this discount occurs, if it's recurring then an end policy is expected to be present","enum":["ONE_OFF","RECURRING"]},"startPolicy":{"type":"object","properties":{"type":{"type":"string","enum":["ON_CHARGE_START","AFTER_CHARGE_START"]},"offset":{"type":"object","format":"nullable","properties":{"value":{"type":"number"},"unit":{"type":"string","enum":["CHARGE_BILLING_PERIOD","DAY","WEEK","MONTH","YEAR"]}}}}},"endPolicy":{"type":"object","properties":{"type":{"type":"string","enum":["ON_CHARGE_START","ON_CHARGE_END","AFTER_CHARGE_START","AFTER_DISCOUNT_START"]},"offset":{"type":"object","format":"nullable","properties":{"value":{"type":"number"},"unit":{"type":"string","enum":["CHARGE_BILLING_PERIOD","DAY","WEEK","MONTH","YEAR"]}}}}},"attributes":{"type":"object","description":"Discount Attributes you've defined in the Discount output within the Discount rule."}}}},"components/schemas/oauth-state-response":{"id":"components/schemas/oauth-state-response","kind":"json-schema","title":"oauth-state-response","data":{"type":"object","properties":{"message":{"type":"string","example":"State initialized"}}}},"components/schemas/oauth2-token-response":{"id":"components/schemas/oauth2-token-response","kind":"json-schema","title":"oauth2-token-response","data":{"type":"object","properties":{"access_token":{"type":"string","description":"Oauth2 access token"},"token_type":{"type":"string"},"expires_in":{"type":"number","description":"Oauth2 token expiry time in seconds"},"refresh_token":{"type":"string","description":"Oauth2 refresh token to reuest a new Oauth2 token"},"user_id":{"type":"string","description":"Authenticated user ID"}}}},"components/schemas/oauth2-request-body":{"id":"components/schemas/oauth2-request-body","kind":"json-schema","title":"oauth2-request-body","data":{"type":"object","properties":{"client_id":{"type":"string","description":"Zephr Site Oauth2 Client ID"},"response_type":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Must be set to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"code"},"children":[]}]}]}]},"redirect_uri":{"type":"string","description":"Client's redirection endpoint. Must be an absolute URI"},"scope":{"type":"string","description":"The scope of the access request. Supported scopes: user.account:read, user.profile:read and user.profile:update"},"state":{"type":"string","description":"An opaque value used by the client to maintain state between the request and callback"},"allow":{"type":"boolean","description":"Resource owner consent"}},"required":["client_id","response_type","redirect_uri","scope","state","allow"],"example":{"client_id":"1234567890","response_type":"code","redirect_uri":"https://someUrl.com/callback","scope":"user.account:read user.profile:read","state":"abcdefghijklmnopqrstuvwsyz","allow":true}}},"components/schemas/owned_products":{"id":"components/schemas/owned_products","kind":"json-schema","title":"owned_products","data":{"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","description":"The ID of the product that is shared"},"product_label":{"type":"string","description":"The label of the product that is shared"},"sharing_limit":{"type":"number","description":"The maximum number of users that this product can be shared with by the owner"},"shares":{"type":"object","properties":{"member_email":{"type":"string","description":"The email of the user that this product is shared with. This will be null if this product share has not yet been accepted"},"sharing_id":{"type":"string","description":"The ID of the user product share"},"status":{"type":"string","description":"The status of the user product share. One of 'active', 'inactive', 'pending'"},"created_at":{"type":"string","description":"ISO-8601 formatted time at which the share was created."}}}}}}},"components/schemas/member_products":{"id":"components/schemas/member_products","kind":"json-schema","title":"member_products","data":{"type":"array","items":{"type":"object","properties":{"product_id":{"type":"string","description":"The ID of the product that is shared."},"product_label":{"type":"string","description":"The label of the product that is shared."},"sharing_id":{"type":"string","description":"The ID of the user product share."},"status":{"type":"string","description":"The status of the user product share. One of 'active', 'inactive', 'pending'."},"shared_by_email":{"type":"string","description":"The email of the product owner."},"created_at":{"type":"string","description":"ISO-8601 formatted time at which the share was created."},"meta_data":{"type":"object","properties":{},"description":"Any metadata configured for the user product share, defined at the point of creation."}}}}},"components/schemas/product_sharing_response":{"id":"components/schemas/product_sharing_response","kind":"json-schema","title":"product_sharing_response","data":{"type":"object","properties":{"member_products":{"$ref":"#/components/schemas/member_products"},"owned_products":{"$ref":"#/components/schemas/owned_products"}}}},"components/schemas/feature-decisions-response":{"id":"components/schemas/feature-decisions-response","kind":"json-schema","title":"feature-decisions-response","data":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/feature-decision-response"},"description":"List of feature decision outcomes. These will be ordered as provided in the request."}}}},"components/schemas/feature-decision-response":{"id":"components/schemas/feature-decision-response","kind":"json-schema","title":"feature-decision-response","data":{"type":"object","required":["sdkFeatureSlug"],"properties":{"sdkFeatureSlug":{"type":"string","example":"sdk-feature-1","description":"The slug of the SDK feature which has been evaluated."},"outputType":{"type":"string","enum":["ENUM","STRING","NUMBER","JSON","TRANSFORMATION","COMPONENT"],"description":"Feature output type. Present if there were no errors."},"outputValue":{"type":"string","example":"YES","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Feature output value. Present if there were no errors."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For the 'JSON_COMPONENT' output type, the response will be stringified JSON."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"For the 'TRANSFORMATION' output type, the response will contain a stringified JSON array of transformations to be applied, including ENABLE_CONTENT, CUSTOM_COMPONENT, TEMPLATE_COMPONENT and FORM."},"children":[]}]}]}]}]},"error":{"type":"string","example":"500: Internal error ...","description":"The error message explaining why this decision failed to resolve. Present only if there was an error."}}}},"components/schemas/feature-decision-response-raw":{"id":"components/schemas/feature-decision-response-raw","kind":"json-schema","title":"feature-decision-response-raw","data":{"description":"The raw output of the SDK feature rule, which will be of the datatype that corresponds to the configured rule output type. The possible types are 'string' or 'JSON'."}},"components/schemas/Session":{"id":"components/schemas/Session","kind":"json-schema","title":"Session","data":{"type":"object","properties":{"id":{"type":"string","example":"aba22-a5mfh-","description":"The ID of the session"},"startDate":{"type":"string","format":"date-time","example":"2011-11-11T11:11:11.000","description":"The creation date-time of the session"},"deviceType":{"type":"string","example":"pc","description":"The type of device this session was created on"},"deviceName":{"type":"string","example":"Google Nexus 5","description":"The name of the device this session was created on"},"ip":{"type":"string","example":"10.10.10.1","description":"The IP address this session was created from"},"browser":{"type":"string","example":"Chrome","description":"The name of the browser that this session was created from"},"os":{"type":"string","example":"Android","description":"The operating system of the device that this session was created from"},"city":{"type":"string","example":"Huston","description":"The name of the city that this session was created from"},"geoState":{"type":"string","example":"Texas","description":"The name of the state that this session was created from"},"country":{"type":"string","example":"USA","description":"The name of the country that this session was created from"},"isRequestingSession":{"type":"boolean","example":true,"description":"True if this session is the session that made the request to this endpoint, otherwise false"}}}},"components/schemas/stripe_start_response_body":{"id":"components/schemas/stripe_start_response_body","kind":"json-schema","title":"stripe_start_response_body","data":{"type":"object","properties":{"grant_id":{"type":"string","description":"New grant of product bundle to user"},"clientSecret":{"type":"string","description":"reference to Stripe payment required to process payment in front end"},"paymentIntentStatus":{"type":"string","description":"status of the payment which may require further action"}}}},"components/schemas/contact-create-request":{"id":"components/schemas/contact-create-request","kind":"json-schema","title":"contact-create-request","data":{"type":"object","properties":{"identifiers":{"$ref":"#/components/schemas/identifiers"},"attributes":{"$ref":"#/components/schemas/attributes"}},"required":["identifiers"]}},"components/schemas/user-register-request":{"id":"components/schemas/user-register-request","kind":"json-schema","title":"user-register-request","data":{"type":"object","properties":{"identifiers":{"$ref":"#/components/schemas/identifiers"},"validators":{"$ref":"#/components/schemas/validators"},"attributes":{"$ref":"#/components/schemas/attributes"}},"required":["identifiers","validators"]}},"components/schemas/user-register-response":{"id":"components/schemas/user-register-response","kind":"json-schema","title":"user-register-response","data":{"type":"object","properties":{"cookie":{"type":"string"},"message":{"type":"string"},"tracking_id":{"type":"string"}}}},"components/schemas/oauth2-config-response":{"id":"components/schemas/oauth2-config-response","kind":"json-schema","title":"oauth2-config-response","data":{"type":"object","properties":{"login_text":{"type":"string"},"identifier_placeholder":{"type":"string"},"logo_id":{"type":"string"},"consent_text":{"type":"string"},"background":{"type":"string"}}}},"components/schemas/delete-user-response":{"id":"components/schemas/delete-user-response","kind":"json-schema","title":"delete-user-response","data":{"type":"object","properties":{"message":{"type":"string"}}}},"components/schemas/user-public-account":{"id":"components/schemas/user-public-account","kind":"json-schema","title":"user-public-account","data":{"type":"object","properties":{"identifiers":{"$ref":"#/components/schemas/identifiers"},"tracking_id":{"type":"string","example":"123","description":"456 (string)"},"email_verified":{"type":"boolean","example":true,"description":"A user email verification status."}}}},"components/schemas/validators":{"id":"components/schemas/validators","kind":"json-schema","title":"validators","data":{"type":"object","properties":{"password":{"type":"string","example":"mysecurepassword123"},"use_sso":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"When this is present there should be no identifiers in the body. The user is identified through a blaize_session cookie."},"children":[]}]}]}]}}}},"components/schemas/attributes":{"id":"components/schemas/attributes","kind":"json-schema","title":"attributes","data":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"}]}}},"components/schemas/update-attributes":{"id":"components/schemas/update-attributes","kind":"json-schema","title":"update-attributes","data":{"type":"object","properties":{"blaize-validator":{"type":"string","description":"An optional password that can be used to validate an outstanding partial registration."}},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"}]},"example":"Blow"}},"components/schemas/extended-profile":{"id":"components/schemas/extended-profile","kind":"json-schema","title":"extended-profile","data":{"oneOf":[{"type":"object"},{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"integer"},{"type":"boolean"},{"type":"array","items":{}},{"type":"object"}]}}]}},"components/schemas/cdn-auth-challenge-response":{"id":"components/schemas/cdn-auth-challenge-response","kind":"json-schema","title":"cdn-auth-challenge-response","data":{"type":"object","description":"A map from entitlement ID to the decision outcome","additionalProperties":{"type":"boolean"}}},"components/schemas/v4-gift-response":{"id":"components/schemas/v4-gift-response","kind":"json-schema","title":"v4-gift-response","data":{"type":"object","properties":{"token":{"type":"string","example":"absd-acsd34-casdae-1243c","description":"The token of the created gift."},"claimPath":{"type":"string","example":"/my-path?gift=absd-acsd34-casdae-1243c","description":"The path that was generated for claiming the gift."}}}},"components/schemas/zephr-features-response-array":{"id":"components/schemas/zephr-features-response-array","kind":"json-schema","title":"zephr-features-response-array","data":{"type":"array","items":{"$ref":"#/components/schemas/zephr-features-response"}}},"components/schemas/zephr-features-response":{"id":"components/schemas/zephr-features-response","kind":"json-schema","title":"zephr-features-response","data":{"type":"object","properties":{"id":{"type":"string","example":"feature-live"},"label":{"type":"string","example":"feature-label"},"slug":{"type":"string","example":"feature-slug"},"targetType":{"type":"string","enum":["CSS_SELECTOR","COMMENT_TAG"],"nullable":true},"cssSelector":{"type":"string","example":".feature-css-selector","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"If the feature has a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"targetType"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" of "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"CSS_SELECTOR"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" then the response will include a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"cssSelector"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" field."},"children":[]}]}]}]}}}},"components/schemas/promo-code-decision-request-selected-product":{"id":"components/schemas/promo-code-decision-request-selected-product","kind":"json-schema","title":"promo-code-decision-request-selected-product","data":{"type":"object","properties":{"id":{"type":"string","description":"The product identifier","example":"product-a"},"payment_plan":{"type":"object","properties":{"provider":{"type":"string","description":"The payment provider that provides the pricing data associated with the product","example":"zuora-billing"},"plan_id":{"type":"string","description":"The payment plan identifier, typically this would be the product rate plan id"},"charges":{"type":"array","items":{"$ref":"#/components/schemas/promo-code-decision-request-selected-product-charge"}}}}}}},"components/schemas/promo-code-decision-request-selected-product-charge":{"id":"components/schemas/promo-code-decision-request-selected-product-charge","kind":"json-schema","title":"promo-code-decision-request-selected-product-charge","data":{"type":"object","properties":{"charge_definition_id":{"type":"string","description":"The Product Charge Definition identifier"},"currency":{"type":"string","description":"The chosen currency against this product"},"price":{"type":"number","description":"The chosen price against this product"}}}},"components/schemas/StripeSubscription":{"id":"components/schemas/StripeSubscription","kind":"json-schema","title":"StripeSubscription","data":{"type":"object","properties":{"billingFrequency":{"type":"integer"},"billingFrequencyUnit":{"$ref":"#/components/schemas/StripeSubscriptionInterval"},"blaizeProduct":{"$ref":"#/components/schemas/StripeSubscriptionProduct"},"currencyCode":{"type":"string"},"discountsApplied":{"type":"boolean"},"ended":{"type":"string","format":"date-time"},"ends":{"type":"string","format":"date-time"},"externalId":{"type":"string"},"managedBy":{"type":"string"},"multiphasePlan":{"type":"boolean"},"nextBillingTime":{"type":"string","format":"date-time"},"paidThroughDate":{"type":"string","format":"date-time"},"planId":{"type":"string"},"planName":{"type":"string"},"preDiscountPrice":{"type":"number"},"state":{"type":"string"},"taxRates":{"type":"array","items":{"$ref":"#/components/schemas/StripeSubscriptionTaxRate"}},"transactionRecords":{"type":"array","items":{"$ref":"#/components/schemas/TransactionRecord"}}}}},"components/schemas/StripeSubscriptionTaxRate":{"id":"components/schemas/StripeSubscriptionTaxRate","kind":"json-schema","title":"StripeSubscriptionTaxRate","data":{"type":"object","properties":{"active":{"type":"boolean"},"displayName":{"type":"string"},"isTaxInclusive":{"type":"boolean"},"taxPercent":{"type":"number"}}}},"components/schemas/TransactionRecord":{"id":"components/schemas/TransactionRecord","kind":"json-schema","title":"TransactionRecord","data":{"type":"object","properties":{"cents":{"type":"number"},"currency":{"$ref":"#/components/schemas/StripeSubscriptionCurrency"},"cycle":{"type":"string"},"cycleCount":{"type":"integer"},"humanReadableAmount":{"type":"string"},"taxRate":{"$ref":"#/components/schemas/StripeSubscriptionTaxRate"},"time":{"type":"string","format":"date-time"}}}},"components/schemas/StripeSubscriptionCurrency":{"id":"components/schemas/StripeSubscriptionCurrency","kind":"json-schema","title":"StripeSubscriptionCurrency","data":{"type":"object","properties":{"currencyCode":{"type":"string"}}}},"components/schemas/StripeSubscriptionInterval":{"id":"components/schemas/StripeSubscriptionInterval","kind":"json-schema","title":"StripeSubscriptionInterval","data":{"type":"string","enum":["DAY","WEEK","MONTH","YEAR"]}},"components/schemas/StripeSubscriptionProduct":{"id":"components/schemas/StripeSubscriptionProduct","kind":"json-schema","title":"StripeSubscriptionProduct","data":{"type":"object","properties":{"description":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"subTenantId":{"type":"string"},"tenantId":{"type":"string"}}}},"components/schemas/StripePromoCodeCheckResponse":{"id":"components/schemas/StripePromoCodeCheckResponse","kind":"json-schema","title":"StripePromoCodeCheckResponse","data":{"type":"object","properties":{"code":{"type":"string","description":"Same code supplied as a query parameter in the request"},"discount":{"type":"string","description":"The discount offered by this promo code"},"paymentOptions":{"type":"array","description":"The payment options (either from the supplied payment form or from the request body) filtered for promo code validity","items":{"type":"object","properties":{"slug":{"type":"string"},"productId":{"type":"string"},"currency":{"type":"string"},"pricePointId":{"type":"string"},"originalPrice":{"type":"number"},"discountPrice":{"type":"number"}}}}}}},"components/schemas/StripePromoCodeCheckRequest":{"id":"components/schemas/StripePromoCodeCheckRequest","kind":"json-schema","title":"StripePromoCodeCheckRequest","data":{"type":"object","properties":{"paymentOptions":{"type":"object","properties":{"currency":{"type":"string"},"description":{"type":"string"},"label":{"type":"string"},"order":{"type":"integer"},"price":{"type":"number"},"pricePointId":{"type":"string"},"productId":{"type":"string"},"recommended":{"type":"boolean"},"slug":{"type":"string"},"subTenantId":{"type":"string"},"tenantId":{"type":"string"},"type":{"type":"string","enum":["PRICE_POINT","ONE_OFF","REGULAR","MULTI_PHASED"]}}},"promoCode":{"type":"string","description":"The promo code ID that must be checked."}}}},"components/schemas/StartTwoFactorAuthenticationRequest":{"id":"components/schemas/StartTwoFactorAuthenticationRequest","kind":"json-schema","title":"StartTwoFactorAuthenticationRequest","data":{"type":"object","properties":{"action":{"type":"string","enum":["login","register","completeRegistration"]},"identifiers":{"type":"object","properties":{"email_address":{"type":"string"}}},"method":{"type":"string","enum":["email"]}}}},"components/schemas/list-oauth2-consent":{"id":"components/schemas/list-oauth2-consent","kind":"json-schema","title":"list-oauth2-consent","data":{"type":"object","properties":{"consent":{"type":"array","items":{"type":"string"}}}}},"components/schemas/blaize-schema-users-response":{"id":"components/schemas/blaize-schema-users-response","kind":"json-schema","title":"blaize-schema-users-response","data":{"type":"array","items":{"$ref":"#/components/schemas/blaize-schema-field"}}},"components/schemas/blaize-schema-field":{"id":"components/schemas/blaize-schema-field","kind":"json-schema","title":"blaize-schema-field","data":{"type":"object","properties":{"tenantId":{"type":"string","example":"company"},"subTenantId":{"type":"string","example":"company|demo"},"slug":{"type":"string","description":"The unique identifier for the schema field.","example":"first-name"},"visibility":{"enum":["PUBLIC"],"description":"The visibility of the schema field. This is used to determine who can see the field. By default, all fields are PUBLIC. Those fields are visible to all users.","example":"PUBLIC"},"context":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The context of the schema field. It is used to group fields together into different contexts. By default, all fields are used in the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" context."},"children":[]}]}]}],"example":"ZUORA_BILLING"},"label":{"type":"string","example":"First Name"},"required":{"type":"boolean","example":true},"internal-description":{"type":"string","example":"The first name of the user"},"public-description":{"type":"string","example":"The first name of the user"},"validation-expression":{"type":"string","example":"[a-z]+$"},"input-type":{"enum":["text","color","number","range","time","datetime-local","date","week","month","email","tel","url","password","select","checkbox","radio","textarea","hidden"],"example":"text"},"select-options":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"default":{"type":"boolean"}}},"example":"[ {key1: value1}, {key2: value2} ]"},"range-start":{"type":"number","example":0},"range-end":{"type":"number","example":100},"range-step":{"type":"number","example":1},"decision-point":{"type":"boolean","description":"The decision point of the schema field. It determines whether the field is used in the decision engine. If set to true, this field will be evaluated by the decision engine to influence the outcome of decisions. For example, a field marked as a decision point might be used to grant or deny access to a specific feature.","example":true},"publicly-writable":{"type":"boolean","example":true},"form-use":{"type":"boolean","example":false}}}},"schema_0":{"kind":"json-schema","data":{"type":"string"},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"type":"object","properties":{"Set-Cookie":{"type":"string","example":"blaize_session=443ed68f-0b44-4f32-8443-553d584cb0dd; Expires=Fri, 16 Nov 2024 12:35:56 GMT; Path=/;","description":"The authenticated user session."},"\u0000Set-Cookie":{"type":"string","example":"blaize_tracking_id=b117093c-e1f7-4ee0-8dda-6b5205f7fbee; Expires=Fri, 16 Nov 2024 12:35:56 GMT; Path=/;","description":"The user tracking ID."},"\u0000\u0000Set-Cookie":{"type":"string","example":"blaize_prev_anon_session=b117093c-e1f7-4ee0-8dda-6b5205f7fbee; Expires=Fri, 16 Nov 2024 12:35:56 GMT; Path=/;","description":"The anonymous user session before authentication."}}},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"type":"object","properties":{"Set-Cookie":{"type":"string"}}},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"type":"object","properties":{"Location":{"type":"string"},"Set-Cookie":{"type":"string"}}},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"type":"object","properties":{"identifiers":{"type":"object","properties":{"email_address":{"type":"string"}}},"validators":{"type":"object","properties":{"password":{"type":"string"}}}},"required":["identifiers"],"example":{"identifiers":{"email_address":"joe.blow@company.com"},"validators":{"password":"mynewsecurepassword123"}}},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"Email with OTP sent to verify new email address"}}},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"User Email updated"}}},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"type":"object","properties":{"current_validators":{"type":"object","properties":{"password":{"type":"string"}}},"new_validators":{"type":"object","properties":{"password":{"type":"string"}}}},"required":["current_validators","new_validators"],"example":{"current_validators":{"password":"mysecurepassword123"},"new_validators":{"password":"mysecurepassword123"}}},"id":"schema_7"},"schema_8":{"kind":"json-schema","data":{"type":"boolean"},"id":"schema_8"},"schema_9":{"kind":"json-schema","data":{"type":"object","properties":{"token":{"type":"string","example":"eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ=="}}},"id":"schema_9"},"schema_10":{"kind":"json-schema","data":{"type":"string","example":"bt_signature=<signature>&bt_payload=<payload>"},"id":"schema_10"},"schema_11":{"kind":"json-schema","data":{"type":"object","required":["managed-by","external-id","next-billing-time","blaize-product","transaction-history","subscription-state","plan_id","plan_name","currency_code","pre_discount_price","billing_frequency_unit","billing_frequency","discounts_applied","multiphase_plan"],"properties":{"managed-by":{"type":"string","example":"Braintree","description":"The name of payment provider capitalised."},"ends":{"type":"string","format":"date-time","example":"2021-05-17T04:31:33Z","description":"ISO-8601 formatted time at which the subscription was canceled. This field will be omitted if the subscription is not canceled."},"external-id":{"type":"string","example":"abc123","description":"The ID for this subscription in Braintree."},"next-billing-time":{"type":"string","format":"date-time","example":"2021-05-17T04:31:33Z","description":"ISO-8601 formatted time at which the subscription will next be billed."},"blaize-product":{"$ref":"#/components/schemas/braintree-subscription-product"},"transaction-history":{"type":"array","items":{"type":"object","properties":{"time":{"type":"string","format":"date-time","example":"2024-02-15T11:30:58Z","description":"ISO-8601 formatted time at which the transaction was made."},"currency":{"type":"string","example":"EUR"},"cents":{"type":"number","example":900},"cycle":{"type":"string","example":"month"},"cycleCount":{"type":"number","example":1},"currencyCode":{"type":"string","example":"EUR","description":"ISO 4217 currency code for this currency."},"human-readable-amount":{"type":"string","example":"€9.0"}}}},"subscription-state":{"type":"string","description":"The subscription state, as acquired from Braintree.","enum":["Active","Canceled","Expired","Past Due","Pending","Unrecognized"]},"paid_through_date":{"type":"string","format":"date-time","example":"2021-05-17T04:31:33Z","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ISO-8601 formatted time up to which the subscription has been paid for. This will be "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" if the subscription has not yet been paid for."},"children":[]}]}]}]},"plan_id":{"type":"string","example":"plan-123","description":"The Braintree plan ID"},"plan_name":{"type":"string","example":"monthly-plan","description":"The Braintree plan name"},"billing_frequency_unit":{"type":"string","description":"The time unit of the billing frequency. Braintree only supports MONTH.","enum":["MONTH"]},"billing_frequency":{"type":"number","example":1,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The frequency at which the subscription is billed, in the units specified by billing_frequency_unit."},"children":[]}]}]}]},"currency_code":{"type":"string","example":"GBP","description":"The currency of the subscription price."},"pre_discount_price":{"type":"number","example":50,"description":"The subscription price before any discounts are applied."},"multiphase_plan":{"type":"boolean","example":false,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Always "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"false"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", as Braintree does not support multi-phased plans."},"children":[]}]}]}]},"discounts_applied":{"type":"boolean","example":true,"description":"If the subscription has any applied discounts."}}},"id":"schema_11"},"schema_12":{"kind":"json-schema","data":{"type":"object","properties":{"payment_method_token":{"type":"string","description":"Payment method token referencing a payment method in Braintree."},"payment_method_nonce":{"type":"string","description":"Payment method nonce referencing a payment method in Braintree."}},"example":{"payment_method_token":"alpha123token","payment_method_nonce":"alpha123token"}},"id":"schema_12"},"schema_13":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"Product Id/slug"},"price_point_id":{"type":"string","description":"Price Point Id/slug"},"payment_nonce":{"type":"string","description":"Payment method nonce from Braintree drop-in UI."}},"required":["product_id","price_point_id","payment_nonce"],"example":{"product_id":"lifetime-membership","price_point_id":"gold-package","payment_nonce":"eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ=="}},"id":"schema_13"},"schema_14":{"kind":"json-schema","data":{"type":"object","properties":{"grant_id":{"type":"string","example":"aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5","description":"New grant of product bundle to user."}}},"id":"schema_14"},"schema_15":{"kind":"json-schema","data":{"type":"object","properties":{"payment_method_nonce":{"type":"string","example":"aa583cb8...and other characters...3a43796ef8e5","description":"The vaulted nonce associated with the new payment method."}}},"id":"schema_15"},"schema_16":{"kind":"json-schema","data":{"type":"object","properties":{"payment_method_nonce":{"type":"string","example":"aa583cb8...and other characters...3a43796ef8e5","description":"The vaulted nonce associated with the update payment method."}}},"id":"schema_16"},"schema_17":{"kind":"json-schema","data":{"type":"object","properties":{"payment_method_token":{"type":"string","example":"payment-method-123","description":"The unique ID of the payment method to be set as default for the user."}}},"id":"schema_17"},"schema_18":{"kind":"json-schema","data":{"type":"object","properties":{"plan-id":{"$ref":"#/components/schemas/payment_plan"}}},"id":"schema_18"},"schema_19":{"kind":"json-schema","data":{"type":"object","required":["code","discount","paymentOptions"],"properties":{"code":{"type":"string","example":"promo-123","description":"The promo code identifier."},"discount":{"type":"number","example":20,"description":"The discount amount."},"paymentOptions":{"type":"array","items":{"$ref":"#/components/schemas/promo-code-payment-options"},"description":"The list of payment options."}}},"id":"schema_19"},"schema_20":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"Product ID/slug"},"plan_id":{"type":"string"},"discount_code":{"type":"string"},"payment_nonce":{"type":"string","description":"Payment method nonce from Braintree drop-in UI."},"skip_trial_period":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Whether or not to skip any trial period that may be associated with this subscription. This should be "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or not set to use the configured trial period."},"children":[]}]}]}]},"start_date":{"type":"string","description":"ISO 8601 date format which determines when the subscription will start. When the attribute is passed, the value must be in the future. Otherwise, the subscription is expected to start immediately."}},"required":["product_id","payment_nonce"],"example":{"product_id":"premium-access-monthly-recurring","payment_nonce":"eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ==","skip_trial_period":true,"start_date":"2021-01-01T00:00:00Z"}},"id":"schema_20"},"schema_21":{"kind":"json-schema","data":{"type":"object","properties":{"grant_id":{"type":"string","example":"33d576c7-d036-40e7-8141-8a91998a5c79","description":"New grant of product bundle to user."}}},"id":"schema_21"},"schema_22":{"kind":"json-schema","data":{"type":"object","properties":{"featureIds":{"type":"array","description":"Array of HTML Feature IDs","items":{}},"session":{"type":"string","description":"Zephr Session ID"},"referer":{"type":"string","description":"Browser referer"},"path":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Request path, defaults to \"/\".  If available, include the content ID as a query parameter. For example, "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/story.html?content_id=abc-123"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"content_metadata":{"type":"object","properties":{"content_id":{"type":"string","description":"Content ID, used to perform requests to a 3rd party API for additional content information used in making a decision."}}},"giftToken":{"type":"string","description":"Token to provide access to content for one session."},"customData":{"type":"object","description":"Custom data to be used in Feature HTML browser rule. Accepts a JSON object."}},"required":["featureIds"],"example":{"featureIds":["featureX"],"session":"xxx-xxx-xxx","referer":"https://www.zephr.com/","path":"/x.html","content_metadata":{"content_id":"xxx-xxx-xxx"},"giftToken":"xxx-xxx-xxx","customData":{"key":"value"}}},"id":"schema_22"},"schema_23":{"kind":"json-schema","data":{"type":"object","properties":{"featureIds":{"type":"array","description":"An array of HTML Feature IDs.","items":{}},"session":{"type":"string","description":"The Zephr Session ID."},"referer":{"type":"string","description":"Browser referer"},"path":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Request path, defaults to \"/\".  If available, include the content ID as a query parameter.  For example, "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/story.html?content_id=abc-123"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},"content_metadata":{"type":"object","properties":{"content_id":{"type":"string","description":"Content ID, used to perform requests to a 3rd party API for additional content information used in making a decision."}}},"giftToken":{"type":"string","description":"Token to provide access to content for one session."},"customData":{"type":"object","description":"Custom data to be used in Feature HTML browser rule. Accepts a JSON object"}},"required":["featureIds"],"example":{"featureIds":["featureX"],"session":"xxx-xxx-xxx","referer":"https://www.zephr.com/","path":"/x.html","content_metadata":{"content_id":"xxx-xxx-xxx"},"giftToken":"xxx-xxx-xxx","customData":{"key":"value"}}},"id":"schema_23"},"schema_24":{"kind":"json-schema","data":{"type":"object","properties":{"path":{"type":"string"},"http_method":{"type":"string"},"session":{"type":"string"},"foreign_keys":{"type":"object","properties":{},"description":"Foreign system and ID used to identify the user."},"request_headers":{"type":"object","properties":{"User-Agent":{"type":"string"}}},"content_metadata":{"type":"object","properties":{"publishedDate":{"type":"string"}}},"jwt":{"type":"string"},"btr":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"MD5-hex-encoding of: path + \"|\" + trusted referrer secret"},"children":[]}]}]}]}},"required":["path"],"example":{"path":"/x.html","http_method":"POST","session":"xxx-xxx-xxx","foreign_keys":{},"request_headers":{"User-Agent":"<userAgent>"},"content_metadata":{"publishedDate":"<contentAge>"},"jwt":"xxx-xxx-xxx","btr":"17e74b9e49e66282e55d4b7ec73de951"}},"id":"schema_24"},"schema_25":{"kind":"json-schema","data":{"type":"object","properties":{"dynamic_offer":{"type":"object","properties":{"slug":{"type":"string","description":"Dynamic Offer slug"},"inputs":{"type":"object","properties":{},"description":"Custom inputs configured in Dynamic Offer. This can be any single layer map of key-value pairs."}},"required":["slug"],"description":"The dynamic offer to evaluate, must specify the slug of the dynamic offer, and any custom input to be used in the rules."},"session":{"type":"string","description":"Zephr Session ID, required for trials"},"foreign_keys":{"type":"object","properties":{},"description":"Foreign system and ID used to identify the user."},"ip":{"type":"string","description":"Client IP address, defaults to request IP."},"user_agent":{"type":"string","description":"Client user agent"},"jwt":{"type":"string","description":"A JSON Web Token, may include identity or product holding claims."},"path":{"type":"string","description":"Request path, required for trials if used."},"content_id":{"type":"string","description":"Content ID, used to perform requests to a 3rd party API for additional content information used in making a decision."}},"required":["dynamic_offer"],"example":{"dynamic_offer":{"slug":"offerX","inputs":{}},"session":"xxx-xxx-xxx","foreign_keys":{},"ip":"x.x.x.x","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11)...","jwt":"xxx-xxx-xxx","path":"/x.html","content_id":"xxx-xxx-xxx"}},"id":"schema_25"},"schema_26":{"kind":"json-schema","data":{"type":"object","properties":{"promo_code":{"type":"string","description":"The Promo Code, generated from the Zephr console."},"promo_code_definition":{"type":"string","description":"The Definition ID of Promo Code, generated from the Zephr console. This is useful for previewing a draft promo code rule/offer as there won't be any downloadble/usable promo code generated."},"selected_products":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/promo-code-decision-request-selected-product"}},"session":{"type":"string","nullable":true,"description":"Zephr Session ID, required for trials. Only relevant for executing promo code with a linked dynamic offer."},"foreign_keys":{"type":"object","nullable":true,"properties":{},"description":"Foreign system and ID used to identify the user. Only relevant for executing promo code with a linked dynamic offer."},"ip":{"type":"string","nullable":true,"description":"Client IP address, defaults to request IP. Only relevant for executing promo code with a linked dynamic offer."},"user_agent":{"type":"string","nullable":true,"description":"Client user agent. Only relevant for executing promo code with a linked dynamic offer."},"jwt":{"type":"string","nullable":true,"description":"A Json Web Token, may include identity or product holding claims. Only relevant for executing promo code with a linked dynamic offer."},"path":{"type":"string","nullable":true,"description":"Request path, required for trials if used. Only relevant for executing promo code with a linked dynamic offer."},"content_id":{"type":"string","description":"Content ID, used to perform requests to a 3rd party API for additional content information used in making a decision. Only relevant for executing promo code with a linked dynamic offer."}}},"id":"schema_26"},"schema_27":{"kind":"json-schema","data":{"type":"object","properties":{"start_url":{"type":"string"},"target_url":{"type":"string"}},"example":{"start_url":"http://blaize.io","target_url":"http://blaize.io"}},"id":"schema_27"},"schema_28":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"Product ID/slug"},"plan_id":{"type":"string","description":"Plan ID/slug"},"discount_code":{"type":"string","description":"Discount/promotion code"},"vendor_fields":{"type":"object","properties":{"payment_nonce":{"type":"string","description":"(Stripe) Payment method nonce from Braintree drop-in UI."},"skip_trial_period":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"(Braintree) Whether or not to skip any trial period that may be associated with this subscription. This should be "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"null"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or not set to use the configured trial period."},"children":[]}]}]}]},"start_date":{"type":"string","description":"(Braintree) ISO 8601 date format which determines when the subscription will start. When the attribute is passed, the value must be in the future. Otherwise, the subscription is expected to start immediately."},"payment_method":{"type":"string","description":"(Stripe) Payment method from Stripe Elements UI."},"vault_payment_method":{"type":"boolean","description":"(Braintree) If the payment nonce requires vaulting, for example if Google Pay is being used. Defaults to false."}},"description":"Parameters specific to the payment provider in-use."}},"required":["product_id"],"example":{"product_id":"premium-access-monthly-recurring","plan_id":"plan-5","discount_code":"SAVE10","vendor_fields":{"payment_nonce":"eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ==","skip_trial_period":true,"start_date":"2021-01-01T00:00:00Z","payment_method":"pm_123456789","vault_payment_method":false}}},"id":"schema_28"},"schema_29":{"kind":"json-schema","data":{"type":"object","properties":{"grant_id":{"type":"string","example":"33d576c7-d036-40e7-8141-8a91998a5c79","description":"New grant of product bundle to user."},"client_secret":{"type":"string","example":"src_client_secret_QfsM25CJ2uCMon72MiOmUNTj`","description":"(Stripe) reference to Stripe payment required to process payment in front end."},"payment_intent_id":{"type":"string","example":"pi_1GYZYWLgUJT2XNPAYQMomeqf","description":"(Stripe)  reference to the payment intent if payment requires confirmation."}}},"id":"schema_29"},"schema_30":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"Product Id/slug"},"plan_id":{"type":"string","description":"Plan Id/slug"},"vendor_fields":{"type":"object","properties":{"payment_nonce":{"type":"string","description":"(Braintree) Payment method nonce from Braintree drop-in UI. If not specified, the existing payment method on the subscription will be retained."}},"description":"Parameters specific to the payment provider in-use."},"navigated_from":{"type":"string","description":"Specify where the request was made from. Used as data to pass to change subscription webhooks."}},"required":["product_id","plan_id","vendor_fields"],"example":{"product_id":"premium-access-monthly-recurring","plan_id":"plan-5","vendor_fields":{"payment_nonce":"eyJ2ZXmsaW5nQWdyZWmVubW8iOiJvZmYifQ=="},"navigated_from":"/some/path"}},"id":"schema_30"},"schema_31":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"The ID of the product that is being shared."},"email_address":{"type":"string","description":"The email address to send the invite to."},"base_url":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The invite link destination URL. The path parameter 'sharing_id=xxx' will be added to this URL. Other path parameters and anchors are accepted."},"children":[]}]}]}]},"meta_data":{"type":"object","properties":{},"description":"Extra information for the user product share, which can be included in the sent email."}},"required":["product_id","email_address","base_url"],"example":{"product_id":"product-1","email_address":"name@domain.com","base_url":"https://example.com/accept-invite"}},"id":"schema_31"},"schema_32":{"kind":"json-schema","data":{"type":"object","required":["sharing_id"],"properties":{"sharing_id":{"type":"string","example":"0nasdj-aso25-6454","description":"The ID of the created product share."}}},"id":"schema_32"},"schema_33":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"The ID of the product that is being shared."},"meta_data":{"type":"object","description":"Extra information for the user product share."}},"required":["product_id"],"example":{"product_id":"product-1"}},"id":"schema_33"},"schema_34":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","example":"product-1","description":"The ID of the product that is shared."},"product_label":{"type":"string","example":"Gold Product","description":"The label of the product that is shared."},"meta_data":{"type":"object","properties":{"additionalProperties":{"type":"string"}},"description":"Extra information for the user product share, defined at the point of creation."}}},"id":"schema_34"},"schema_35":{"kind":"json-schema","data":{"type":"object","properties":{"features":{"type":"array","description":"The list of features to evaluate. This must be contain at least one element. Features are evaluated sequentially, in the order they are provided.","items":{}},"session":{"type":"string","description":"Zephr Session ID, required for trials."},"foreign_keys":{"type":"object","properties":{},"description":"Foreign system and ID used to identify the user."},"ip":{"type":"string","description":"Client IP address, defaults to request IP."},"user_agent":{"type":"string","description":"Client user agent"},"jwt":{"type":"string","description":"A Json Web Token, may include identity or product holding claims."},"dry_run_mode":{"type":"boolean","default":false,"description":"A flag to indicate where the decision request would persist states such as user entitlement, segments, test groups, etc."}},"required":["features"],"example":{"features":[{"slug":"featureX","path":"/x.html","content_id":"xxx-xxx-xxx","inputs":{}}],"session":"xxx-xxx-xxx","foreign_keys":{},"ip":"x.x.x.x","user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11)...","jwt":"xxx-xxx-xxx"}},"id":"schema_35"},"schema_36":{"kind":"json-schema","data":{"type":"boolean","default":false},"id":"schema_36"},"schema_37":{"kind":"json-schema","data":{"type":"object","properties":{"sdkFeatureSlug":{"type":"string","description":"Feature SDK slug as configured in the console."},"session":{"type":"string","description":"Zephr Session ID, required for trials and for user-based decisions."},"foreign_keys":{"type":"object","properties":{},"description":"A map where the key is a foreign system and the value is an ID used to identify the user in that system."},"ip":{"type":"string","description":"Client IP address, defaults to request IP."},"userAgent":{"type":"string","description":"Client user agent."},"path":{"type":"string","description":"Request path representing the content being consumed for trials."},"contentId":{"type":"string","description":"Content ID, used to perform requests to a 3rd party API for additional content information used in making a decision. The endpoint and path format for content ID requests can be configured in the console."},"jwt":{"type":"string","description":"A Json Web Token, may include identity or product holding claims."},"giftToken":{"type":"string","description":"Enables a decision to be made in the rule based on whether access should be granted as the user has gift access."},"dryRunMode":{"type":"boolean","description":"If the decision should be run without recording trial usage."}},"additionalProperties":{"type":"string","description":"Custom inputs configured in Feature SDK rule."},"required":["sdkFeatureSlug"],"example":{"sdkFeatureSlug":"sdk-feature-1","session":"0f88f32c-b03c-49cd-b977-0ca224d1acee","foreign_keys":{"external-system":"user-1"},"ip":"56.123.124.23","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 11)...","path":"/article.html","contentId":"paid-article-123","jwt":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c","dryRunMode":false,"giftToken":"23810040-8149-4f4e-a4d1-c8268340be7f","custom-input-1":"custom-value"}},"id":"schema_37"},"schema_38":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Session"}},"id":"schema_38"},"schema_39":{"kind":"json-schema","data":{"type":"object","properties":{"clientSecret":{"type":"string","example":"src_client_secret_QfsM25CJ2uCMon72MiOmUNTj","description":"Reference to Stripe payment required to process payment in front end."}}},"id":"schema_39"},"schema_40":{"kind":"json-schema","data":{"type":"object","properties":{"subscriptionId":{"type":"string"}},"example":{"subscriptionId":"sub_H8eIeMFwMawg6w"}},"id":"schema_40"},"schema_41":{"kind":"json-schema","data":{"type":"object","properties":{"grant_id":{"type":"string","example":"aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5","description":"New grant of product bundle to user"}}},"id":"schema_41"},"schema_42":{"kind":"json-schema","data":{"type":"object","properties":{"subscription_id":{"type":"string"},"payment_method_id":{"type":"string"}},"required":["subscription_id","payment_method_id"],"example":{"subscription_id":"sub_H8eIeMFwMawg6w","payment_method_id":"pm_2KrMmOCvDgIhZCB6u0Yn7COE"}},"id":"schema_42"},"schema_43":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"Product ID/slug"},"price_point_id":{"type":"string","description":"Price Point ID/slug"},"payment_method":{"type":"string","description":"Payment method from Stripe Elements UI."},"payment_intent_id":{"type":"string","description":"PaymentIntent ID returned after confirming a card payment."}},"required":["product_id","price_point_id","payment_method"],"example":{"product_id":"lifetime-membership","price_point_id":"gold-package","payment_method":"pm_123456789","payment_intent_id":"pi_1GYZYWLgUJT2XNPAYQMomeqf"}},"id":"schema_43"},"schema_44":{"kind":"json-schema","data":{"type":"object","properties":{"grant_id":{"type":"string","example":"aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5","description":"New grant of product bundle to user"},"client_secret":{"type":"string","example":"src_client_secret_QfsM25CJ2uCMon72MiOmUNTj`","description":"Reference to Stripe payment required to process payment in front end."},"payment_intent_id":{"type":"string","example":"pi_1GYZYWLgUJT2XNPAYQMomeqf","description":"Reference to the payment intent if payment requires confirmation."}}},"id":"schema_44"},"schema_45":{"kind":"json-schema","data":{"type":"object","properties":{"plan_id":{"type":"string","description":"The new Stripe price plan ID."}},"required":["plan_id"],"example":{"plan_id":"price_H8eIeMFwMawg6w"}},"id":"schema_45"},"schema_46":{"kind":"json-schema","data":{"type":"object","properties":{"total":{"type":"number","example":5000,"description":"The total amount of the prorate invoice in the relevant currency's lowest denomination (e.g. pence)."},"sub_total":{"type":"number","example":4500,"description":"The total amount of the prorate invoice minus tax in the relevant currency's lowest denomination (e.g. pence)."}}},"id":"schema_46"},"schema_47":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"The ID of the new Zephr product."},"plan_id":{"type":"string","description":"The new Stripe price plan ID."},"promo_code":{"type":"string","description":"The Stripe promo code that will be attached to the subscription."},"billing_country":{"type":"string","description":"The user's billing country, for tax calculation purposes."},"billing_post_code":{"type":"string","description":"The user's billing postal code, for tax calculation purposes."}},"required":["product_id","plan_id"],"example":{"product_id":"zephr-prod-1","plan_id":"price_H8eIeMFwMawg6w","promo_code":"discount15","billing_country":"US","billing_post_code":"90210"}},"id":"schema_47"},"schema_48":{"kind":"json-schema","data":{"type":"object","properties":{"total":{"type":"number","example":5000,"description":"The total amount the user will be initially charged for the subscription in the relevant currency's lowest denomination (e.g. pence), i.e. for a monthly subscription, the first month's cost."},"sub_total":{"type":"number","example":4500,"description":"The total amount minus tax for the initial charge in the relevant currency's lowest denomination (e.g. pence)."},"tax":{"type":"number","example":500,"description":"The tax amount for the initial charge in the relevant currency's lowest denomination (e.g. pence)."},"discount":{"type":"number","description":"The discount amount for the initial charge in the relevant currency's lowest denomination (e.g. pence)."}}},"id":"schema_48"},"schema_49":{"kind":"json-schema","data":{"type":"object","properties":{"product_id":{"type":"string","description":"Product Id/slug"},"payment_method":{"type":"string","description":"Payment method from Stripe Elements UI."},"plan_id":{"type":"string"},"discount_code":{"type":"string"}},"required":["product_id","payment_method"],"example":{"product_id":"premium-access-monthly-recurring","payment_method":"pm_123456789"}},"id":"schema_49"},"schema_50":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/StripeSubscription"}},"id":"schema_50"},"schema_51":{"kind":"json-schema","data":{"type":"object","properties":{"Location":{"type":"string"}}},"id":"schema_51"},"schema_52":{"kind":"json-schema","data":{"type":"object","properties":{"state":{"type":"string","description":"State (string)"},"code":{"type":"string","description":"Authorization code (string)"}}},"id":"schema_52"},"schema_53":{"kind":"json-schema","data":{"type":"object","properties":{"state":{"type":"string","description":"State (string)"},"error":{"type":"string","description":"Error type (string)"}}},"id":"schema_53"},"schema_54":{"kind":"json-schema","data":{"type":"object","properties":{"Set-Cookie":{"type":"string","example":"blaize_session=443ed68f-0b44-4f32-8443-553d584cb0dd; Expires=Fri, 16 Nov 2018 12:35:56 GMT; Path=/;","description":"The authenticated user session."},"\u0000Set-Cookie":{"type":"string","example":"blaize_tracking_id=b117093c-e1f7-4ee0-8dda-6b5205f7fbee; Expires=Fri, 16 Nov 2018 12:35:56 GMT; Path=/;","description":"The user tracking ID."}}},"id":"schema_54"},"schema_55":{"kind":"json-schema","data":{"type":"object","properties":{"tracking_id":{"type":"string","description":"A unique ID assigned to the created contact for tracking purposes."},"message":{"type":"string","description":"A human-readable message describing the result of the operation."}}},"id":"schema_55"},"schema_56":{"kind":"json-schema","data":{"type":"object","properties":{"Set-Cookie":{"type":"string","description":"If a 'blaize-validator' was supplied and successfully used to authenticate the request then the response will include blaize session cookies."}}},"id":"schema_56"},"schema_57":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"User extended profile updated"}}},"id":"schema_57"},"schema_58":{"kind":"json-schema","data":{"type":"object","properties":{"contentIdentifier":{"type":"string"},"endUserIPAddress":{"type":"string"},"entitlementIds":{"type":"array","items":{"type":"string"}},"giftToken":{"type":"string"},"referrer":{"type":"string"},"trustedReferrerToken":{"type":"string"}}},"id":"schema_58"},"schema_59":{"kind":"json-schema","data":{"type":"string","default":"/","description":"Defines the destination path after the fingerprint is sent to /POST /blaize/anonymous-session."},"id":"schema_59"},"schema_60":{"kind":"json-schema","data":{"type":"object","properties":{"identifiers":{"type":"object","properties":{"email_address":{"type":"string"}}}}},"id":"schema_60"},"schema_61":{"kind":"json-schema","data":{"type":"object","properties":{"path":{"type":"string","description":"The gift will be created for the provided path in the request body."}},"required":["path"],"example":{"path":"/my-path"}},"id":"schema_61"},"schema_62":{"kind":"json-schema","data":{"type":"object","properties":{"dataLayer":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Resolved datalayer fields. Any fields that cannot be resolved will be present as fieldKey: null.\n","title":"Resolved datalayer fields"}}}}},"id":"schema_62"},"schema_63":{"kind":"json-schema","data":{"type":"object","properties":{"Cache-Control":{"type":"string","description":"The response cache header max-age can be configured by support, and defaults to zero seconds."}}},"id":"schema_63"},"schema_64":{"kind":"json-schema","data":{"type":"string","example":"Failed recording conversion <conversion> for rule ID <ruleId> and outcome ID <outcomeId> due to missing user tracking ID"},"id":"schema_64"},"schema_65":{"kind":"json-schema","data":{"type":"string","enum":["browser","html","json","sdk"]},"id":"schema_65"},"schema_66":{"kind":"json-schema","data":{"type":"object","properties":{"plan_id":{"type":"string"}}},"id":"schema_66"},"schema_67":{"kind":"json-schema","data":{"type":"object","properties":{"total":{"type":"number","example":5000,"description":"The total amount the user will be initially charged for the subscription in the relevant currency's lowest denomination (e.g. pence), i.e. for a monthly subscription, the first month's cost."},"sub_total":{"type":"number","example":4500,"description":"The total amount minus tax for the initial charge in the relevant currency's lowest denomination (e.g. pence)."}}},"id":"schema_67"},"schema_68":{"kind":"json-schema","data":{"type":"string","example":"client_id=1234567890"},"id":"schema_68"},"schema_69":{"kind":"json-schema","data":{"type":"string","example":"mySubscription1"},"id":"schema_69"}},"exampleStore":{"paths/~1blaize~1logout/post/responses/200/content/application~1json/examples/response":{"value":{"message":"Session deleted"},"key":"response","summary":"response","id":"paths/~1blaize~1logout/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1public~1sso~1v1~1status/get/responses/200/content/application~1json/examples/response":{"value":{"status":"authenticated","meta":{}},"key":"response","summary":"response","id":"paths/~1zephr~1public~1sso~1v1~1status/get/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1public~1sso~1v1~1status~1meta/put/requestBody/content/application~1json/example":{"value":{},"id":"paths/~1zephr~1public~1sso~1v1~1status~1meta/put/requestBody/content/application~1json/example"},"paths/~1blaize~1blaize~1password-reset.html/get/responses/200/content/text~1html/examples/response":{"value":"","key":"response","summary":"response","id":"paths/~1blaize~1blaize~1password-reset.html/get/responses/200/content/text~1html/examples/response"},"paths/~1blaize~1anonymous-session/post/responses/201/content/application~1json/examples/response":{"value":{"message":"Anonymous session created successfully","tracking_id":"33d576c7-d036-40e7-8141-8a91998a5c79"},"key":"response","summary":"response","id":"paths/~1blaize~1anonymous-session/post/responses/201/content/application~1json/examples/response"},"paths/~1blaize~1update-email.html/get/responses/200/content/text~1html/examples/response":{"value":"","key":"response","summary":"response","id":"paths/~1blaize~1update-email.html/get/responses/200/content/text~1html/examples/response"},"paths/~1blaize~1payment~1braintree~1token/get/responses/200/content/application~1json/examples/response":{"value":{"token":"eyJ2ZXmsaW5nQW...(lots more random-looking characters)...dyZWmVubW8iOiJvZmYifQ=="},"key":"response","summary":"response","id":"paths/~1blaize~1payment~1braintree~1token/get/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1payment~1braintree~1subscriptions/get/responses/200/content/application~1json/examples/response":{"value":{"managed-by":"Braintree","external-id":"abc123","next-billing-time":"2021-05-17T04:31:33Z","blaize-product":{"id":"one-month-one-off","label":"One month access","description":"One month access","entitlement":{"id":"191f6d00-b8d4-46f1-a22d-2bf53f4f8fa3","type":"bundle"},"mapping":{"recurring":{"plans":{"id":"cxtr","label":null,"archived":false,"billingCycles":1,"paymentProvider":"braintree"},"multiPhasedPlans":[]},"oneOff":{"plans":{"id":"3mkb","label":null,"archived":false,"billingCycles":null,"paymentProvider":"braintree","accessDuration":{"duration":5,"unit":"MONTHS"}}},"braintree_one_off":{"price_points":[]},"rate_plans":[],"jwt":{"claim_value":""}},"sharingLimit":0},"transaction-history":{"time":"2021-05-17T04:31:33Z","currency":"GBP","cents":234,"cycle":"month","cycleCount":1,"currencyCode":"GBP","human-readable-amount":"£2.34"},"subscription-state":"Active","paid_through_date":"2021-05-17T04:31:33Z","plan_id":"plan-123","plan_name":"monthly-plan","billing_frequency_unit":"MONTH","billing_frequency":1,"currency_code":"GBP","pre_discount_price":2,"multiphase_plan":false,"discounts_applied":true},"key":"response","summary":"response","id":"paths/~1blaize~1payment~1braintree~1subscriptions/get/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1payment~1braintree~1buy/post/responses/200/content/application~1json/examples/response":{"value":{"grant_id":"aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5"},"key":"response","summary":"response","id":"paths/~1blaize~1payment~1braintree~1buy/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1payment~1braintree~1payment-methods/get/responses/200/content/application~1json/examples/response":{"value":[{"token":"8m2kc5g","default":false,"card_type":"Visa","card_holder_name":"John Rambo","card_number_masked":"654321******0987","expiration_date":"07/22","expired":false,"expiring_soon":false,"in_use":false,"last_4":"1111","nonce":"086128f3-04c2-069e-78d2-3f4de98508e5","type":"CreditCard","zipcode":"123456"}],"key":"response","summary":"response","id":"paths/~1zephr~1payment~1braintree~1payment-methods/get/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1payment~1braintree~1payment-methods/post/responses/200/content/application~1json/examples/response":{"value":{"token":"8m2kc5g","default":false,"card_type":"Visa","card_holder_name":"John Rambo","card_number_masked":"654321******0987","expiration_date":"07/22","expired":false,"expiring_soon":false,"in_use":false,"last_4":"1111","nonce":"086128f3-04c2-069e-78d2-3f4de98508e5","type":"CreditCard","zipcode":"123456"},"key":"response","summary":"response","id":"paths/~1zephr~1payment~1braintree~1payment-methods/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/responses/200/content/application~1json/examples/response":{"value":{"token":"8m2kc5g","default":false,"card_type":"Visa","card_holder_name":"John Rambo","card_number_masked":"654321******0987","expiration_date":"07/22","expired":false,"expiring_soon":false,"in_use":false,"last_4":"1111","nonce":"086128f3-04c2-069e-78d2-3f4de98508e5","type":"CreditCard","zipcode":"123456"},"key":"response","summary":"response","id":"paths/~1zephr~1payment~1braintree~1payment-methods~1{paymentMethodToken}/patch/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1payment~1braintree~1plans/get/responses/200/content/application~1json/examples/response":{"value":{"plan-id":{"id":"annual-plan","name":"Sports+ Membership Annual","currency_code":"USD","base_price":10.2,"billing_interval_unit":"MONTH","billing_interval":3,"billing_cycles":12,"trial_duration_unit":"DAY","trial_duration":30,"discounts":[{"id":"annual-discount","name":"Sports+ Membership Discount","description":"This is a discount description","amount":"9.99","billing_cycles":"6","current_billing_cycle":"4"}],"zephr_product_id":"product-123"}},"key":"response","summary":"response","id":"paths/~1zephr~1payment~1braintree~1plans/get/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1payment~1braintree~1promo-code/get/responses/200/content/application~1json/examples/response":{"value":{"code":"promo-123","discount":20,"paymentOptions":[{"slug":"plan-123","currency":"$","pricePointId":"cost-123","originalPrice":3.45,"discountPrice":2}]},"key":"response","summary":"response","id":"paths/~1blaize~1payment~1braintree~1promo-code/get/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/responses/200/content/application~1json/examples/response":{"value":[{"id":"add-123","label":"Easy Add-on","value":12,"type":"PERCENT","paymentOptions":[{"slug":"plan-123","currency":"$","addonPrice":12.34}]}],"key":"response","summary":"response","id":"paths/~1blaize~1payment~1braintree~1addons&promoCode={promoCode}/get/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1payment~1braintree~1subscribe/post/responses/200/content/application~1json/examples/response":{"value":{"grant_id":"33d576c7-d036-40e7-8141-8a91998a5c79"},"key":"response","summary":"response","id":"paths/~1blaize~1payment~1braintree~1subscribe/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1feature-decisions/post/responses/200/content/application~1json/examples/response":{"value":{"featureResults":{"featureX":"blaize.transform.resource('...')"},"resources":{"uiComponents":{"M-eRFAot":"<h1>Example</h1>"}},"accessDetails":{"authenticated":false,"accessDecisions":{"W28U8Z":false},"entitlements":{"W28U8Z":{"usedInDecision":false,"decrementedInDecision":false}},"credits":{"W28U8Z":{"usedInDecision":false,"decrementedInDecision":false,"totalCredits":0,"remainingCredits":0}},"meters":{"W28U8Z":{"usedInDecision":false,"decrementedInDecision":false,"totalCredits":0,"remainingCredits":0}},"trialTrackingDetails":[{"entitlementId":"W28U8Z","entitlementType":"entitlement","trackCreditsUsed":false,"trackCreditsRemaining":false,"creditsUsedKey":"creditsUsed","creditsRemainingKey":"creditsRemaining"}],"trials":{"pLvjuu":{"totalCredits":1,"remainingCredits":0,"creditsConsumed":1,"trialExpired":true,"tracker":"","reportInDataLayer":true,"dataLayerCreditsUsedKey":"trial-pLvjuu-creditsUsed","dataLayerCreditsRemainingKey":"trial-pLvjuu-creditsRemaining","decrementedInDecision":true,"usedInDecision":true}},"timeTrials":{"xCoYJr":{"reportInDataLayer":true,"trialDurationUnits":"HOURS","trialDuration":1,"entryTime":"2024-02-08T08:48:33.056008906Z[UTC]","trackerHits":1,"timeRemainingInTrial":0,"dataLayerTrialDurationKey":"trial-xCoYJr-trialDuration","dataLayerTrialDurationUnitsKey":"trial-xCoYJr-trialDurationUnits","dataLayerTrackerEntryTimeKey":"trial-xCoYJr-trackerEntryTime","dataLayerTrackerHitsKey":"trial-xCoYJr-trackerHits","dataLayerTrialTimeRemainingKey":"trial-xCoYJr-trialTimeRemaining","activeInDecision":true}},"testGroups":{"6663d5ea-d1db-4104-893e-65a21a92e32e":"B"},"activeProducts":["example product"]}},"key":"response","summary":"response","id":"paths/~1zephr~1feature-decisions/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1feature-transformations/post/responses/200/content/application~1json/examples/response":{"value":{"featureResults":{"featureX":{"ruleTransformations":{"type":"string","id":"rule-id","contentLength":100,"outcomeId":"outcome-id","outcomeLabel":"Outcome Label","ruleId":"rule-id","ruleLabel":"Rule Label","style":"block","url":"https://example.com","value":"Transformation Value"},"zoneRuleTransformations":{"zone":"HEADER","closeable":true,"css":{".example { color":"red; }"},"displayAfter":"5s","scrollable":false,"ruleTransformations":[{"type":"string","id":"rule-id","contentLength":100,"outcomeId":"outcome-id","outcomeLabel":"Outcome Label","ruleId":"rule-id","ruleLabel":"Rule Label","style":"block","url":"https://example.com","value":"Transformation Value"}]}}},"accessDetails":{"authenticated":false,"accessDecisions":{"W28U8Z":false},"entitlements":{"W28U8Z":{"usedInDecision":false,"decrementedInDecision":false}},"credits":{"W28U8Z":{"usedInDecision":false,"decrementedInDecision":false,"totalCredits":0,"remainingCredits":0}},"meters":{"W28U8Z":{"usedInDecision":false,"decrementedInDecision":false,"totalCredits":0,"remainingCredits":0}},"trialTrackingDetails":[{"entitlementId":"W28U8Z","entitlementType":"entitlement","trackCreditsUsed":false,"trackCreditsRemaining":false,"creditsUsedKey":"creditsUsed","creditsRemainingKey":"creditsRemaining"}],"trials":{"pLvjuu":{"totalCredits":1,"remainingCredits":0,"creditsConsumed":1,"trialExpired":true,"tracker":"","reportInDataLayer":true,"dataLayerCreditsUsedKey":"trial-pLvjuu-creditsUsed","dataLayerCreditsRemainingKey":"trial-pLvjuu-creditsRemaining","decrementedInDecision":true,"usedInDecision":true}},"timeTrials":{"xCoYJr":{"reportInDataLayer":true,"trialDurationUnits":"HOURS","trialDuration":1,"entryTime":"2024-02-08T08:48:33.056008906Z[UTC]","trackerHits":1,"timeRemainingInTrial":0,"dataLayerTrialDurationKey":"trial-xCoYJr-trialDuration","dataLayerTrialDurationUnitsKey":"trial-xCoYJr-trialDurationUnits","dataLayerTrackerEntryTimeKey":"trial-xCoYJr-trackerEntryTime","dataLayerTrackerHitsKey":"trial-xCoYJr-trackerHits","dataLayerTrialTimeRemainingKey":"trial-xCoYJr-trialTimeRemaining","activeInDecision":true}},"testGroups":{"6663d5ea-d1db-4104-893e-65a21a92e32e":"B"},"activeProducts":["example product"]}},"key":"response","summary":"response","id":"paths/~1zephr~1feature-transformations/post/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1decision-engine/post/responses/200/content/application~1json/examples/response":{"value":{"status":"301","body":"Redirecting to login page...","headers":{"Location":"/login.html"}},"key":"response","summary":"response","id":"paths/~1blaize~1decision-engine/post/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1oauth~1state/post/responses/200/content/application~1json/examples/response":{"value":{"message":"State initialized"},"key":"response","summary":"response","id":"paths/~1blaize~1oauth~1state/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1subscribe/post/responses/200/content/application~1json/examples/response":{"value":{"grant_id":"33d576c7-d036-40e7-8141-8a91998a5c79","client_secret":"src_client_secret_QfsM25CJ2uCMon72MiOmUNTj`","payment_intent_id":"pi_1GYZYWLgUJT2XNPAYQMomeqf"},"key":"response","summary":"response","id":"paths/~1zephr~1subscribe/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1subscriptions~1:subscriptionId/patch/responses/200/content/application~1json/examples/response":{"value":{"grant_id":"33d576c7-d036-40e7-8141-8a91998a5c79"},"key":"response","summary":"response","id":"paths/~1zephr~1subscriptions~1:subscriptionId/patch/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1public~1products~1v1~1shares/get/responses/200/content/application~1json/examples/response":{"value":{"owned_products":[{"product_id":"product-1","product_label":"Gold Product","sharing_limit":3,"shares":{"member_email":"name@domain.com","sharing_id":"0nasdj-aso25-6454","status":"active","created_at":"2021-05-17T04:31:33Z"}}],"member_products":[{"product_id":"product-1","product_label":"Gold Product","sharing_id":"0nasdj-aso25-6454","status":"active","shared_by_email":"owner-user@domain.com","created_at":"2021-05-17T04:31:33Z","meta_data":{}}]},"key":"response","summary":"response","id":"paths/~1zephr~1public~1products~1v1~1shares/get/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post/responses/200/content/application~1json/examples/response":{"value":{"sharing_id":"0nasdj-aso25-6454"},"key":"response","summary":"response","id":"paths/~1zephr~1public~1products~1v1~1shares~1invitations~1emails/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post/responses/200/content/application~1json/examples/response":{"value":{"sharing_id":"0nasdj-aso25-6454"},"key":"response","summary":"response","id":"paths/~1zephr~1public~1products~1v1~1shares~1invitations~1tokens/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get/responses/200/content/application~1json/examples/response":{"value":{"product_id":"product-1","product_label":"Gold Product","meta_data":{}},"key":"response","summary":"response","id":"paths/~1zephr~1public~1products~1v1~1shares~1invitations~1{sharing_id}/get/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1decide/post/responses/200/content/application~1json/examples/response":{"value":{"results":[{"sdkFeatureSlug":"featureX","outputType":"ENUM","outputValue":"YES","error":"500: Internal error ..."}]},"key":"response","summary":"response","id":"paths/~1zephr~1decide/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/success":{"value":{"sdkFeatureSlug":"sdk-feature-1","outputType":"ENUM","outputValue":"YES"},"key":"success","summary":"success","id":"paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/success"},"paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/error":{"value":{"sdkFeatureSlug":"sdk-feature-1","error":"500: Internal error ..."},"key":"error","summary":"error","id":"paths/~1zephr~1decision-engine/post/responses/200/content/application~1json/examples/error"},"paths/~1zephr~1decision-engine/post/responses/200/content/none/examples/string":{"value":"YES","key":"string","summary":"string","id":"paths/~1zephr~1decision-engine/post/responses/200/content/none/examples/string"},"paths/~1zephr~1decision-engine/post/responses/200/content/none/examples/json":{"value":{"custom-key":"custom-value"},"key":"json","summary":"json","id":"paths/~1zephr~1decision-engine/post/responses/200/content/none/examples/json"},"paths/~1zephr~1public~1sessions~1v1~1sessions/get/responses/200/content/application~1json/examples/response":{"value":[{"id":"aba22-a5mfh-","startDate":"2011-11-11T11:11:11.000","deviceType":"pc","deviceName":"Google Nexus 5","browser":"Chrome","os":"Android","city":"Huston","geoState":"Texas","country":"USA","isRequestingSession":true}],"key":"response","summary":"response","id":"paths/~1zephr~1public~1sessions~1v1~1sessions/get/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyFound":{"value":"pk_live_PFghBsstUo5FwUGcXBiNvIkY00X1YHtpnJ","key":"keyFound","summary":"A stripe tenant public key is found.","id":"paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyFound"},"paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyNotFound":{"value":"No Stripe public key found","key":"keyNotFound","summary":"A stripe tenant public key is not found.","id":"paths/~1blaize~1payment~1stripe~1publicKey/get/responses/200/content/application~1json/examples/keyNotFound"},"paths/~1zephr~1payment~1stripe~1setupIntentSecret/post/responses/200/content/application~1json/examples/response":{"value":{"clientSecret":"src_client_secret_QfsM25CJ2uCMon72MiOmUNTj"},"key":"response","summary":"response","id":"paths/~1zephr~1payment~1stripe~1setupIntentSecret/post/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post/responses/200/content/application~1json/examples/response":{"value":{"grant_id":"aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5"},"key":"response","summary":"response","id":"paths/~1blaize~1payment~1stripe~1subscription~1confirmation/post/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1payment~1stripe~1buy/post/responses/200/content/application~1json/examples/response":{"value":{"grant_id":"aa583cb8-51d1-4bd9-9ec7-3a43796ef8e5","client_secret":"src_client_secret_QfsM25CJ2uCMon72MiOmUNTj`","payment_intent_id":"pi_1GYZYWLgUJT2XNPAYQMomeqf"},"key":"response","summary":"response","id":"paths/~1blaize~1payment~1stripe~1buy/post/responses/200/content/application~1json/examples/response"},"paths/~1zephr~1oauth2~1consent~1{clientId}/get/responses/200/content/application~1json/example":{"value":{"consent":["user.account:read","user.account:write"]},"id":"paths/~1zephr~1oauth2~1consent~1{clientId}/get/responses/200/content/application~1json/example"},"paths/~1zephr~1oauth2~1error/get/responses/200/content/text~1html/examples/response":{"value":"","key":"response","summary":"response","id":"paths/~1zephr~1oauth2~1error/get/responses/200/content/text~1html/examples/response"},"paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Create-New-Contact":{"value":{"tracking_id":"0014fdc8-55d1-4916-bbde-5b83b5846766","message":"Creating contact successful"},"key":"Create-New-Contact","summary":"Create-New-Contact","id":"paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Create-New-Contact"},"paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Update-Existing-Contact":{"value":{"message":"Updating user attributes successful"},"key":"Update-Existing-Contact","summary":"Update-Existing-Contact","id":"paths/~1zephr~1createContact/post/responses/200/content/application~1json/examples/Update-Existing-Contact"},"paths/~1blaize~1forget-me/post/responses/200/content/application~1json/examples/response":{"value":{"message":"User deleted successfully"},"key":"response","summary":"response","id":"paths/~1blaize~1forget-me/post/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1account/get/responses/200/content/application~1json/examples/response":{"value":{"identifiers":{"email_address":"joe.blow@company.com"},"tracking_id":"123"},"key":"response","summary":"response","id":"paths/~1blaize~1account/get/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1profile/get/responses/200/content/application~1json/examples/NameAttributes":{"value":{"first_name":"Joe","surname":"Blow"},"key":"NameAttributes","summary":"NameAttributes","id":"paths/~1blaize~1profile/get/responses/200/content/application~1json/examples/NameAttributes"},"paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/jsonExample":{"value":{"first_name":"John","last_name":"Doe","user_details":{"email_address":"john.doe@zuora.com","employment":{"company":"Zuora","job_title":"Software Engineer"},"consent_prefs":{"email":false,"sms":true},"interests":["Reading","Coding","Hiking"]}},"key":"jsonExample","summary":"JSON Object","id":"paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/jsonExample"},"paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/arrayExample":{"value":[{"first_name":"John","last_name":"Doe","user_details":{"email_address":"john.doe@zuora.com"}},{"job_title":"Software Engineer"}],"key":"arrayExample","summary":"JSON Array","id":"paths/~1blaize~1profile~1{appId}/get/responses/200/content/application~1json/examples/arrayExample"},"paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/jsonExample":{"value":{"first_name":"John","last_name":"Doe","user_details":{"email_address":"john.doe@zuora.com","employment":{"company":"Zuora","job_title":"Software Engineer"}},"consent_prefs":{"email":false,"sms":true},"interests":["Reading","Coding","Hiking"]},"key":"jsonExample","summary":"JSON Object","id":"paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/jsonExample"},"paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/arrayExample":{"value":[{"first_name":"John","last_name":"Doe","user_details":{"email_address":"john.doe@zuora.com"}},{"job_title":"Software Engineer"}],"key":"arrayExample","summary":"JSON Array","id":"paths/~1blaize~1profile~1{appId}/put/requestBody/content/application~1json/examples/arrayExample"},"paths/~1blaize~1authorization~1challenge/post/responses/200/content/application~1json/examples/response":{"value":{"68cc48be-e47e-4707-8958-1249d87fca86":false},"key":"response","summary":"response","id":"paths/~1blaize~1authorization~1challenge/post/responses/200/content/application~1json/examples/response"},"paths/~1blaize~1browser-fingerprint/get/responses/200/content/text~1html/examples/response":{"value":"","key":"response","summary":"response","id":"paths/~1blaize~1browser-fingerprint/get/responses/200/content/text~1html/examples/response"},"paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post/responses/201/content/application~1json/examples/response":{"value":{"token":"absd-acsd34-casdae-1243c","claimPath":"/my-path?gift=absd-acsd34-casdae-1243c"},"key":"response","summary":"response","id":"paths/~1zephr~1public~1gift-tokens~1v1~1gift-tokens/post/responses/201/content/application~1json/examples/response"},"paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Grouped-fields":{"value":{"dataLayer":[{"zephrActivity":{"logged-in":true,"active-sessions":1}},{"zephrUserSchema":{"user-attribute-1":"user-attribute-1-value"}},{"zephrProducts":{"active-products":["active-product-1-id","active-product-2-id"]}},{"zephrTestGroups":{"split-test-1":"split-test-1-group"}}]},"key":"Grouped-fields","summary":"Grouped-fields","id":"paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Grouped-fields"},"paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Ungrouped-fields":{"value":{"dataLayer":[{"logged-in":true},{"active-sessions":1},{"user-attribute-1":"user-attribute-1-value"},{"active-products":["active-product-1-id","active-product-2-id"]},{"split-test-1":"split-test-1-group"}]},"key":"Ungrouped-fields","summary":"Ungrouped-fields","id":"paths/~1blaize~1datalayer/get/responses/200/content/application~1json/examples/Ungrouped-fields"},"paths/~1zephr~1features/get/responses/200/content/application~1json/examples/COMMENT_TAG":{"value":[{"id":"feature-live","targetType":"COMMENT_TAG","label":"feature-label","slug":"feature-slug"}],"key":"COMMENT_TAG","summary":"COMMENT_TAG","id":"paths/~1zephr~1features/get/responses/200/content/application~1json/examples/COMMENT_TAG"},"paths/~1zephr~1features/get/responses/200/content/application~1json/examples/CSS_SELECTOR":{"value":[{"id":"feature-live","targetType":"CSS_SELECTOR","label":"feature-label","slug":"feature-slug","cssSelector":".feature-css-selector"}],"key":"CSS_SELECTOR","summary":"CSS_SELECTOR","id":"paths/~1zephr~1features/get/responses/200/content/application~1json/examples/CSS_SELECTOR"},"paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get/responses/200/content/text~1html/examples/response":{"value":"","key":"response","summary":"response","id":"paths/~1zephr~1public~1component-library~1v1~1library-components~1{componentId}/get/responses/200/content/text~1html/examples/response"},"paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get/responses/200/content/text~1html/examples/response":{"value":"","key":"response","summary":"response","id":"paths/~1zephr~1public~1template-components~1v1~1template-components~1{templateConfigId}/get/responses/200/content/text~1html/examples/response"},"paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/responses/200/content/text~1html/examples/response":{"value":"","key":"response","summary":"response","id":"paths/~1zephr~1public~1ui-components~1v1~1ui-components~1{componentId}/get/responses/200/content/text~1html/examples/response"},"paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get/responses/200/content/text~1html/examples/response":{"value":"<div>Some HTML</div>","key":"response","summary":"response","id":"paths/~1zephr~1public~1internal-templates~1v1~1internal-templates~1{internalTemplateUsageId}/get/responses/200/content/text~1html/examples/response"}},"securitySchemeStore":{"CookieBlaizeSession":{"id":"CookieBlaizeSession","type":"apiKey","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This cookie is the default authentication mechanism and is set after a successful request to an endpoint such as "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/blaize/login"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Such a cookie may also be obtained via other means, such as a social sign-in flow. Most endpoints in this API are sensitive to this cookie and will behave differently depending on the presence and value thereof. Some endpoints will only function for authenticated users, so this cookie or other form of authentication will be required in that case."},"children":[]}]}]}],"in":"cookie","paramName":"blaize_session"},"JwtQuery":{"id":"JwtQuery","type":"apiKey","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request query parameter to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}],"in":"query","paramName":"jwt"},"JwtHeaderXBlaizeJwt":{"id":"JwtHeaderXBlaizeJwt","type":"apiKey","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-blaize-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}],"in":"header","paramName":"x-blaize-jwt"},"JwtHeaderXZephrJwt":{"id":"JwtHeaderXZephrJwt","type":"apiKey","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided in a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"x-zephr-jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" request header to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}],"in":"header","paramName":"x-zephr-jwt"},"JwtBearer":{"id":"JwtBearer","type":"http","scheme":"bearer","bearerFormat":"JWT","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as an HTTP bearer token in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}]},"JwtCookie":{"id":"JwtCookie","type":"apiKey","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"A JWT can be provided as a "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"blaize_jwt"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cookie in a request to Zephr. Zephr can use various forms of JWT to authenticate users. For details on this see: https://docs.zuora.com?resourceId=zephr-json-web-tokens"},"children":[]}]}]}],"in":"cookie","paramName":"blaize_jwt"}},"servers":[{"url":"https://{your-domain}","variables":{"your-domain":{"default":"demo-site","description":"The domain of your site."}}}],"specType":"openapi"},"options":{"codeSamples":{"languages":[{"lang":"Payload","label":"Payload"},{"lang":"curl","label":"cURL"}]},"mockServer":{"url":"/_mock/zephr-api-reference/zephr-public-api","position":"off","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/zephr-api-reference/zephr-public-api.json?download"},{"url":"/_bundle/zephr-api-reference/zephr-public-api.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Public API Reference","description":"\n\nThe Zephr Public API provides common client-side actions tied to a session cookie. Unlike the Admin API, neither users nor other resources can be dereferenced; the only data that can be accessed is owned by the user who is currently signed-in.  This design is used to protect other users from malicious attacks.\n\nYou can find the base URL for the Public API by navigating to your site domains. To do this, select **Sites** from the **Delivery** menu, select your site, and then click the **Site Domains** button. The base URL is the Live domain.\n\nZephr forms use the Public API by default, with relative URLs based on the base URL.\n"}},"baseSlug":"/zephr-api-reference/zephr-public-api","routesMapping":{}}