Request

Response

    GET

    systems/:system/events/:event/hooks

    Retrieves a paginated list of all the webhooks for a specified event. If the pageState query string is not specified, the first page is returned.

    Resource Information

    Method and URI
    GET
    https://developer.api.autodesk.com/webhooks/v1/systems/:system/events/:event/hooks
    Authentication Context
    app only/ user context required
    Required OAuth Scopes
    data:read
    Data Format
    JSON

    Request

    Headers

    Authorization*
    string
    Must be Bearer <token>, where <token> is obtained via OAuth
    x-ads-region
    string
    Specifies the geographical location (region) of the server that the request is executed on. Supported values are the following, but the default value is US:
    • US : (Default) Retrieves the webhooks that were registered in a data center dedicated to serve the United States.
    • EMEA : Retrieves the webhooks that were registered in a data center dedicated to serve the European Union, Middle East, and Africa.
    • AUS : (Beta) Retrieves the webhooks that were registered in a data center dedicated to serve Australia.
    • GBR : Retrieves the webhooks that were registered in a data center dedicated to serve United Kingdom.
    • JPN : Retrieves the webhooks that were registered in a data center dedicated to serve Japan.
    • DEU : Retrieves the webhooks that were registered in a data center dedicated to serve Germany.
    • CAN : Retrieves the webhooks that were registered in a data center dedicated to serve Canada.
    • IND : Retrieves the webhooks that were registered in a data center dedicated to serve India.
    * Required

    Request

    URI Parameters

    system
    string
    System for example: data
    event
    string
    Type of event. See Supported Events

    Request

    Query String Parameters

    region
    string
    Specifies the geographical location (region) of the server that the request is executed on. Supported values are the following, but the default value is US:
    • US : (Default) Processes request in a data center dedicated to serve the United States.
    • EMEA : Processes request in a data center dedicated to serve the European Union, Middle East, and Africa.
    • AUS : (Beta) Processes request in a data center dedicated to serve Australia.

    The x-ads-region header also specifies the region. If you specify both, x-ads-region has precedence.

    Request

    Query String Parameters

    scopeName
    String
    Scope name used to create hook. For example : folder
    scopeValue
    String
    Scope value used to create hook. If scopeValue is present then scopeName must be present, otherwise scopeValue would be ignored.
    pageState
    String
    Base64 encoded string used to return the next page of the list of webhooks. This can be obtained from the next field of the previous page. PagingState instances are not portable and implementation is subject to change across versions. Default page size is 200.
    status
    String
    Status of the hooks. Options: ‘active’, ‘inactive
    region
    string
    Specifies the geographical location (region) of the server that the request is executed on. Supported values are the following, but the default value is US:
    • US : (Default) Retrieves the webhooks that were registered in a data center dedicated to serve the United States.
    • EMEA : Retrieves the webhooks that were registered in a data center dedicated to serve the European Union, Middle East, and Africa.
    • AUS : (Beta) Retrieves the webhooks that were registered in a data center dedicated to serve Australia.
    • GBR : Retrieves the webhooks that were registered in a data center dedicated to serve United Kingdom.
    • JPN : Retrieves the webhooks that were registered in a data center dedicated to serve Japan.
    • DEU : Retrieves the webhooks that were registered in a data center dedicated to serve Germany.
    • CAN : Retrieves the webhooks that were registered in a data center dedicated to serve Canada.
    • IND : Retrieves the webhooks that were registered in a data center dedicated to serve India.

    The x-ads-region header also specifies the region. If you specify both, x-ads-region has precedence.

    Response

    HTTP Status Code Summary

    200
    OK
    Success.
    204
    EMPTY
    No webhooks exist.
    400
    BAD REQUEST
    The request is invalid.
    401
    UNAUTHORIZED
    Invalid authorization header.
    403
    FORBIDDEN
    Access denied regardless of authorization status.
    404
    NOT FOUND
    The specified resource was not found.
    500
    INTERNAL SERVICE ERROR
    Unexpected service interruption

    Response

    Body Structure (200)

    Expand all
    links
    object
    An object containing links to other pages of the paginated list of webhooks
    next
    string
    A Base64 encoded string that returns the next page of the list of webhooks
    data
    array: object
    An array of webhook objects
    data[i]
    object
    An element of the array; a webhook object
    hookId
    string
    Webhook ID
    callbackUrl
    string
    Callback URL registered for the webhook
    createdBy
    string
    Client ID or User ID
    createdDate
    date
    Date and time when webhook was created
    lastUpdatedDate
    date
    Date and time when webhook was last updated
    event
    string
    Type of event that is being monitored
    scope
    object
    An object that represents the extent to where the event is monitored. For example, if the scope is a folder, the webhooks service generates a notification for the specified event occurring in any sub folder or item within that folder. Please refer to the individual event specification pages for valid scopes. For example, Data Management events.
    status
    string
    active if webhook is active; otherwise inactive
    urn
    string
    URN of the webhook
    autoReactivateHook
    boolean
    Flag to indicate if the hook can be automatically reactivated.
    hubId
    string
    Optional: account ID in the BIM 360 API (if supplied upon hook creation)
    projectId
    string
    Optional: project ID in the BIM 360 API (if supplied upon hook creation)
    hookExpiry
    string
    Optional: ISO8601 formatted date and time when the hook should expire and automatically be deleted. null or not present means the hook never expires.
    __self__
    string
    Location of this webhook relative to /webhooks/v1/

    Example

    Successful Retrieval of webhooks (200):

    Request

    curl -v 'https://developer.api.autodesk.com/webhooks/v1/systems/data/events/dm.version.added/hooks?scopeName=folder&scopeValue=urn:adsk.wipprod:fs.folder:co.wT5lCWlXSKeo3razOfHJAw&pageState=BNNBEACAtgALYWRzay53aXBkZXYNZnMuZmlsZS5hZGRlZAZmb2xkZXIydXJuOmFkc2sud2lwcWE6ZnMuZm9sZGVyOmNvLlRSM253QUtoVFNDQ0x0azY0VE52Q2cydXJuOmFkc2sud2lwcWE6ZnMuZm9sZGVyOmNvLlRSM253QUtoVFNDQ0x0azY0VE52Q2ctaHR0cDovL2FwaS53ZWJob29raW5ib3guY29tL2kvM0l6eGlLZndmL2luL3gy8H____3wf____Twpc5_2RqlBtCsLMPJlT9kABA=='\
         -H 'Authorization: Bearer bNU4P0trbQKNSzxWksLPTzSbbmUz'
    

    Response

    HTTP/1.1 200
    Content-Type: application/json
    Date: Fri, 14 Sep 2017 17:14:09 GMT
    Content-Length: 662
    Connection: keep-alive
    {
      "links": {
        "next": "/systems/data/events/dm.version.added/hooks?pageState=AMMAEACAtgALYWRzay53aXBkZXYNZnMuZmlsZS5hZGRlZAZmb2xkZXIydXJuOmFkc2sud2lwcWE6ZnMuZm9sZGVyOmNvLlRSM253QUtoVFNDQ0x0azY0VE52Q2cydXJuOmFkc2sud2lwcWE6ZnMuZm9sZGVyOmNvLlRSM253QUtoVFNDQ0x0azY0VE52Q2ctaHR0cDovL2FwaS53ZWJob29raW5ib3guY29tL2kvM0l6eGlLZndmL2luL3gy8H____3wf____Twpc5_2RqlBtCsLMPJlT9kABA=="
      },
      "data": [{
        "hookId" : "0f60f6a0-996c-11e7-abf3-51d68cff984c",
        "tenant" : "urn:adsk.wipprod:fs.folder:co.wT5lCWlXSKeo3razOfHJAw",
        "callbackUrl" : "http://bf067e05.ngrok.io/callback",
        "createdBy" : "*********",
        "event" : "dm.version.added",
        "createdDate" : "2017-09-14T17:04:10.444+0000",
        "lastUpdatedDate" : "2020-09-14T17:04:10.444+0000",
        "system" : "data",
        "creatorType": "Application",
        "status" : "active",
        "autoReactivateHook": false,
        "scope" : {
          "folder" : "urn:adsk.wipprod:fs.folder:co.wT5lCWlXSKeo3razOfHJAw"
        },
        "urn" : "urn:adsk.webhooks:events.hook:0f60f6a0-996c-11e7-abf3-51d68cff984c",
        "__self__" : "/systems/data/events/dm.version.added/hooks/0f60f6a0-996c-11e7-abf3-51d68cff984c"
      }]
    }
    
    Show More
     
    ______
    icon-svg-close-thick

    Cookie preferences

    Your privacy is important to us and so is an optimal experience. To help us customize information and build applications, we collect data about your use of this site.

    May we collect and use your data?

    Learn more about the Third Party Services we use and our Privacy Statement.

    Strictly necessary – required for our site to work and to provide services to you

    These cookies allow us to record your preferences or login information, respond to your requests or fulfill items in your shopping cart.

    Improve your experience – allows us to show you what is relevant to you

    These cookies enable us to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we use to deliver information and experiences tailored to you. If you do not allow these cookies, some or all of these services may not be available for you.

    Customize your advertising – permits us to offer targeted advertising to you

    These cookies collect data about you based on your activities and interests in order to show you relevant ads and to track effectiveness. By collecting this data, the ads you see will be more tailored to your interests. If you do not allow these cookies, you will experience less targeted advertising.

    icon-svg-close-thick

    THIRD PARTY SERVICES

    Learn more about the Third-Party Services we use in each category, and how we use the data we collect from you online.

    icon-svg-hide-thick

    icon-svg-show-thick

    Strictly necessary – required for our site to work and to provide services to you

    Qualtrics
    W
    Akamai mPulse
    W
    Digital River
    W
    Dynatrace
    W
    Khoros
    W
    Launch Darkly
    W
    New Relic
    W
    Salesforce Live Agent
    W
    Wistia
    W
    Tealium
    W
    Upsellit
    W
    CJ Affiliates
    W
    Commission Factory
    W
    Google Analytics (Strictly Necessary)
    W
    Typepad Stats
    W
    Geo Targetly
    W
    SpeedCurve
    W
    Qualified
    #

    icon-svg-hide-thick

    icon-svg-show-thick

    Improve your experience – allows us to show you what is relevant to you

    Google Optimize
    W
    ClickTale
    W
    OneSignal
    W
    Optimizely
    W
    Amplitude
    W
    Snowplow
    W
    UserVoice
    W
    Clearbit
    #
    YouTube
    #

    icon-svg-hide-thick

    icon-svg-show-thick

    Customize your advertising – permits us to offer targeted advertising to you

    Adobe Analytics
    W
    Google Analytics (Web Analytics)
    W
    AdWords
    W
    Marketo
    W
    Doubleclick
    W
    HubSpot
    W
    Twitter
    W
    Facebook
    W
    LinkedIn
    W
    Yahoo! Japan
    W
    Naver
    W
    Quantcast
    W
    Call Tracking
    W
    Wunderkind
    W
    ADC Media
    W
    AgrantSEM
    W
    Bidtellect
    W
    Bing
    W
    G2Crowd
    W
    NMPI Display
    W
    VK
    W
    Adobe Target
    W
    Google Analytics (Advertising)
    W
    Trendkite
    W
    Hotjar
    W
    6 Sense
    W
    Terminus
    W
    StackAdapt
    W
    The Trade Desk
    W
    RollWorks
    W

    Are you sure you want a less customized experience?

    We can access your data only if you select "yes" for the categories on the previous screen. This lets us tailor our marketing so that it's more relevant for you. You can change your settings at any time by visiting our privacy statement

    Your experience. Your choice.

    We care about your privacy. The data we collect helps us understand how you use our products, what information you might be interested in, and what we can improve to make your engagement with Autodesk more rewarding.

    May we collect and use your data to tailor your experience?

    Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.