Skip to main content

API authentication

Loop supports API key authentication. Your Loop contact will generate an API key for you. Here is an example:

lk_live_YSrYlIhKvj39etmrUG_6qHgmpUJpBYnkYHOjtJI5

To authenticate requests, provide the API key as a bearer token:

curl https://api.loop.us/v1/ping -H 'Authorization: Bearer <API_KEY>'

Use the /v1/ping endpoint to validate your API key. If your API key is valid, you will receive a response with HTTP status code 200.