> ## Documentation Index
> Fetch the complete documentation index at: https://docs.appsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Publiek endpoint - Custom markers

Dit endpoint is een alternatief voor ons [markers api-endpoint](/api/markers#custom-marker),
en gebruikt een andere authenticatiemethode.

## Endpoint

Request-methode: `POST`

| Endpoint                                                                         | Beschrijving                        |
| -------------------------------------------------------------------------------- | ----------------------------------- |
| [https://appsignal-endpoint.net/markers](https://appsignal-endpoint.net/markers) | Accepteert JSON-geformatteerde data |

## URL-parameters

Afhankelijk van de API-sleutel die u wilt gebruiken, kunt u kiezen uit:

### Push API-sleutel

| Parameter   | Type   | Beschrijving                                                                                          |
| ----------- | ------ | ----------------------------------------------------------------------------------------------------- |
| api\_key    | String | **Push** API-sleutel, te vinden in [App-instellingen](https://appsignal.com/redirect-to/app?to=info). |
| name        | String | De applicatienaam.                                                                                    |
| environment | String | De omgeving waarin de applicatie draait.                                                              |

```shell Shell theme={null}
https://appsignal-endpoint.net/markers?api_key=<api_key>&name=<name>&environment=<environment>
```

### Front-end API-sleutel

| Parameter | Type   | Beschrijving                                                                                               |
| --------- | ------ | ---------------------------------------------------------------------------------------------------------- |
| api\_key  | String | **Front-end** API-sleutel, te vinden in [App-instellingen](https://appsignal.com/redirect-to/app?to=info). |

```shell Shell theme={null}
https://appsignal-endpoint.net/markers?api_key=<api_key>
```

## Body-parameters

De post-body moet een JSON-object bevatten, geformatteerd als volgt:

| Parameter   | Type                                                      | Beschrijving                                                                                |
| ----------- | --------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| created\_at | Date - [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) | Tijdstip waarop de marker ingevoegd moet worden. Laat leeg voor de huidige tijd.            |
| icon        | String - Optioneel                                        | Emoji om te gebruiken voor deze Custom marker, standaard 🚀.                                |
| message     | String - Optioneel                                        | Bericht dat wordt getoond bij het hoveren over de marker in de UI. Afgekapt tot 200 tekens. |

Bijvoorbeeld:

<CodeGroup>
  ```json JSON theme={null}
  {
    "created_at": "2015-07-21T15:06:31.737+02:00",
    "icon": "🚀",
    "message": "Upscaled the database for better performance"
  }
  ```
</CodeGroup>
