http://staging.api.digidom.pro/webhook/document?q=%2Fwebhook%2Fdocument

YousignController :: webhook

Request

GET Parameters

Key Value
q
"/webhook/document"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Webhook\YousignController::webhook"
_firewall_context
"security.firewall.map.context.main"
_links
Symfony\Component\WebLink\GenericLinkProvider {#2734
  -links: [
    2735 => Symfony\Component\WebLink\Link {#2735
      -href: "http://staging.api.digidom.pro/v1/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_route
"app_webhook_yousign"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"79c840"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip"
content-length
"1367"
content-type
"application/json"
host
"staging.api.digidom.pro"
traceparent
"00-6703cd5700000000f1d713c659ae5fde-7bf89ca92a9abdb1-00"
user-agent
"Yousign Webhook Bot"
x-amzn-trace-id
"Root=1-6703cd57-12d8f67e78e554385683fad5"
x-datadog-parent-id
"8933062111267569073"
x-datadog-sampling-priority
"0"
x-datadog-tags
"_dd.p.tid=6703cd5700000000"
x-datadog-trace-id
"17426419025762475998"
x-forwarded-for
"5.39.7.141"
x-forwarded-port
"443"
x-forwarded-proto
"https"
x-php-ob-level
"1"
x-yousign-issued-at
"1728302423"
x-yousign-retry
"8"
x-yousign-signature-256
"sha256=e351d5315428eeb5feb88235593421b992850cf2dc4ade485fc7c904cb7d2601"

Request Content

Pretty

{
    "event_id": "9421160d-4faa-4ec9-a33d-ccf4aa65eca5",
    "event_name": "signer.done",
    "event_time": "1727954074",
    "subscription_id": "a0f33583-4867-437b-8978-ca0d06ce7e70",
    "subscription_description": "webhook for staging",
    "sandbox": true,
    "data": {
        "signature_request": {
            "id": "b688b3dd-5a73-48c9-8c17-c33e123b1d42",
            "status": "ongoing",
            "name": "Signature contrat de domiciliation #27863 (03-10-2024 13:13:37)",
            "delivery_mode": "none",
            "created_at": "2024-10-03T11:13:38+00:00",
            "deleted_at": null,
            "timezone": "Europe\/Paris",
            "email_custom_note": null,
            "expiration_date": "2025-04-03T21:59:59+00:00",
            "source": "public_api",
            "ordered_signers": false,
            "external_id": "27863-47029",
            "workspace_id": "d0c50637-8898-43c8-b082-c9d8128a2c7d",
            "sender": null,
            "signers": [
                {
                    "id": "8c2ed9d1-3225-49d8-a435-88f476cb1985",
                    "answers": [],
                    "status": "notified",
                    "delivery_mode": "none"
                },
                {
                    "id": "c10b8f6b-69d1-491f-a28c-acde00fed664",
                    "answers": [],
                    "status": "signed",
                    "delivery_mode": "none"
                }
            ],
            "approvers": [],
            "documents": [
                {
                    "id": "90a28759-f551-4fe2-9771-c9927800f6c7",
                    "nature": "signable_document"
                }
            ],
            "reminder_settings": null
        },
        "signer": {
            "id": "c10b8f6b-69d1-491f-a28c-acde00fed664",
            "info": {
                "first_name": "EI 3",
                "last_name": "Test",
                "email": "testei3@digidom.pro",
                "phone_number": "+33619414884",
                "locale": "fr"
            },
            "answers": [],
            "status": "signed",
            "delivery_mode": "none",
            "signature_level": "electronic_signature",
            "signature_authentication_mode": "sms"
        }
    }
}

Raw

{"event_id":"9421160d-4faa-4ec9-a33d-ccf4aa65eca5","event_name":"signer.done","event_time":"1727954074","subscription_id":"a0f33583-4867-437b-8978-ca0d06ce7e70","subscription_description":"webhook for staging","sandbox":true,"data":{"signature_request":{"id":"b688b3dd-5a73-48c9-8c17-c33e123b1d42","status":"ongoing","name":"Signature contrat de domiciliation #27863 (03-10-2024 13:13:37)","delivery_mode":"none","created_at":"2024-10-03T11:13:38+00:00","deleted_at":null,"timezone":"Europe\/Paris","email_custom_note":null,"expiration_date":"2025-04-03T21:59:59+00:00","source":"public_api","ordered_signers":false,"external_id":"27863-47029","workspace_id":"d0c50637-8898-43c8-b082-c9d8128a2c7d","sender":null,"signers":[{"id":"8c2ed9d1-3225-49d8-a435-88f476cb1985","answers":[],"status":"notified","delivery_mode":"none"},{"id":"c10b8f6b-69d1-491f-a28c-acde00fed664","answers":[],"status":"signed","delivery_mode":"none"}],"approvers":[],"documents":[{"id":"90a28759-f551-4fe2-9771-c9927800f6c7","nature":"signable_document"}],"reminder_settings":null},"signer":{"id":"c10b8f6b-69d1-491f-a28c-acde00fed664","info":{"first_name":"EI 3","last_name":"Test","email":"testei3@digidom.pro","phone_number":"+33619414884","locale":"fr"},"answers":[],"status":"signed","delivery_mode":"none","signature_level":"electronic_signature","signature_authentication_mode":"sms"}}}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Mon, 07 Oct 2024 12:00:24 GMT"
link
"<http://staging.api.digidom.pro/v1/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
x-debug-token
"b0fc93"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 87
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 80
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/data/vhosts/api.digidom.pro/public/index.php"
    "line" => 25
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
API_KEY_YOUSING
"d44e8adee19da3a8d2a1a72b70fd9343"
API_URL
"https://staging-api.yousign.com"
APP_BASE_URL
"https://staging.api.digidom.pro"
APP_CREDIT_NOTES_STORAGE
"credit_notes.storage.aws"
APP_CSV_STORAGE
"csv.storage.local"
APP_DEBUG
"1"
APP_DOCUMENTS_STORAGE
"documents.storage.aws"
APP_ENV
"dev"
APP_EXPORT_STORAGE
"export.storage.aws"
APP_INVOICES_STORAGE
"invoices.storage.aws"
APP_LETTERS_STORAGE
"letters.storage.aws"
APP_PUBLIC_PATH
"./public"
APP_QUOTES_STORAGE
"quotes.storage.aws"
APP_SECRET
"cljd2a7d0hej6584frk7560a0a72c53eb"
AWS_ACCESS_KEY_ID
"AKIA5ASVTKMOUVRMN426"
AWS_ENV
"staging"
AWS_REGION
"eu-west-3"
AWS_SECRET_ACCESS_KEY
"HpRloO5wSlQ9ait41p8xF1XA1lJTfT3M+GqM1dCu"
AWS_SUPPRESS_PHP_DEPRECATION_WARNING
"true"
CORS_ALLOW_ORIGIN
"*"
DATABASE_HOST
"dgm-mysql-staging.cgnm2oflbrxp.eu-west-3.rds.amazonaws.com"
DATABASE_NAME
"apidg_staging"
DATABASE_PASSWORD
"nnLLORJFa2CRHmvotd5Xskttm5qVhngq"
DATABASE_PATH
"~/.data/mysqldb_ceg"
DATABASE_PORT
"3306"
DATABASE_USER
"apidg_staging"
DOCKER_APP_PATH
"/var/www"
DOCKER_FOLDER_PATH
".docker"
DROPBOX_PATH
"/Applications/DOSSIER DOM"
DROPBOX_PATH_COURRIER
"/Dossier de l'équipe Digidom"
DROPBOX_TOKEN
"OhPLqkgPZWIAAAAAAAAAAarlgapj8-NijFMnT1GNzHD-Hj8U8g1CpZlyEYC4UOxe"
DROPBOX_TOKEN_COURRIER
"fgnFhdTnIgIAAAAAAAAAAerTkgQ5UKZq54UZqbuSWAqnidpvKk8bPfpgKFZI2FU4"
ELASTICSEARCH_HOST
"https://vpc-dgm-elasticsearch-staging-s6aty3a7arrhhogh3ycoz7gare.eu-west-3.es.amazonaws.com/"
ELASTICSEARCH_PREFIX
"staging"
ENQUEUE_DSN
"sqs:?region=eu-west-3&key=AKIA5ASVTKMOSLWNLYVK&secret=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"
ENQUEUE_QUEUE
"enqueue://default?topic[name]=dgm-sqs-staging.fifo&queue[name]=dgm-sqs-staging.fifo&receiveTimeout=4"
FRONTAPP_API_KEY
"663f106d7aa32f020949f3a3424f163c"
FRONTAPP_API_URL
"https://api2.frontapp.com"
FRONTAPP_TOKEN
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzY29wZXMiOlsic2hhcmVkOioiLCJwcml2YXRlOioiXSwiaWF0IjoxNTQzMjQxMTY3LCJpc3MiOiJmcm9udCIsInN1YiI6ImRpZ2lkb20yIiwianRpIjoiMDE2ZDc5MjY5NDkwM2UzOCJ9.3A8cHpz-aEqU2sHbr4cPShGlWJXNAxuja3oPFYoZyaU"
GC_ACCESS_TOKEN
"sandbox_7INN3Kdk0FZPa1vA9Q1F7mmhTXKU4fpEpSIiulIc"
GC_ENV
"sandbox"
GC_URL_DASHBOARD
"https://manage-sandbox.gocardless.com/"
JWT_PASSPHRASE
"5ab85efd51ad4hh66ecet4d31aca2318"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/%kernel.environment%_public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/%kernel.environment%_private.pem"
JWT_TOKEN_TTL
"1576800000"
LOCALSTACK_HOST_ENDPOINT
"http://localstack:4566"
MERCURE_JWT_SECRET
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.teGguELe3UyCloKfSL1cbkU1eo37x40BLNzNnT9vWdc"
MERCURE_PUBLIC_URL
"https://staging.mercure.digidom.pro"
MERCURE_URL
"https://staging.mercure.digidom.pro/.well-known/mercure"
MESSENGER_TRANSPORT_DSN
"https://sqs.eu-west-3.amazonaws.com/894606463773/dgm-sqs-staging.fifo?access_key=AKIA5ASVTKMOSLWNLYVK&secret_key=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&auto_setup=false&region=eu-west-3"
PAPPERS_CLIENT_TOKEN
"593edd1a49cf1f781f00d20d6aa89b976cd28211ac2a1729"
PAPPERS_SURVEILLANCE_ID_LIST
"30aa5ea2bec302842330da3993124ee55dt1689666383834"
PAPPERS_URL
"https://api.pappers.fr/v2/"
PAYMENT_INTERFACE_URL
"https://staging.app2.digidom.pro/"
PENNYLANE_API_KEY
"00dxkIJKPx9F079BE8Z-KRDVoza1wcmhQR-TkC_g5Js"
PENNYLANE_API_URL
"https://app.pennylane.com"
REDIS_HOST
"dgm-redis-staging-01.iq3hy2.ng.0001.euw3.cache.amazonaws.com"
REDIS_PORT
"6379"
REDIS_URL
"redis://dgm-redis-staging-01.iq3hy2.ng.0001.euw3.cache.amazonaws.com:6379/2"
SECRET_KEY
"sk_test_5of8oI8k8uONOkKZ7reR6ig3"
SEGMENT_WRITE_KEY
"OAnKZI4sGK9kTYCQpMZSlruByMIJYlcZ"
SENTRY_DSN
"https://975adc698b074eebb1fdd7d03234f474@sentry.io/1450929"
SENTRY_ENV
"staging"
SESSION_MAX
"1296000"
STRIPE_URL_DASHBOARD
"https://dashboard.stripe.com/test/"
STRIPE_WEBHOOK_SECRET
"whsec_9XUoHd6hEujklxkmUzzBq4lWtu7o9GT1"
TESSERACT_URL
"http://localhost:8884"
TWILIO_ACCOUNT_SID
"AC7c0b05c94a1d9d030ced3f77535e7d7b"
TWILIO_AUTH_TOKEN
"33214901f7a093a26f556233a7a8cb9c"
TWILIO_PHONE_NUMBER_SENDER
"+447445413116"
URL_BV
"https://dash.staging.digidom.pro"
URL_NEW_ADMIN
"https://staging.admin.digidom.pro"
URL_TUNNEL
"https://www.staging-5em2ouy-7voayyan2nsfe.de-2.platformsh.site"
WEBHOOK_SECRET
"webhook_digidom_api_secret"
WEB_URL
"https://staging-app.yousign.com"
WKHTMLTOIMAGE_PATH
"xvfb-run /usr/local/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"wkhtmltopdf -B 20 -L 20 -R 20 -T 20 --enable-local-file-access --footer-center "[page]/[toPage]" --footer-spacing 10"
YOUSIGN_API_KEY
"EZtk878ZYSEStJHSPANWhw8fCXAdTqN6"
YOUSIGN_API_KEY_PRODUCTION
"KCbiTc8KXHERxf0GJFzfqiR5OaSk7I8M"
YOUSIGN_API_SANDBOX
"true"
YOUSIGN_API_URL
"https://api-sandbox.yousign.app/v3/"
YOUSIGN_API_URL_PRODUCTION
"https://api.yousign.app/v3/"

Defined as regular env variables

Key Value
CONTENT_LENGTH
"1367"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/data/vhosts/api.digidom.pro/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/data/home/customer"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_CONTENT_LENGTH
"1367"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"staging.api.digidom.pro"
HTTP_TRACEPARENT
"00-6703cd5700000000f1d713c659ae5fde-7bf89ca92a9abdb1-00"
HTTP_USER_AGENT
"Yousign Webhook Bot"
HTTP_X_AMZN_TRACE_ID
"Root=1-6703cd57-12d8f67e78e554385683fad5"
HTTP_X_DATADOG_PARENT_ID
"8933062111267569073"
HTTP_X_DATADOG_SAMPLING_PRIORITY
"0"
HTTP_X_DATADOG_TAGS
"_dd.p.tid=6703cd5700000000"
HTTP_X_DATADOG_TRACE_ID
"17426419025762475998"
HTTP_X_FORWARDED_FOR
"5.39.7.141"
HTTP_X_FORWARDED_PORT
"443"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_YOUSIGN_ISSUED_AT
"1728302423"
HTTP_X_YOUSIGN_RETRY
"8"
HTTP_X_YOUSIGN_SIGNATURE_256
"sha256=e351d5315428eeb5feb88235593421b992850cf2dc4ade485fc7c904cb7d2601"
PHP_SELF
"/index.php"
QUERY_STRING
"q=/webhook/document&"
REDIRECT_STATUS
"200"
REMOTE_ADDR
"10.56.94.179"
REMOTE_PORT
"7756"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1728302423
REQUEST_TIME_FLOAT
1728302423.6342
REQUEST_URI
"/webhook/document"
SCRIPT_FILENAME
"/data/vhosts/api.digidom.pro/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"10.56.97.55"
SERVER_NAME
"staging.api.digidom.pro"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.14.2"
SYMFONY_DOTENV_VARS
"APP_SECRET,APP_ENV,APP_DEBUG,AWS_ENV,DATABASE_HOST,DATABASE_NAME,DATABASE_USER,DATABASE_PASSWORD,DATABASE_PORT,DOCKER_APP_PATH,DOCKER_FOLDER_PATH,APP_PUBLIC_PATH,DATABASE_PATH,CORS_ALLOW_ORIGIN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,SENTRY_DSN,SENTRY_ENV,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TOKEN_TTL,TWILIO_ACCOUNT_SID,TWILIO_AUTH_TOKEN,TWILIO_PHONE_NUMBER_SENDER,SEGMENT_WRITE_KEY,SECRET_KEY,STRIPE_WEBHOOK_SECRET,STRIPE_URL_DASHBOARD,DROPBOX_TOKEN,DROPBOX_PATH,DROPBOX_TOKEN_COURRIER,DROPBOX_PATH_COURRIER,SESSION_MAX,FRONTAPP_API_KEY,FRONTAPP_TOKEN,FRONTAPP_API_URL,ELASTICSEARCH_HOST,ELASTICSEARCH_PREFIX,APP_BASE_URL,GC_ACCESS_TOKEN,GC_ENV,WEBHOOK_SECRET,GC_URL_DASHBOARD,MESSENGER_TRANSPORT_DSN,API_KEY_YOUSING,API_URL,WEB_URL,YOUSIGN_API_KEY,YOUSIGN_API_KEY_PRODUCTION,YOUSIGN_API_URL,YOUSIGN_API_URL_PRODUCTION,YOUSIGN_API_SANDBOX,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AWS_REGION,URL_TUNNEL,URL_BV,URL_NEW_ADMIN,ENQUEUE_DSN,ENQUEUE_QUEUE,REDIS_URL,REDIS_HOST,REDIS_PORT,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,PAYMENT_INTERFACE_URL,PAPPERS_URL,PAPPERS_CLIENT_TOKEN,PAPPERS_SURVEILLANCE_ID_LIST,APP_DOCUMENTS_STORAGE,APP_INVOICES_STORAGE,APP_LETTERS_STORAGE,APP_QUOTES_STORAGE,APP_CREDIT_NOTES_STORAGE,APP_CSV_STORAGE,APP_EXPORT_STORAGE,PENNYLANE_API_URL,PENNYLANE_API_KEY,LOCALSTACK_HOST_ENDPOINT,TESSERACT_URL,AWS_SUPPRESS_PHP_DEPRECATION_WARNING"
USER
"customer"