{"title":"subscriptions resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_subscriptions/","by":"JOP-AL","license":"Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_subscriptions, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_subscriptions","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"A subscriptions object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"subscriptions resource type","slug":"subscriptions-resource-type","at":0,"chars":2764},{"level":2,"title":"Custom APIs","slug":"custom-apis","at":236,"chars":481},{"level":2,"title":"Methods","slug":"methods","at":717,"chars":400},{"level":2,"title":"Properties","slug":"properties","at":1117,"chars":961},{"level":2,"title":"JSON representation","slug":"json-representation","at":2078,"chars":478},{"level":2,"title":"Related information","slug":"related-information","at":2556,"chars":208}],"text":"# subscriptions resource type\nRepresents a subscriptions in Business Central.\n> NOTE\n> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.\n## Custom APIs\nIf you're subscribing to a custom API page, both the URL you send the subscription HTTP request to and the resource path you wish to subscribe to must include the `<APIPublisher>`, `<APIGroup>`, and `<APIVersion>` elements equivalent to: `api/<APIPublisher>/<APIGroup>/<APIVersion>/subscriptions`. For example, if your API publisher is pub, your API group is grp, and the version is 1.0, part of the URL will contain these elements `api/pub/grp/v1.0/subscriptions`.\n## Methods\nMethod|Return Type|Description\n../api/dynamics_subscriptions_get|subscriptions|Gets a subscriptions object.\n../api/dynamics_subscriptions_delete|none|Deletes a subscriptions object.\nPOST subscriptions<../api/dynamics_subscriptions_create>|subscriptions|Creates a subscriptions object.\nPATCH subscriptions<../api/dynamics_subscriptions_update>|subscriptions|Updates a subscriptions object.\n## Properties\n|Property|Type|Description|\n|subscriptionId|string|Unique key for the subscription.|\n|notificationUrl|string|URL to which webhook notifications are sent.|\n|resource|string|URL for the resource being subscribed to. Supports relative and absolute URL.|\n|timestamp|int64||\n|userId|GUID|The ID of user that has created the subscriptions.|\n|lastModifiedDateTime|datetime|The last datetime the subscriptions was modified. Read-Only.|\n|clientState|string|Client state will be delivered with every notification. This can be used as a secret to verify message or for managing state if needed.|\n|expirationDateTime|datetime|Date and time for when the webhook will expire.|\n|systemCreatedAt|datetime|The datetime the company was created.|\n|systemCreatedBy|GUID|The ID of the user who created the company.|\n|systemModifiedAt|datetime|The last datetime the subscriptions was modified.|\n|systemModifiedBy|GUID|The ID of the user who last modified the company.|\n## JSON representation\nHere's a JSON representation of the subscriptions resource.\n```json\n{\n    \"subscriptionId\": \"string\",\n    \"notificationUrl\": \"string\",\n    \"resource\": \"string\",\n    \"timestamp\": \"int64\",\n    \"userId\": \"GUID\",\n    \"lastModifiedDateTime\": \"datetime\",\n    \"clientState\": \"string\",\n    \"expirationDateTime\": \"datetime\",\n    \"systemCreatedAt\": \"datetime\",\n    \"systemCreatedBy\": \"GUID\",\n    \"systemModifiedAt\": \"datetime\",\n    \"systemModifiedBy\": \"GUID\"\n}\n```\n## Related information\n../api/dynamics_subscriptions_get\n../api/dynamics_subscriptions_delete\nPOST subscriptions<../api/dynamics_subscriptions_create>\nPATCH subscriptions<../api/dynamics_subscriptions_update>"}