Auth
client.Auth.GetAccessTokenAsync()
Gets a JWT using ClientToken and ClientSecret. The SDK caches and refreshes the token automatically.
string JWT access token (accessToken from POST /token).
Instances and billing
client.Instances.CreateAsync<TResponse>(request)
InstancePublicCreateResponse — Id, Name, token, Url, Webhook, EventsSubscribe, Status, CreatedAt, UpdatedAt.
client.Instances.ListAsync<TResponse>(request?)
{ Page, Size, Total, TotalPages, Content[], Summary }. Each content item uses the public instance summary shape.
client.Instances.GetAsync<TResponse>(instanceId)
Instances.List() item (Id, Name, token, Url, Webhook, Status, etc.).
client.Instances.UpdateAsync<TResponse>(instanceId, body, options?)
Instances.Get().
client.Instances.RestartAsync<TResponse>(instanceId, options?)
InstanceActionResponse — InstanceId, Status, Details.
client.Instances.DeleteAsync<TResponse>(instanceId, options?)
204) or the standard error envelope.
client.Instances.SubscribeAsync<TResponse>(instanceId, body?, options?)
BillingHostedSession — Url, SessionId, mode (direct or checkout), SubscriptionId.
client.Instances.ResumeSubscriptionAsync<TResponse>(instanceId, options?)
{ Status: "ok" }.
client.Instances.CancelAsync<TResponse>(instanceId, options?)
{ Message } confirming cancellation or scheduled cancel.
Advanced calls
UseRequestAsync<TResponse>() when you need a newly released field or endpoint not yet wrapped by a typed method.

