LoopsEx.ApiKey (LoopsEx v0.1.0)

View Source

Test your Loops API key.

Summary

Functions

Test if the configured API key is valid.

Functions

test()

@spec test() :: LoopsEx.Client.response()

Test if the configured API key is valid.

Returns

  • {:ok, %{"success" => true, "teamName" => team_name}} when the key is valid.
  • {:error, {status_code, response_body}} for HTTP errors (e.g., unauthorized).