# Endpoint URL & token

Every integration has two credentials that connect it to the outside world: an **endpoint URL** and a **token**.

## The endpoint URL

The endpoint URL is the unique web address where Studio receives webhooks for this integration. It appears in the top bar of the integration — click the copy icon to copy it.

Give this URL to whatever service should trigger your notifications. When that service sends an HTTP request to the URL, Studio runs your code and (if your code returns a message) delivers a push notification.

The endpoint accepts standard HTTP methods — **GET**, **POST**, **PUT**, and **DELETE** — so it works with almost any webhook provider.

## The token

The token is a secret that authorizes requests to your endpoint. It's generated when the integration is created. Treat it like a password:

* Don't commit it to public repositories.
* Don't share it publicly.
* If it leaks, recreate the integration to get fresh credentials.

## Connecting a service

The general pattern for any webhook provider:

1. Copy your **endpoint URL** from Studio.
2. In the external service, find its **webhook / outgoing-request** settings.
3. Paste the URL as the destination.
4. Send a **test event** from that service (most providers have a "send test" button).
5. Confirm it arrived in [Request history](/introduction/justpush-studio/testing-and-monitoring/request-history.md).

> **Tip:** Always send a test event first and check the request landed in Studio before relying on the integration. If nothing shows up, see [Troubleshooting](/introduction/justpush-studio/reference/troubleshooting.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.justpush.io/introduction/justpush-studio/integrations/endpoint-and-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
