API overview

Base endpoint

The base endpoint for all API calls is /api on the appsignal.com domain.

https://appsignal.com/api

Responses

The response type supported by the AppSignal API is JSON. On some endpoints JSONP is also supported.

Make sure all requests to endpoints end with the .json extension so no URLs will have to be updated in the future.

Authentication

ParameterTypeDescription
tokenstring, requiredYour personal API key.

All requests to AppSignal API endpoints require a personal API token given as an URL query parameter for authentication.

https://appsignal.com/api/[endpoint].json?token=personal_api_key

(Replace [endpoint] with the endpoint you need.)

Your personal API key can be found on the personal settings screen.

Applications

ParameterTypeDescription
app_idstring, requiredApplication id

All endpoints provided by our API are scoped on application-level, not on organization-level (more than one application).

For the API to know what data to return from which application the application id needs to be provided in the endpoint URL.

For example, given this string in the API documentation:

/api/[app_id]/samples.json

The URL becomes:

https://appsignal.com/api/5114f7e38c5ce90000000011/samples.json?token=abc

The app_id for an application can be found in the URL of the AppSignal.com when an application is opened. For legacy reasons the URL will mention /sites rather than /applications. The id that follows is your application id.

https://appsignal.com/demo-organization/sites/5114f7e38c5ce90000000011

GraphQL

If you are interested in exploring our GraphQL API, you can do that using AppSignal's GraphiQL app.

Want to help us improve this documentation page?

Create a pull request

Need more help?

Contact us and speak directly with the engineers working on AppSignal. They will help you get set up, tweak your code and make sure you get the most out of using AppSignal.

Contact us

Start a trial - 30 days free

AppSignal is a great way to monitor your Ruby, Elixir & Node.js applications. Works great with Rails, Phoenix, Express and other frameworks, with support for background jobs too. Let's improve your apps together.

Start a trial