{"id":61388,"date":"2024-12-12T10:55:22","date_gmt":"2024-12-12T09:55:22","guid":{"rendered":"https:\/\/www.viafirma.com\/?post_type=ayuda&#038;p=61388"},"modified":"2024-12-12T10:57:49","modified_gmt":"2024-12-12T09:57:49","slug":"how-to-check-the-status-of-a-callbackurl-and-make-a-forwarding","status":"publish","type":"ayuda","link":"https:\/\/www.viafirma.com\/en\/documentation\/how-to-check-the-status-of-a-callbackurl-and-make-a-forwarding\/","title":{"rendered":"How to check the status of a callbackURL and make a forwarding"},"content":{"rendered":"<p>Through the REST services layer, you can see the status of the callBackUrl process executed when the signing process reaches a final state. For this, we will use the following service:<\/p>\n<p><code>GET \/v3\/notifications\/group\/{groupCode}\/type\/CALLBACK\/status\/{status}<\/code><\/p>\n<p>Where the following variables can be defined:<\/p>\n<ul>\n<li><strong>groupCode<\/strong>: group code<\/li>\n<li><strong>status<\/strong>: state on which you want to make the query (SENT, RESENT or ERROR)<\/li>\n<\/ul>\n<p>Sometimes the callbackUrl process can be set to ERROR state due to different casuistries. Viafirma Documents does not automatically forward a callbackUrl, but must be done through the front-end web if you have access or through the following service:<\/p>\n<p><code>PUT \/v3\/messages\/resend\/callback<\/code><\/p>\n<p>The following JSON should be set up in the body of the request:<br \/>\n<code>{<br \/>\n\"messageCode\": \"string\",<br \/>\n\"url\": \"string\",<br \/>\n\"authorization\": \"string\"<br \/>\n}<br \/>\n<\/code>Being the values url and authorization optional Also through the service, you can send callbacks in error of all messages with a same externalCode.<\/p>\n<p><code>PUT messages\/external\/resend\/callback<br \/>\n<\/code><br \/>\n<code>{<br \/>\n\"externalCode\": \"string\",<br \/>\n\"url\": \"string\",<br \/>\n\"authorization\": \"string\"<br \/>\n}<br \/>\n<\/code><\/p>\n<p>With the url and authorization values optional.<\/p>\n","protected":false},"template":"","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"categories":[234],"class_list":["post-61388","ayuda","type-ayuda","status-publish","hentry","category-integration"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.viafirma.com\/en\/wp-json\/wp\/v2\/ayuda\/61388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.viafirma.com\/en\/wp-json\/wp\/v2\/ayuda"}],"about":[{"href":"https:\/\/www.viafirma.com\/en\/wp-json\/wp\/v2\/types\/ayuda"}],"wp:attachment":[{"href":"https:\/\/www.viafirma.com\/en\/wp-json\/wp\/v2\/media?parent=61388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.viafirma.com\/en\/wp-json\/wp\/v2\/categories?post=61388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}