# Webhooks API Authentication

**URL:** <https://community.toggl.com/t/webhooks-api-authentication/396>\
**Category:** Webhooks API\
**Tags:** api, endpoints, authentication, webhooks\
**Created:** [December 2, 2024, 5:42pm UTC](https://community.toggl.com/t/webhooks-api-authentication/396 "2024-12-02T17:42:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Support](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/support/32/1577_2.png) [@Support](https://community.toggl.com/u/Support)\
**Post date:** [December 2, 2024, 5:42pm UTC](https://community.toggl.com/t/webhooks-api-authentication/396/1 "2024-12-02T17:42:26Z")

</div>

You must authenticate to the Webhooks API using the HTTP Basic Auth mechanism. The HTTP header should follow this structure:

```auto
Authorization: Basic base64_encode(<user api token>:api_token)

```

Where:

- `<user api token>` is your personal API token that you can find in your Toggl Track profile.
- `base64_encode` is the encoding in Base64 of the string composed by your API token and followed by “:api\_token”.

Whenever possible, please use the tools and interfaces provided by your http library to do Basic Auth, for example: curl uses the -u switch to allow for it.
