Anomify API Documentation
Anomify AI Main Site | Anomify Documentation

/anomalies

/anomalies

/anomaly

/anomaly/lookup
/anomaly/train
/anomaly/{anomaly_id}

/billing

/billing/checkoutcallback
/billing/getcheckoutsession
/billing/getportalsession

/exclusion

/exclusion/add
/exclusion/delete
/exclusion/list
/exclusion/test
/exclusion/types

/image

/image/anomaly
/image/metric

/js

/js/eventsender

/login

/login
/login/forgotpassword
/login/resetpassword
/login/validateclient

/match

/match/{match_id}
/match/{match_id}/graph
/match/{match_id}/motif/graph

/metric

/metric/{metric_name}
/metric/{metric_name}/anomalies
/metric/{metric_name}/anomalysummary
/metric/{metric_name}/bundle
/metric/{metric_name}/graph
/metric/{metric_name}/patterns
/metric/{metric_name}/timeseries
/metric/{metric_name}/yhat

/metrics

/metrics
/metrics/mostanomalous
/metrics/mostrecentlyanomalous
/metrics/mostrecentlymatched

/misc

/misc/phonecodes
/misc/timesince
/misc/timezones

/org

/org/adminalert/{alert_code}
/org/adminalerts
/org/channels
/org/events
/org/getquotametrics
/org/getstripesession
/org/graph
/org/info
/org/removequotametrics
/org/stripecallback
/org/summary
/org/testmetrics
/org/update
/org/users

/pattern

/pattern/{pattern_id}
/pattern/{pattern_id}/disable
/pattern/{pattern_id}/matches
/pattern/{pattern_id}/timeseries

/patterns

/patterns/pending

/ping

/ping

/signup

/signup/demo
/signup/demo-orgs
/signup/selfserve
/signup/verify

/status

/status

/user

/user/delete
/user/info
/user/logout
/user/ping
/user/reportissue
/user/update
/user/updatepassword

/watcher

/watcher/create
/watcher/{watcher_id}/delete
/watcher/{watcher_id}/undelete
/watcher/{watcher_id}/update

/watchers

/watchers/chips
/watchers/list

Method: /org/getstripesession

Detail

This method is not available to demo user accounts.

DEPRECATED - PLEASE USE /billing/getcheckoutsession

Return the URL to a new Stripe checkout session.

Parameters

Key Required Example Description
type no portal Must be one of "portal" or "checkout". If unspecified, the default is "checkout"

Parameters for type "checkout"

If "checkout" is specified as the type, or type is left blank, the following parameter(s) apply:

Key Required Example Description
subscription_level yes 100000 A subscription level expressed by a number of metrics. This must match a specific defined subscription level.

Parameters for type "portal"

If "portal" is specified as the typeno further parameters are required.

Example Output

{
    "status": { ... see /login method for status block structure ... }
},
    "data": {
        "stripe_session_id": "cs_test_a117qPR9rL78pwCb9GdWdlj6fg44NxxGOsHzop76evPEygEsJJif6nhNwL",
        "stripe_checkout_url": "https:\/\/checkout.stripe.com\/c\/pay\/cs_test_a117qPR9rL78pwCb9GdWdlj6fg44NxxGOsHzop76evPEygEsJJif6nhNwL#fidkdWxOYHwnPyd1blpxYHZxWjA0SGlGfXJDUTxrd0oyaU5UUDxnUERCcnFdMjNWNDdrYlZzaHRXUEhmVElTNz01f0FEbEZ1cTdkX0k3QlR2UlRxMG9Val02V3NcRHBHRFRGV3BmV0NuQ088NTVxRlQ3NVdtMCcpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl"
    }
}

Live Request

URL: /org/getstripesession

You need to be logged in to your Anomify account to to make live API requests.

Please log in here or sign up to Anomify

Email
Password

Live request results will appear here.