How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OneSignal Templates API

The Templates API from OneSignal — 3 operation(s) for templates.

OneSignal Templates API is one of 6 APIs that OneSignal publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Templates. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 11 operations across 6 paths, and defines 14 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://api.onesignal.com.

11 operations 6 paths 14 schemas 2 DELETE4 GET2 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.onesignal.com
Authentication
HTTP Bearer, HTTP Bearer
Resource Areas
1

Authentication & Security 2

OneSignal Templates API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (rest_api_key). It accepts HTTP bearer tokens (organization_api_key).

Paths & Operations 11

Across 6 paths, the API surfaces 11 operations — 2 DELETE, 4 GET, 2 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Templates 11
GET
/templates/{template_id}?app_id={app_id}
View template
view-template 4 params → 200400404429503
DELETE
/templates/{template_id}?app_id={app_id}
Delete template
delete-template 3 params → 200400404429503
PATCH
/templates/{template_id}?app_id={app_id}
Update template
update-template 3 params body → 200400429503
GET
/templates?app_id={app_id}&limit={limit}&offset={offset}
View templates
view-templates 6 params → 200400429503
POST
/templates
Create template
create-template 2 params body → 200400422429503
GET
/templates
View templates
view_templates 4 params → 200400429
POST
/templates/{template_id}/copy_to_app?app_id={app_id}
Copy template to another app
copy-template-to-another-app 3 params body → 200400404429503
DELETE
/templates/{template_id}
Delete template
delete_template 2 params → 200400404
GET
/templates/{template_id}
View template
view_template 2 params → 200400404
PATCH
/templates/{template_id}
Update template
update_template 2 params body → 200400
POST
/templates/{template_id}/copy_to_app
Copy template to another app
copy_template_to_app 2 params body → 200400

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are LanguageStringMap (43 properties), TemplateResourceContent (33 properties), CreateTemplateRequest (11 properties), UpdateTemplateRequest (10 properties). Each schema is shown below with its type and property counts.

TemplateResource
object
A template record. The content block is a TemplateResourceContent whose populated fields depend on the template's channel(s).
6 properties 1 required
BasicErrorResponse
object
3 properties
StructuredErrorResponse
object
1 property
TemplateResourceContent
object
The content block of a template. Every field is nullable: a field is populated only when the corresponding channel feature is enabled for the template. For exa…
33 properties
StructuredErrorItem
object
3 properties 2 required
TemplateResource_2
object
6 properties
CopyTemplateRequest
object
1 property 1 required
GenericSuccessBoolResponse
object
1 property
CreateTemplateRequest
object
11 properties 3 required
LanguageStringMap
object
43 properties
UpdateTemplateRequest
object
10 properties
RateLimitError
object
2 properties
TemplatesListResponse
object
1 property
GenericError
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onesignal-templates-api-openapi.yml Raw ↑

Other APIs OneSignal publishes across the network.

OneSignal Apps API
OneSignal Notifications API
OneSignal Players API
OneSignal MCP Server
OneSignal Organizations API
Where this information came from

This is an independent, third-party profile of OneSignal Templates API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.