starbucks.auth.sign_in
View connectorSign in with your Starbucks email and password. Returns your bearer and refresh tokens; ajar does not save them.
POST /v1/connections/starbucks/sign-inHeaders
Authorization: Bearer YOUR_CONNECTOR_TOKEN
Content-Type: application/jsonInputs
| Parameter | Example type | Example value |
|---|---|---|
| string | "you@example.com" | |
| password | string | "YOUR_STARBUCKS_PASSWORD" |
Example input
{
"email": "you@example.com",
"password": "YOUR_STARBUCKS_PASSWORD"
}Illustrative response. Store your returned tokens on your device and send the access token in x-starbucks-token on Starbucks requests.
Example response
{
"access_token": "YOUR_STARBUCKS_ACCESS_TOKEN",
"expires_at_epoch_s": 1790761740,
"expires_in": 1740,
"refresh_token": "YOUR_STARBUCKS_REFRESH_TOKEN",
"token_type": "Bearer"
}Input schema
{
"$id": "https://useajar.com/schemas/starbucks/starbucks.auth.sign_in.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"email": {
"type": "string"
},
"password": {
"type": "string",
"writeOnly": true
}
},
"required": [
"email",
"password"
],
"type": "object"
}