Create API Header

Creates a header object used for manual Twitch API Calls. Can be used in conjunction with the HTTP Request command.

Box Name Type Description
Login Name Dropdown The name of the channel to use for authentication in the API Header
Save Variable As String Variable to save the result

Saved Payload:

Variable Type Contents
Authorization String “Bearer (your OAuth token)”
client-id String SAMMI’s unique identifier
Content-Type String “application/json”

Twitch API: The header object produced by this command is compatible with any Twitch Helix API endpoint. Pass it as the Header parameter in the HTTP Request command.

Header Field Type Description
Authorization string Bearer <token> — the OAuth token for the selected login, used to authenticate all Twitch API requests.
client-id string SAMMI’s registered Twitch application client ID, required by all Twitch API requests.
Content-Type string application/json — tells the Twitch API to expect a JSON body on POST/PATCH requests.
Back to the list