Skip to main content

API - Get Credits & Get Filters - Response Codes & Troubleshooting

When using the Get Credits or Get Filters endpoints on Surfe, your request may return different response codes depending on the outcome. Here's a simple guide to what they mean and what to do next.

Updated over a week ago

Get Credits

Endpoint: GET /v1/credits


200 – Success

  • What it means: Your request worked and your current credit balance has been returned.

  • Next steps: You're good to go! Use the results as needed.

500 – Internal Server Error

  • What it means: Something went wrong on our end.

  • Next steps: Try the request again after a short break. If the problem continues, please reach out to the support team via Intercom.


Get Filters

Endpoint: GET /v1/people/search/filters


200 – Success

  • What it means: Your request worked and the available filter values have been returned.

  • Next steps: You're good to go! Use the filter values in your search requests.

401 – Unauthorized

  • What it means: Your API key is missing or invalid.

  • Next steps: Make sure you've included your API key in the request. You can find or manage your key in your Surfe account dashboard.


If you're ever unsure about an error or how to fix it, our team is here to help. Reach out to the support team via Intercom.

Additional Resources

Did this answer your question?