canonical: https://jentic.com/apis/secondstreet.com/secondstreet

# Second Street API

Second Street provides audience engagement, contest, and promotion management. The API provides endpoints for managing consumer subscriptions, profiles, ballot data, ads, campaigns, messaging, analytics, and promotions. The API exposes 11 endpoints secured with apiKey authentication.

## For AI agents

Programmatically create API session, get consumer subscriptions. Covers 11 operations with apiKey authentication.

## Scope

Does not handle payments, communications, or crm - use for marketing only.

## Capabilities

- Create API session
- Get consumer subscriptions
- Update consumer subscriptions
- List promotions
- Monitor Second Street API operational status and events

## Use cases

### Marketing Operations

Use the Second Street API to perform marketing operations programmatically. The API provides 11 endpoints covering core functionality including create API session, get consumer subscriptions, update consumer subscriptions.

Example prompt: Call POST /sessions to create API session

### Automated Analytics Management

Automate analytics operations by combining multiple Second Street API endpoints. Agents can get consumer subscriptions and then update consumer subscriptions in a single workflow.

Example prompt: Call GET `/consumers/{consumerId}/subscriptions` to get consumer subscriptions, then verify the result

### AI Agent Integration via Jentic

AI agents discover and call Second Street API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.

Example prompt: Search Jentic for 'create API session', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | `/sessions` | Create API session |
| GET | `/consumers/{consumerId}/subscriptions` | Get consumer subscriptions |
| PUT | `/consumers/{consumerId}/subscriptions` | Update consumer subscriptions |
| GET | `/consumers/{consumerId}/profile` | Get consumer profile |
| POST | `/promotions` | Create promotion |
| GET | `/promotions` | List promotions |
| GET | `/promotions/{promotionId}` | Get promotion |
| GET | `/promotions/{promotionId}/analytics` | Get promotion analytics |

## Key resources

- **Analytics** — Operations related to Analytics
- **Authentication** — Operations related to Authentication
- **Consumers** — Operations related to Consumers
- **Messaging** — Operations related to Messaging
- **Promotions** — Operations related to Promotions

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 67 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 87 / 100
  - Developer Experience & Jentic Compatibility: 63 / 100
  - AI-Readiness & Agent Experience: 51 / 100
  - Agent Usability: 94 / 100
  - Security: 50 / 100
  - AI Discoverability: 100 / 100
- **View full report:** https://jentic.com/apis/secondstreet.com/secondstreet/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Second Street API by hand means creating a session, carrying its X-Session-Token header on every call, and building consumer and promotion requests yourself. Through Jentic you install once, import Second Street from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** Second Street puts the consumer and promotion ids in the URL path (`/consumers/{consumerId}/...` and `/promotions/{promotionId}/...`), so a rule can pin your agent to one promotion: it can read that promotion and its analytics and nothing else. You choose the operations it may call, so writes like updating a consumer's subscriptions are not included unless you add them.
- **Credential handling:** Your Second Street key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'read a promotion's analytics' or 'get a consumer profile', and Jentic returns the matching Second Street operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Mailchimp** — Alternative marketing API
- **Hubspot** — Alternative marketing API

## FAQ

### What authentication does the Second Street API use?

The Second Street API uses an API key passed in the `X-Session-Token` header. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I create API session with the Second Street API?

Yes. Use the POST /sessions endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Second Street API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I create API session through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'create API session'. Jentic returns the matching Second Street API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Second Street API have?

The Second Street API exposes 11 endpoints covering analytics, authentication, consumers operations.

### Can I limit what my agent is allowed to do with the Second Street API?

Yes. Jentic One is self-hosted, so your own rules decide which Second Street operations and credentials your agent may use. Because Second Street puts consumer and promotion ids in the URL path, a rule can pin the agent to a single promotion so it reads only that promotion and its analytics and nothing else. You pick the operations it can call, so write actions like updating a consumer's subscriptions stay off limits unless you add them.
