Skip to main content
Install: composer require smartlyq/sdk · GitHub · Packagist · PHP 8.1+, zero runtime dependencies (ext-curl).

Quickstart

Every API resource is a property on the client - $sq->social, $sq->images, $sq->videos, $sq->articles, $sq->seo, $sq->contacts, $sq->chatbots, $sq->captain, $sq->workspaces, $sq->profiles, and the rest. Methods return decoded associative arrays.

Configuration

Per-request options are the last argument of every method:

Async jobs

Generation endpoints return a job - poll it until it completes (see Async jobs):

Error handling

The full method reference lives in the repository README; request and response schemas are in the API Reference.

Next steps

API Reference

Request and response schemas for every endpoint.

Async jobs

How generation jobs work and how to poll them.

Source on GitHub

Issues, changelog, and the full method reference.