Numberly
Introduction

Discover our APIs

This introductory guide explains how to connect to the Numberly Martech Platform (NMP), handle secure authentication, and perform your first API call to verify connectivity.

Overview

The NMP API is a RESTful interface that allows you to interact programmatically with the NMP platform features. It uses conventional HTTP standards, accepts JSON payloads, and secures exchanges via the OAuth 2.0 protocol.

Authentication

The API is secured and requires an Access Token for every request. This token must be included in the HTTP header of your calls.

Prerequisites

To get started, you must have your API credentials (Client ID and Client Secret) provided by your account administrator or via the Sendingly interface.

Authorization Mechanism

Authentication is performed via the Authorization header using the Bearer scheme.

Header Format:Authorization: Bearer <YOUR_ACCESS_TOKEN>

Security Note: Never share your credentials or tokens in public code repositories. In case of compromise, immediately revoke access via the platform.

Your First Call

To validate your connection and access, we recommend performing a simple read call (GET). The GET {subdomain}.api.numberly.com/v1/settings/groups endpoint is ideal for this: it is lightweight and provides the group_id needed for the next steps (campaign creation).

Test Request

curl -X GET "https://{subdomain}.api.numberly.com/v1/settings/groups" \
  -H "Authorization: Bearer <YOUR_ACCESS_TOKEN>" \
  -H "Content-Type: application/json"

Interpreting the Response

  • HTTP 200 OK: Connection successful. The JSON response contains the list of your groups.
  • HTTP 401 Unauthorized: Your token is invalid or expired. You must generate a new one.
  • HTTP 403 Forbidden: The token is valid, but you do not have permission to access this resource.

Standard HTTP Response Codes

The API uses standard HTTP codes to indicate the success or failure of an API request.