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 {#2738 -links: [ 2739 => Symfony\Component\WebLink\Link {#2739 -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 | "ca42a1" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip" |
content-length | "1376" |
content-type | "application/json" |
host | "staging.api.digidom.pro" |
traceparent | "00-672b69420000000091fff41bc516b7ba-3bf7463a45ea3354-00" |
user-agent | "Yousign Webhook Bot" |
x-amzn-trace-id | "Root=1-672b6942-4b66575d58128d8559bebf87" |
x-datadog-parent-id | "4320999583580304212" |
x-datadog-sampling-priority | "0" |
x-datadog-tags | "_dd.p.tid=672b694200000000" |
x-datadog-trace-id | "10520395654668662714" |
x-forwarded-for | "5.39.7.141" |
x-forwarded-port | "443" |
x-forwarded-proto | "https" |
x-php-ob-level | "1" |
x-yousign-issued-at | "1730898242" |
x-yousign-retry | "3" |
x-yousign-signature-256 | "sha256=91234e721f331c28da57838eacb5f0836f81b18585bd2a3ac7e866235cee7ec9" |
Request Content
Pretty
{ "event_id": "fe0ce50a-5501-443d-bf4f-41d79d9dce5d", "event_name": "signer.done", "event_time": "1730895781", "subscription_id": "a0f33583-4867-437b-8978-ca0d06ce7e70", "subscription_description": "webhook for staging", "sandbox": true, "data": { "signature_request": { "id": "941dad40-8bc4-45a1-998b-1b946e6246c5", "status": "ongoing", "name": "Signature contrat de domiciliation #27867 (04-10-2024 12:21:48)", "delivery_mode": "none", "created_at": "2024-10-04T10:21:48+00:00", "deleted_at": null, "timezone": "Europe\/Paris", "email_custom_note": null, "expiration_date": "2025-04-04T21:59:59+00:00", "source": "public_api", "ordered_signers": false, "external_id": "27867-47031", "workspace_id": "d0c50637-8898-43c8-b082-c9d8128a2c7d", "sender": null, "signers": [ { "id": "e061c661-09e7-4851-b3f4-6b3149502acd", "answers": [], "status": "signed", "delivery_mode": "none" }, { "id": "6785d39c-4ce4-4e3a-806c-a510239be1cc", "answers": [], "status": "signed", "delivery_mode": "none" } ], "approvers": [], "documents": [ { "id": "02c3fefe-545e-4878-9ec9-d8a71ed58b1a", "nature": "signable_document" } ], "reminder_settings": null }, "signer": { "id": "e061c661-09e7-4851-b3f4-6b3149502acd", "info": { "first_name": "Stanislas", "last_name": "LE MAIRE", "email": "stanislas@digidom.pro", "phone_number": "+33619414884", "locale": "fr" }, "answers": [], "status": "signed", "delivery_mode": "none", "signature_level": "electronic_signature", "signature_authentication_mode": "sms" } } }
Raw
{"event_id":"fe0ce50a-5501-443d-bf4f-41d79d9dce5d","event_name":"signer.done","event_time":"1730895781","subscription_id":"a0f33583-4867-437b-8978-ca0d06ce7e70","subscription_description":"webhook for staging","sandbox":true,"data":{"signature_request":{"id":"941dad40-8bc4-45a1-998b-1b946e6246c5","status":"ongoing","name":"Signature contrat de domiciliation #27867 (04-10-2024 12:21:48)","delivery_mode":"none","created_at":"2024-10-04T10:21:48+00:00","deleted_at":null,"timezone":"Europe\/Paris","email_custom_note":null,"expiration_date":"2025-04-04T21:59:59+00:00","source":"public_api","ordered_signers":false,"external_id":"27867-47031","workspace_id":"d0c50637-8898-43c8-b082-c9d8128a2c7d","sender":null,"signers":[{"id":"e061c661-09e7-4851-b3f4-6b3149502acd","answers":[],"status":"signed","delivery_mode":"none"},{"id":"6785d39c-4ce4-4e3a-806c-a510239be1cc","answers":[],"status":"signed","delivery_mode":"none"}],"approvers":[],"documents":[{"id":"02c3fefe-545e-4878-9ec9-d8a71ed58b1a","nature":"signable_document"}],"reminder_settings":null},"signer":{"id":"e061c661-09e7-4851-b3f4-6b3149502acd","info":{"first_name":"Stanislas","last_name":"LE MAIRE","email":"stanislas@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 | "Wed, 06 Nov 2024 13:04:03 GMT" |
link | "<http://staging.api.digidom.pro/v1/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"" |
x-debug-token | "b75e0f" |
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 | "*" |
CUSTOMER_IO_API_BASE_URL | "https://api.customer.io" |
CUSTOMER_IO_API_BEARER_TOKEN | "7973d2046d20a2fa280606718e9ff411" |
CUSTOMER_IO_TRACK_BASE_URL | "https://track-eu.customer.io" |
CUSTOMER_IO_TRACK_BASIC_AUTH | "01131e1cd43f9e9aa3cd:7cef76fa9cf66615e19f" |
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" |
FS_CRAWLER_URL | "http://localhost:8090" |
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®ion=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://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 | "1376" |
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 | "1376" |
HTTP_CONTENT_TYPE | "application/json" |
HTTP_HOST | "staging.api.digidom.pro" |
HTTP_TRACEPARENT | "00-672b69420000000091fff41bc516b7ba-3bf7463a45ea3354-00" |
HTTP_USER_AGENT | "Yousign Webhook Bot" |
HTTP_X_AMZN_TRACE_ID | "Root=1-672b6942-4b66575d58128d8559bebf87" |
HTTP_X_DATADOG_PARENT_ID | "4320999583580304212" |
HTTP_X_DATADOG_SAMPLING_PRIORITY | "0" |
HTTP_X_DATADOG_TAGS | "_dd.p.tid=672b694200000000" |
HTTP_X_DATADOG_TRACE_ID | "10520395654668662714" |
HTTP_X_FORWARDED_FOR | "5.39.7.141" |
HTTP_X_FORWARDED_PORT | "443" |
HTTP_X_FORWARDED_PROTO | "https" |
HTTP_X_YOUSIGN_ISSUED_AT | "1730898242" |
HTTP_X_YOUSIGN_RETRY | "3" |
HTTP_X_YOUSIGN_SIGNATURE_256 | "sha256=91234e721f331c28da57838eacb5f0836f81b18585bd2a3ac7e866235cee7ec9" |
PHP_SELF | "/index.php" |
QUERY_STRING | "q=/webhook/document&" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "10.56.48.93" |
REMOTE_PORT | "54296" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1730898242 |
REQUEST_TIME_FLOAT | 1730898242.8559 |
REQUEST_URI | "/webhook/document" |
SCRIPT_FILENAME | "/data/vhosts/api.digidom.pro/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "10.56.143.236" |
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,FS_CRAWLER_URL,AWS_SUPPRESS_PHP_DEPRECATION_WARNING,CUSTOMER_IO_API_BASE_URL,CUSTOMER_IO_API_BEARER_TOKEN,CUSTOMER_IO_TRACK_BASE_URL,CUSTOMER_IO_TRACK_BASIC_AUTH" |
USER | "customer" |