-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
The access keys I just created (at https://app.bird.com/settings/access-keys ) do not work with the REST API.
I can send a curl that includes the key in the header (Authorization: AccessKey <access_key>) and successfully sends an SMS. This uses the API at "https://api.bird.com"
But when I use the same key on the REST API ("https://rest.messagebird.com") I get an "incorrect access_key" error. I am using the official Ruby SDK (this one) to hit the REST API.
Do I need a different access key? Is the REST API still supported?
Example failing code:
client = MessageBird::Client.new(ACCESS_KEY)
client.balance
results in error:
messagebird/client.rb:95:in `parse_body': Request not allowed (incorrect access_key) (error code: 2, parameter: access_key) (MessageBird::ErrorException)
tdegrunt
Metadata
Metadata
Assignees
Labels
No labels